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

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

To: Jan Beulich <jbeulich@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Mon, 11 May 2009 10:48:15 +0100
Cc: Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>, Jeremy Fitzhardinge <jeremy@xxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 11 May 2009 02:48:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4A080762.76EA.0078.0@xxxxxxxxxx>
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcnSF/uck8XRB+2VQHSusgwGC4nKWgABZ82S
Thread-topic: [Xen-devel] Re: [PATCH 06/16] xen: disable PAT
User-agent: Microsoft-Entourage/12.17.0.090302
On 11/05/2009 10:09, "Jan Beulich" <jbeulich@xxxxxxxxxx> 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)
> - the interface may not be suitable for non-Linux
> Hence I'd appreciate if working out the details here could be done in public.

I was going to suggest put the PAT MSR value in an elfnote, Xen picks up
dom0's note and uses it if possible (Xen relies on PAT[0]=WB,PAT[2]=UC),
else disables PAT for all guest, also advertises PAT feature for any domU PV
guest advertising the exact same PAT MSR value in its elfnote.

Any approach involving Xen dictating to Linux has the fun job of getting
past the kernel maintainers.

 -- Keir



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

<Prev in Thread] Current Thread [Next in Thread>