x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Mon, 2 Mar 2015 17:06:23 +0000 (12:06 -0500)
committerDavid Vrabel <david.vrabel@citrix.com>
Mon, 16 Mar 2015 14:49:14 +0000 (14:49 +0000)
commitfeb44f1f7a4ac299d1ab1c3606860e70b9b89d69
tree07befc4c9382ce7252b2e59291b10f4d033ce983
parent74beaf6270f5b08159f1df8208322a24bb2905e6
x86/xen: Provide a "Xen PV" APIC driver to support >255 VCPUs

Instead of mangling the default APIC driver, provide a Xen PV guest
specific one that explicitly provides appropriate methods.

This allows use to report that all APIC IDs are valid, allowing dom0
to boot with more than 255 VCPUs.

Since the probe order of APIC drivers is link dependent, we add in an
late probe function to change to the Xen PV if it hadn't been done
during bootup.

Suggested-by: David Vrabel <david.vrabel@citrix.com>
Reported-by: Cathy Avery <cathy.avery@oracle.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
arch/x86/xen/apic.c
arch/x86/xen/enlighten.c