From: Alan Cox Subject: Re: [PATCH 06/16] xen: disable PAT Date: Fri, 8 May 2009 15:50:31 +0100 Message-ID: <20090508155031.4403f7e0@lxorguk.ukuu.org.uk> References: <1241730653-4688-1-git-send-email-jeremy@goop.org> <1241730653-4688-7-git-send-email-jeremy@goop.org> <20090508111432.GF11596@elte.hu> <1241786311.16804.56.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1241786311.16804.56.camel@zakaz.uk.xensource.com> Sender: linux-kernel-owner@vger.kernel.org To: Ian Campbell Cc: Ingo Molnar , Jeremy Fitzhardinge , "H. Peter Anvin" , Thomas Gleixner , Yinghai Lu , Suresh Siddha , "Pallipadi, Venkatesh" , Arjan van de Ven , the arch/x86 maintainers , Linux Kernel Mailing List , Xen-devel , Jeremy Fitzhardinge List-Id: xen-devel@lists.xenproject.org > 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