]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pvh: bootup and setup (E820) related changes.
authorMukesh Rathor <mukesh.rathor@oracle.com>
Wed, 17 Oct 2012 20:50:42 +0000 (13:50 -0700)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 29 Oct 2012 14:10:45 +0000 (10:10 -0400)
commit6056726e851af38211f12eddafa07de3ef7ae8df
tree20739fe8089c026d2f567628d74c2a6c3380ad14
parentde81067d4ef5b434b47f63e11448b3b09cfc0b5e
xen/pvh: bootup and setup (E820) related changes.

In the bootup code for PVH we can trap cpuid via vmexit, so don't
need to use emulated prefix call. We also check for vector callback
early on, as it is a required feature. PVH also runs at default kernel
IOPL.

In setup.c which deals with E820, in xen_add_extra_mem() we can skip
updating P2M as it's managed by Xen. PVH maps the entire IO space,
but only RAM pages need to be repopulated.

Finally, pure PV settings are moved to a separate function that are
only called for pure PV, ie, pv with pvmmu.

Signed-off-by: Mukesh Rathor <mukesh.rathor@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/xen/enlighten.c
arch/x86/xen/setup.c