From: Christoph Egger <Christoph.Egger@amd.com>
To: Keir Fraser <keir@xen.org>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Tim Deegan <tim@xen.org>
Subject: Re: [PATCH] xen: provide pse36 cpuid bit
Date: Fri, 28 Oct 2011 16:20:19 +0200 [thread overview]
Message-ID: <4EAABA23.1000500@amd.com> (raw)
In-Reply-To: <CACF3788.3340E%keir@xen.org>
On 10/27/11 17:30, Keir Fraser wrote:
> On 27/10/2011 16:15, "Tim Deegan"<tim@xen.org> wrote:
>
>> If you mean this:
>>
>> * PSE disabled / PSE36
>> * We don't support any modes other than PSE enabled, PSE36 disabled.
>> * Neither of those would be hard to change, but we'd need to be able to
>> * deal with shadows made in one mode and used in another.
>>
>> the worry was that we'd need a whole nother shadow mode to handle the
>> case where one VCPU was in normal 32-bit and another was in PSE36 (since
>> they can't share shadows).
>>
>> As it happens the current code does detect PSE-disabled in shadow mode
>> but just DTRT for the current VCPU, so a mix of PSE-enabled and
>> PSE-disabled VCPUs will get unpredicatble results from shadow
>> pagetables. :(
>>
>> Which means that supporting PSE36 to the same degree (i.e. assuming all
>> VCPUs behave the same, or if they don't they don't share pagetables)
>> would be OK too. :)
>
> Ah, I see. Yes, I guessed it would be supported to just the same degree as
> 'basic' PSE. The likelihood of pagetables being shared across different
> pagetable-related CR4 settings? Not great, we hope. :-)
Is the patch acceptable as it is ? PSE36 support for 32bit legacy mode
can be done in a seperate patch.
Christoph
--
---to satisfy European Law for business letters:
Advanced Micro Devices GmbH
Einsteinring 24, 85689 Dornach b. Muenchen
Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd
Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen
Registergericht Muenchen, HRB Nr. 43632
next prev parent reply other threads:[~2011-10-28 14:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 12:10 [PATCH] xen: provide pse36 cpuid bit Christoph Egger
2011-10-27 14:06 ` Tim Deegan
2011-10-27 14:30 ` Christoph Egger
2011-10-27 14:59 ` Keir Fraser
2011-10-27 15:15 ` Tim Deegan
2011-10-27 15:30 ` Keir Fraser
2011-10-28 14:20 ` Christoph Egger [this message]
2011-10-28 14:53 ` Tim Deegan
2011-11-03 12:25 ` Tim Deegan
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=4EAABA23.1000500@amd.com \
--to=christoph.egger@amd.com \
--cc=keir@xen.org \
--cc=tim@xen.org \
--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.