From: Jeremy Fitzhardinge Subject: Re: Re: [PATCH 06/16] xen: disable PAT Date: Mon, 11 May 2009 11:05:55 -0700 Message-ID: <4A086903.1000008@goop.org> References: <20090510142928.66bb57bb@lxorguk.ukuu.org.uk> <4A080762.76EA.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4A080762.76EA.0078.0@novell.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jan Beulich Cc: Ian Campbell , Xen-devel , Keir Fraser List-Id: xen-devel@lists.xenproject.org Jan Beulich wrote: > Depending on what exact plans you have here, I would question whether > having an upper layer dictate mechanisms used by a lower layer. In > particular, just like with the same mistake made with kexec, > - Linux's use of PAT may change (specifically, the value it writes to the PAT > MSR may not be statically determinable at some point, making the ELF note > approach you indicated as a possible solution unusable) > If Linux grows the ability to dynamically choose its PAT settings at runtime, then we can hook that mechanism to make sure there's some way to work with Xen. The current problem is because both Linux and Xen current have incompatible static PAT setups. > - the interface may not be suitable for non-Linux How do other guests use PAT (both native and under Xen)? J