[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH RFC 3/9] xen: arm: handle concatenated root tables in dump_pt_walk



Hi Ian,

On 04/09/14 07:40, Ian Campbell wrote:
On Wed, 2014-07-30 at 17:58 +0100, Julien Grall wrote:
-    first = __map_domain_page(p2m->root);
-    dump_pt_walk(first, addr, P2M_ROOT_LEVEL);
-    unmap_domain_page(first);
+    dump_pt_walk(page_to_maddr(p2m->root), addr,

You can directly use p2m->vttbr and avoid to call page_to_maddr.

Not quite since vttbr contains the vmid encoding.

page_to_maddr is cheap enough for a debug path I think.

Hmmm, right. Sorry for the noise.

Regards,



--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.