[PATCH] Xen MMU fixes for 3.2 (v1)

From: Konrad Rzeszutek Wilk
Date: Sat Sep 24 2011 - 01:00:30 EST


I am proposing these three patches for 3.2.

[PATCH 1/3] Revert "xen/debug: WARN_ON when identity PFN has no _PAGE_IOMAP flag set."

.. which just removes code that was meant there to be for some releases to
check if we forgot something. And it looks like we have covered all the boundary
cases for the 1-1 identity pages.
[PATCH 2/3] xen/p2m: Make debug/xen/mmu/p2m visible again.

.. was removed in v3.0 by the Xen MMU tracing updated by mistake. Puts it
back in.

[PATCH 3/3] xen/p2m: Use SetPagePrivate and its friends for M2P overrides.

.. and will now warn us if somebody has overwritten the MFN of the 'struct page'
(of the pages that are in the M2P override) and also use the appropiate macros.

arch/x86/include/asm/xen/page.h | 3 --
arch/x86/xen/Kconfig | 8 ------
arch/x86/xen/mmu.c | 52 ---------------------------------------
arch/x86/xen/p2m.c | 45 ++++++++++++++++++++++++++++-----
4 files changed, 38 insertions(+), 70 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/