mbox series

[v2,0/4] x86: enable x2APIC mode regardless of interrupt remapping support

Message ID 20191129112851.19273-1-roger.pau@citrix.com (mailing list archive)
Headers show
Series x86: enable x2APIC mode regardless of interrupt remapping support | expand

Message

Roger Pau Monné Nov. 29, 2019, 11:28 a.m. UTC
Hello,

The following series aims to allow enabling x2APIC mode without
interrupt remapping support. The main usage of this would be in
virtualized environments, that usually provide x2APIC support but not
interrupt remapping.

See the last patch for some performance numbers of using x2APIC over
xAPIC when running Xen in pvshim mode.

Thanks, Roger.

Roger Pau Monne (4):
  x86/ioapic: only use dest32 with x2apic and interrupt remapping
    enabled
  x86/apic: force phys mode if interrupt remapping is disabled
  x86/smp: check APIC ID on AP bringup
  x86/apic: allow enabling x2APIC mode regardless of interrupt remapping

 xen/arch/x86/apic.c           | 89 +++++++++++++++++------------------
 xen/arch/x86/genapic/x2apic.c |  8 ++++
 xen/arch/x86/io_apic.c        | 14 +++---
 xen/arch/x86/smpboot.c        |  7 +++
 4 files changed, 64 insertions(+), 54 deletions(-)