* [Query] Xen nomenclature mapping to ARMv7
@ 2013-10-04 12:46 Mj Embd
2013-10-04 12:53 ` Ian Campbell
2013-10-04 13:04 ` Tim Deegan
0 siblings, 2 replies; 3+ messages in thread
From: Mj Embd @ 2013-10-04 12:46 UTC (permalink / raw)
To: xen-devel
Hi,
I was debugging a problem and got confused into gmfn, gpfn, mfn.
There are 4 addresses when running a VM on arm
(a) Guest Virtual
(b) Guest Physical
(c) IPA
(d) Real Physical.
MFN is AFAIK is (d). Not able to map gmfn and gpn to (a)(b)(c).
Can someone please explain
--
Regards
-mj
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Query] Xen nomenclature mapping to ARMv7
2013-10-04 12:46 [Query] Xen nomenclature mapping to ARMv7 Mj Embd
@ 2013-10-04 12:53 ` Ian Campbell
2013-10-04 13:04 ` Tim Deegan
1 sibling, 0 replies; 3+ messages in thread
From: Ian Campbell @ 2013-10-04 12:53 UTC (permalink / raw)
To: Mj Embd; +Cc: xen-devel
On Fri, 2013-10-04 at 18:16 +0530, Mj Embd wrote:
> Hi,
>
> I was debugging a problem and got confused into gmfn, gpfn, mfn.
>
> There are 4 addresses when running a VM on arm
> (a) Guest Virtual
> (b) Guest Physical
> (c) IPA
> (d) Real Physical.
>
> MFN is AFAIK is (d). Not able to map gmfn and gpn to (a)(b)(c).
I think you mean s/gpn/gfn/?
AIUI gmfn and gfn are used interchangeably to refer to what the guest
thinks of as real-physical, on ARM which always uses hardware second
stage paging that would always be IPA.
On x86 PV gmfn/gpn would be actually real physical, while for an HVM
guest with hardware paging it would be the x86 equivalent of IPA
(whatever that is called).
That said, not all code is consistent about this sort of thing so YMMV.
Ian.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Query] Xen nomenclature mapping to ARMv7
2013-10-04 12:46 [Query] Xen nomenclature mapping to ARMv7 Mj Embd
2013-10-04 12:53 ` Ian Campbell
@ 2013-10-04 13:04 ` Tim Deegan
1 sibling, 0 replies; 3+ messages in thread
From: Tim Deegan @ 2013-10-04 13:04 UTC (permalink / raw)
To: Mj Embd; +Cc: xen-devel
At 18:16 +0530 on 04 Oct (1380910571), Mj Embd wrote:
> Hi,
>
> I was debugging a problem and got confused into gmfn, gpfn, mfn.
>
> There are 4 addresses when running a VM on arm
> (a) Guest Virtual
> (b) Guest Physical
> (c) IPA
> (d) Real Physical.
>
> MFN is AFAIK is (d). Not able to map gmfn and gpn to (a)(b)(c).
On ARM, MFN is (d); GFN is (c) (== (b) too, I think).
GMFN and GPFN are older terms that aren't consistently used, and we
really ought to get rid of them. Please don't use them in new code.
On ARM they'll also mean (c).
Tim.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-10-04 13:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-04 12:46 [Query] Xen nomenclature mapping to ARMv7 Mj Embd
2013-10-04 12:53 ` Ian Campbell
2013-10-04 13:04 ` Tim Deegan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).