Skip to content

fix bugs of x2apic/intr-remap

Weidong Han lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 22 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5docs: add nox2apic back to kernel-parameters.txtDocumentation/kernel-parameters.txt+2 -04 replies
2/5x86,intr-remap: fix ack for interrupt remappingarch/x86/include/asm/apic.h arch/x86/kernel/apic/io_apic.c+5 -352 replies
3/5x86, intr-remap: enable interrupt remapping earlyarch/x86/include/asm/apic.h arch/x86/kernel/apic/apic.c drivers/pci/intel-iommu.c +2 more+54 -675 replies
4/5x86, intr-remap: add option to disable interrupt remappingDocumentation/kernel-parameters.txt drivers/pci/intr_remapping.c+14 -02 replies
5/5x86: fix x2apic/intr-remap resumearch/x86/kernel/apic/apic.c+9 -63 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchDavid Woodhouse
SeriesA-b
1/5A-b
2/5A-b
3/5A-b
4/5A-b
5/5A-b

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

Read the v1 thread

Cover letter [PATCH 0/5] fix bugs of x2apic/intr-remap

interupt remapping was decoupled from x2apic already, but there are still some issues, such as doesn't ack remapped interrupts correctly, and doesn't remap ioapic interrupt when x2apic is not enabled.

This patchset fixes the ack for remapped interrupts, and alwasys enables interrupt remapping before ioapic setup to guarantee ioapic interrupts are remapped, adjusts the dependency of x2apic and interrupt remapping in lapic_resume. In addition, add option "nointremap" to disable interrupt remapping.

The patchset can be applied on linux head. Thanks.

Weidong Han (5):
docs: add nox2apic back to kernel-parameters.txt x86,intr-remap: fix ack for interrupt remapping x86, intr-remap: enable interrupt remapping early x86, intr-remap: add option to disable interrupt remapping
x86: fix x2apic/intr-remap resume

 Documentation/kernel-parameters.txt |    5 ++
 arch/x86/include/asm/apic.h         |   15 +-----
 arch/x86/kernel/apic/apic.c         |   91 +++++++++++++++++------------------
 arch/x86/kernel/apic/io_apic.c      |   32 ++----------
 drivers/pci/intel-iommu.c           |    9 ----
 drivers/pci/intr_remapping.c        |   39 ++++++++++-----
 include/linux/dmar.h                |    1 +
 7 files changed, 84 insertions(+), 108 deletions(-)