]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/xen: Disable APIC PM for Xen PV guests
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Tue, 4 Mar 2014 02:40:21 +0000 (21:40 -0500)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 29 Jun 2015 15:37:32 +0000 (08:37 -0700)
commit8d50b6e91fb941d69af3f6cad83826e97a66adee
tree16093b8ea01381de09fe739bd1c14244080f8c05
parentee2139b099a074f587ef976a8df450d6d4749877
x86/xen: Disable APIC PM for Xen PV guests

Xen PV guests support only few APIC registers and writes to
unsupported registers result in WARN_ONs. Most APIC accesses in these
guests  have been eliminated; however, lapic_suspend/resume are still
called (on 32-bit kernels).

We can disable APIC power management in xen_smp_prepare_boot_cpu()
(which is called after APIC has been initialized).

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/x86/include/asm/apic.h
arch/x86/kernel/apic/apic.c
arch/x86/xen/smp.c