All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jan Beulich" <jbeulich@novell.com>
To: xen-devel@lists.xensource.com
Subject: rendezvousing all physical CPUs
Date: Thu, 30 Nov 2006 16:14:21 +0000	[thread overview]
Message-ID: <456F116D.76E4.0078.0@novell.com> (raw)

Recently I created a Linux patch (in 2.6.18.3 and 2.6.19) that fixes problem
with the detection of the Firmware Hub based random number generator in
Intel chipsets. Little later I considered the consequences in Xen environments:
The patch needs to disable normal BIOS space in order to 'see through' to the
Firmware Hub interface. In native Linux, the stop_machine abstraction is
a very good mechanism to carry out this kind of job, but under Xen this isn't
strong enough, as it affects only those CPUs Dom0 is running on.

Will it be acceptable to create hypercall sub-functions (would probably go
into the platform group, but should be architecture independent) to allow
Dom0 to halt all physical CPUs but the current one, and later restart them?
Or should it rather be a single call with an event-channel based call back
to carry out the operation that must be protected?

Without such functionality, we'd have to disable the Intel RNG in the kernel,
or at least make it ignore any potentially available RNG unless told by the
user that it is safe to use *without* the detection sequence outlined by
Intel's documentation (which btw. has been found to not work when the
BIOS makes use of certain functionality that prevents access to the FWH
space).

Jan

             reply	other threads:[~2006-11-30 16:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-30 16:14 Jan Beulich [this message]
2006-11-30 16:19 ` rendezvousing all physical CPUs ron minnich
2006-11-30 16:32   ` Jan Beulich
2006-11-30 16:33     ` ron minnich
2006-11-30 16:55 ` Keir Fraser
2006-11-30 17:12   ` ron minnich
2006-11-30 17:20     ` Keir Fraser
2006-12-01  8:16   ` Jan Beulich
2006-12-01  9:11     ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=456F116D.76E4.0078.0@novell.com \
    --to=jbeulich@novell.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.