]> Pileus Git - ~andy/linux/commit
xen/pvh: MMU changes for PVH (v2)
authorMukesh Rathor <mukesh.rathor@oracle.com>
Tue, 31 Dec 2013 17:41:27 +0000 (12:41 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 6 Jan 2014 15:44:05 +0000 (10:44 -0500)
commit4e44e44b0bd25bc4ed23232f06fc7275f1e4e38d
treed76f4a107980e19e5abb6eefd6434cbfe594f3da
parentb621e157ba48fb7d36945405de68c5fa25e7b73c
xen/pvh: MMU changes for PVH (v2)

.. which are surprisingly small compared to the amount for PV code.

PVH uses mostly native mmu ops, we leave the generic (native_*) for
the majority and just overwrite the baremetal with the ones we need.

At startup, we are running with pre-allocated page-tables
courtesy of the tool-stack. But we still need to graft them
in the Linux initial pagetables. However there is no need to
unpin/pin and change them to R/O or R/W.

Note that the xen_pagetable_init due to 7836fec9d0994cc9c9150c5a33f0eb0eb08a335a
"xen/mmu/p2m: Refactor the xen_pagetable_init code." does not
need any changes - we just need to make sure that xen_post_allocator_init
does not alter the pvops from the default native one.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/x86/xen/mmu.c