From: "H. Peter Anvin" Subject: Re: [PATCH] xen: core dom0 support Date: Sun, 01 Mar 2009 16:14:24 -0800 Message-ID: <49AB24E0.5020604@zytor.com> References: <1235786365-17744-1-git-send-email-jeremy@goop.org> <20090227212812.26d02f34.akpm@linux-foundation.org> <49A8DF28.4050301@goop.org> <87eixi35ew.fsf@basil.nowhere.org> <49AB1B75.2060200@goop.org> <49AB1FB8.607@zytor.com> <49AB2387.8040002@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <49AB2387.8040002@goop.org> Sender: linux-kernel-owner@vger.kernel.org To: Jeremy Fitzhardinge Cc: Andi Kleen , Andrew Morton , Xen-devel , the arch/x86 maintainers , Linux Kernel Mailing List List-Id: xen-devel@lists.xenproject.org Jeremy Fitzhardinge wrote: > H. Peter Anvin wrote: >> In this particular case, this is actually false. "No PAT" in the >> processor is *not* the same thing as "no cacheability controls in the >> page tables". Every processor since the 386 has had UC, WT, and WB >> controls in the page tables; PAT only added the ability to do WC (and >> WP, which we don't use). Since the number of processors which can do >> WC at all but don't have PAT is a small set of increasingly obsolete >> processors, we may very well choose to simply ignore the WC >> capabilities of these particular processors. > > I'm not quite sure what you're referring to with "this is actually > false". Certainly we support cachability control in ptes under Xen. We > just don't support full PAT because Xen uses PAT for itself. > What do you define as "full PAT"? If what you mean is that Xen lays claims to the PAT MSR and only allows a certain mapping that's hardly a problem... other than that it's not an exhaustible resource so I guess I really don't understand what you're trying to say here. -hpa