From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: P2M Top Level Page Table Date: Thu, 29 Mar 2007 18:39:41 +0100 Message-ID: References: <7D748C767B7FA541A8AC5504A4C89A23015685FF@SAUSEXMB2.amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0636044614==" Return-path: In-Reply-To: <7D748C767B7FA541A8AC5504A4C89A23015685FF@SAUSEXMB2.amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Huang2, Wei" , Keir Fraser , xen-devel@lists.xensource.com, Tim Deegan List-Id: xen-devel@lists.xenproject.org > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --===============0636044614== Content-type: multipart/alternative; boundary="B_3258038381_66371366" > This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3258038381_66371366 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable On 29/3/07 17:46, "Huang2, Wei" wrote: > My question is about h_cr3 in VMCB under hap mode. It points to the top l= evel > of P2M table, which might be located in memory space beyond 4GB. It can c= ause > problem potentially. Sounds like you=B9ll need to fix it then. =3D) There are several =8Clowmem pae top-level caches=B9 tucked away in vcpu->arch, so you could reuse one of those. Or allocate/reallocate the P2M root using alloc_domheap_pages with a limited address mask, or use xmalloc. -- Keir --B_3258038381_66371366 Content-type: text/html; charset="ISO-8859-1" Content-transfer-encoding: quoted-printable Re: [Xen-devel] P2M Top Level Page Table On 29= /3/07 17:46, "Huang2, Wei" <Wei.Huang2@amd.com> wrote:

My question is about h_cr3 in VMCB under hap mode. It= points to the top level of P2M table, which might be located in memory spac= e beyond 4GB. It can cause problem potentially.

Sounds like you’ll need to fix it th= en. =3D)

There are several ‘lowmem pae top-level caches’ tucked away in = vcpu->arch, so you could reuse one of those. Or allocate/reallocate the P= 2M root using alloc_domheap_pages with a limited address mask, or use xmallo= c.

 -- Keir
--B_3258038381_66371366-- --===============0636044614== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0636044614==--