xen: PV on HVM: support PV spinlocks and IPIs
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Thu, 2 Dec 2010 17:55:10 +0000 (17:55 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Fri, 25 Feb 2011 16:43:06 +0000 (16:43 +0000)
commit99bbb3a84a99cd04ab16b998b20f01a72cfa9f4f
tree9ee6e3994e7fee1f3e4e5070c46673b940499daa
parent53d5522cad291a0e93a385e0594b6aea6b54a071
xen: PV on HVM: support PV spinlocks and IPIs

Initialize PV spinlocks on boot CPU right after native_smp_prepare_cpus
(that switch to APIC mode and initialize APIC routing); on secondary
CPUs on CPU_UP_PREPARE.

Enable the usage of event channels to send and receive IPIs when
running as a PV on HVM guest.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
arch/x86/xen/enlighten.c
arch/x86/xen/smp.c
arch/x86/xen/xen-ops.h