xen-devel
Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT
To: |
Keir Fraser <keir.fraser@xxxxxxxxxxxxx> |
Subject: |
Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT |
From: |
"H. Peter Anvin" <hpa@xxxxxxxxx> |
Date: |
Sat, 09 May 2009 11:36:25 -0700 |
Cc: |
Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>, Suresh Siddha <suresh.b.siddha@xxxxxxxxx>, the arch/x86 maintainers <x86@xxxxxxxxxx>, Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, "Pallipadi, Venkatesh" <venkatesh.pallipadi@xxxxxxxxx>, Linux@xxxxxxxxx, Lu <yinghai@xxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxx> |
Delivery-date: |
Mon, 11 May 2009 06:47:43 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<C62AF788.AAE1%keir.fraser@xxxxxxxxxxxxx> |
List-help: |
<mailto:xen-devel-request@lists.xensource.com?subject=help> |
List-id: |
Xen developer discussion <xen-devel.lists.xensource.com> |
List-post: |
<mailto:xen-devel@lists.xensource.com> |
List-subscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe> |
List-unsubscribe: |
<http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> |
References: |
<C62AF788.AAE1%keir.fraser@xxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.14 (X11/20080501) |
Keir Fraser wrote:
>
> My suggestion is that Xen changes its PAT[1] from WT to WC. AFAIK only
> suse's Linux port is currently using Xen's PAT support, and it does not
> actually use the WT cache attribute. Then Xen's PAT[0-3] would match what
> Linux expects, and Linux apparently does not risk using PAT[4-7] because of
> processor errata so their values are irrelevant. Linux can check that it is
> running on Xen with suitable PAT setup by reading MSR_IA32_CR_PAT and
> checking PAT[0-3], and only enable PAT usage in case of a match.
>
There exists at least one processor erratum where the CPU will use
PAT[4-7] when the user requested PAT[0-3]. For those CPUs, it is unsafe
for *any* OS to have PAT[4-7] != PAT[0-3].
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [GIT PULL] xen: core dom0 support, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 12/16] xen/dom0: add XEN_DOM0 config option, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 11/16] xen: allow enable use of VGA console on dom0, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 10/16] xen: clear reserved bits in l3 entries given in the initial pagetables, Jeremy Fitzhardinge
- [Xen-devel] [PATCH 06/16] xen: disable PAT, Jeremy Fitzhardinge
- [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Ingo Molnar
- [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Ian Campbell
- [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Alan Cox
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Keir Fraser
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT,
H. Peter Anvin <=
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Keir Fraser
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Alan Cox
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Keir Fraser
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Jan Beulich
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Keir Fraser
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Jeremy Fitzhardinge
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, H. Peter Anvin
- Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT, Ingo Molnar
[Xen-devel] [PATCH 05/16] xen mtrr: Add mtrr_ops support for Xen mtrr, Jeremy Fitzhardinge
|
|
|