]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xen/pvh: bootup and setup (E820) related changes.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Mar 2013 15:30:32 +0000 (10:30 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 4 Mar 2013 15:36:52 +0000 (10:36 -0500)
commit7335622a391476fcbdf0acbce093ecaeb2c23d96
treeb24349b7cf4e5cac595ce505d4e991a241ada7bc
parent87546f0e5827741c0223c99153e58f4be1ae1b59
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>
[ ijc -- rebase onto xen PVonHVM: use E820_Reserved area for
         shared_info ]
[v2: Rebase on v3.9-rc1 with MMIO/Kexec reverted]
arch/x86/xen/enlighten.c
arch/x86/xen/setup.c