All of lore.kernel.org
 help / color / mirror / Atom feed
* Understanding AMD NPT in xen
@ 2012-04-12 17:06 Steven
  2012-04-12 21:35 ` Huang2, Wei
  0 siblings, 1 reply; 3+ messages in thread
From: Steven @ 2012-04-12 17:06 UTC (permalink / raw)
  To: Wei Wang, xen-devel

Hi, Wei,
I have read you slides in xen summit 2007 about NPT in AMD, "AMD
Barcelona and Nested Paging Support in Xen".
However, I have some question regarding the nested page walk in your slide 8.

In your slide 8, the first step is to get gPA from get_PML4(gCR3,gVA).
I assume that it use the [47:39] bit of gVA.
However, in another AMD white paper, "AMD-VTM Nested Paging".
http://developer.amd.com/assets/NPT-WP-1%201-final-TM.pdf
In its figure 4, I saw that the first step is to translate gCR3 using
nested page walk and then combine with the gVA[47:39] to read the
table entry.

These two documents look having different order of reading the guest
page table. In the slides, it first get_PML4. But in the white paper,
it first does nested page walk.
I am wondering which one is true. Thanks.

- ha

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-13  2:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-12 17:06 Understanding AMD NPT in xen Steven
2012-04-12 21:35 ` Huang2, Wei
     [not found]   ` <4400B41FB768044EA720935D0808176C090BCDDC@sausexdag02.amd.com>
2012-04-13  2:29     ` Steven

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.