WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: [PATCH 06/16] xen: disable PAT

To: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Subject: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT
From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 May 2009 15:50:31 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, the arch/x86 maintainers <x86@xxxxxxxxxx>, Suresh Siddha <suresh.b.siddha@xxxxxxxxx>, Linux, "Pallipadi, Venkatesh" <venkatesh.pallipadi@xxxxxxxxx>, Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Jeremy Fitzhardinge <Jeremy.Fitzhardinge@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Yinghai, "H. Peter Anvin" <hpa@xxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, Lu <yinghai@xxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Arjan van de Ven <arjan@xxxxxxxxxxxxx>
Delivery-date: Fri, 08 May 2009 23:21:29 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1241786311.16804.56.camel@xxxxxxxxxxxxxxxxxxxxxx>
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: <1241730653-4688-1-git-send-email-jeremy@xxxxxxxx> <1241730653-4688-7-git-send-email-jeremy@xxxxxxxx> <20090508111432.GF11596@xxxxxxx> <1241786311.16804.56.camel@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
> Roughly speaking the kernel needs to cope with different values written
> to MSR_IA32_CR_PAT than the single hard coded value it would write
> itself if given the chance. Essentially _PAGE_CACHE_* need to become
> dynamic (or I guess we could change the native layout to match Xen's, I
> don't know why native differs from the initial state, I guess just to
> avoid using the PAT bit for some reason.

Because it is required for some processor variants due to errata. This is
also why the BIOS has them programmed as a mirror between 0-3 and 4-7.

I don't think changing Linux here is the right thing to do - if anything
Xen probably needs to change.

See Xeon errata P21.


Alan

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel