Skip to content

x86/irq: switch x2APIC default destination mode

Roger Pau Monne xen-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest6 patches 5 repliesIn review
  2. v16 patches 3 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6x86/Kconfig: add option for default x2APIC destination modexen/arch/x86/Kconfig xen/arch/x86/genapic/x2apic.c+22 -21 reply
2/6x86/x2apic: use physical destination mode by defaultdocs/misc/xen-command-line.pandoc xen/arch/x86/Kconfig+4 -40 replies
3/6x86/setup: init nr_irqs after having detected x2APIC supportxen/arch/x86/io_apic.c xen/arch/x86/irq.c+10 -101 reply
4/6x86/irq: fix setting irq limitsxen/arch/x86/genapic/x2apic.c xen/arch/x86/include/asm/apic.h xen/arch/x86/irq.c +1 more+16 -31 reply
5/6x86/irq: print nr_irqs as limit on the number of MSI(-X) interruptsxen/arch/x86/irq.c+1 -11 reply
6/6x86/irq: do not set nr_irqs based on nr_irqs_gsi in APIC modexen/arch/x86/irq.c+1 -21 reply

Reviews trailers per patch

1 of 6 patches has a Reviewed-by or Acked-by.

PatchJan Beulich
1/6R-b
2/6
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/6] x86/irq: switch x2APIC default destination mode

Hello,

The following series aims to change the default x2APIC Destination mode from Logical to Physical. This is done in order to cope with boxes that don't have a huge amount of CPUs, but do have a non trivial amount of PCI devices using MSI(-X).

The default x2APIC destination mode can now be set from Kconfig, and will default to phys in order to reliable boot on all boxes.

Further patches are a bit of cleanup related to the interrupt limits reported at boot, and making those values more realistic.

Thanks, Roger.

Roger Pau Monne (6):
x86/Kconfig: add option for default x2APIC destination mode x86/x2apic: use physical destination mode by default x86/setup: init nr_irqs after having detected x2APIC support x86/irq: fix setting irq limits
x86/irq: print nr_irqs as limit on the number of MSI(-X) interrupts x86/irq: do not set nr_irqs based on nr_irqs_gsi in APIC mode

 docs/misc/xen-command-line.pandoc |  5 ++---
 xen/arch/x86/Kconfig              | 19 +++++++++++++++++++
 xen/arch/x86/genapic/x2apic.c     |  6 ++++--
 xen/arch/x86/include/asm/apic.h   |  2 ++
 xen/arch/x86/io_apic.c            | 10 ----------
 xen/arch/x86/irq.c                | 15 +++++++++++++++
 xen/arch/x86/mpparse.c            |  5 +++++
 7 files changed, 47 insertions(+), 15 deletions(-)
Signature · 1 line
2.36.1