From: Keir Fraser Subject: Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT Date: Sun, 10 May 2009 18:34:11 +0100 Message-ID: References: <20090510142928.66bb57bb@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090510142928.66bb57bb@lxorguk.ukuu.org.uk> Sender: linux-kernel-owner@vger.kernel.org To: Alan Cox Cc: "H. Peter Anvin" , Ian Campbell , Jeremy Fitzhardinge , the arch/x86 maintainers , Suresh Siddha , "Linux@zytor.com" , "Pallipadi, Venkatesh" , Kernel Mailing List , Jeremy Fitzhardinge , Xen-devel , Jan Beulich , Ingo Molnar , Lu , Thomas Gleixner , Arjan van de Ven List-Id: xen-devel@lists.xenproject.org On 10/05/2009 14:29, "Alan Cox" wrote: >> have matching PAT configuration. No elfnote would mean use Xen's existing >> PAT setup (or if that's very dangerous then disable PAT altogether, perhaps >> dependent on CPU model/stepping?). > > Hiding it on errata hit processors if the guest cannot support PAT > safely on such processors sounds a good policy and its one being a > hypervisor you can do neatly. > > There are quite a few different CPUs with PAT errata. I've no idea why > there are so many errata about that specific bit. Okay, this sounds like a good way to then. I can work out details with Jeremy from here, and this will then have no impact on Linux PAT logic. If we advertise PAT to Linux via CPUID, that will mean PAT is set up just as Linux requires. Thanks, Keir