]> git.baikalelectronics.ru Git - kernel.git/commit
xen/debugfs: Add 'p2m' file for printing out the P2M layout.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 22 Dec 2010 13:57:30 +0000 (08:57 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 14 Mar 2011 15:17:11 +0000 (11:17 -0400)
commitdfba965055b9f6117a35c4cd4f2b28d7be840a9e
tree4c6f6c29e0d879ea0222a7294fa8c03b6af8ce24
parent4a8bbfc80ba87a9d9d5060a8e6546aea05a70c78
xen/debugfs: Add 'p2m' file for printing out the P2M layout.

We walk over the whole P2M tree and construct a simplified view of
which PFN regions belong to what level and what type they are.

Only enabled if CONFIG_XEN_DEBUG_FS is set.

[v2: UNKN->UNKNOWN, use uninitialized_var]
[v3: Rebased on top of mmu->p2m code split]
[v4: Fixed the else if]
Reviewed-by: Ian Campbell <Ian.Campbell@eu.citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/xen/page.h
arch/x86/xen/mmu.c
arch/x86/xen/p2m.c