From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rik van Riel Subject: Re: invalid PTE for xen_start-info ? Date: Wed, 04 Oct 2006 11:06:58 -0400 Message-ID: <4523CE12.5030207@redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Keir Fraser wrote: > You should use pte_pfn(), or pte_mfn(), or (pte_val() & PHYSICAL_PAGE_MASK) > for isolating the address part of a pte. If there is *any* Linux code that > is accessing addresses from pte contents via other methods then please do > let us know! But I suspect this won't be the case, due to the existing need > to mask off PAGE_NX. Does that break compatibility between the hypervisor and older guests? -- "You don't have to be crazy to do this... but it helps." -- Bob Ross