Skip to content

x86, MSI: Support multiple MSIs in presense of IRQ remapping

Alexander Gordeev lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86, MSI: Support multiple MSIs in presense of IRQ remappingarch/x86/kernel/apic/io_apic.c include/linux/irq.h kernel/irq/chip.c +1 more+216 -170 replies
2/3x86, MSI: Allocate as many multiple IRQs as requestedarch/x86/kernel/apic/io_apic.c drivers/pci/msi.c include/linux/msi.h+16 -110 replies
3/3x86, MSI: Minor readability fixesarch/x86/kernel/apic/io_apic.c+3 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] x86, MSI: Support multiple MSIs in presense of IRQ remapping

Currently multiple MSI mode is limited to a single vector per device (at least on x86 and PPC). This series breathes life into pci_enable_msi_block() and makes it possible to set interrupt affinity for multiple IRQs, similarly to MSI-X. Yet, only for x86 and only when IOMMUs are present.

Although IRQ and PCI subsystems are modified, the current behaviour left intact. The drivers could just start using multiple MSIs just by following the existing documentation.

The patches are adapted to Ingo's -tip repository, x86/apic branch.

Alexander Gordeev (3):
x86, MSI: Support multiple MSIs in presense of IRQ remapping x86, MSI: Allocate as many multiple IRQs as requested x86, MSI: Minor readability fixes

 arch/x86/kernel/apic/io_apic.c |  170 +++++++++++++++++++++++++++++++++++++---
 drivers/pci/msi.c              |   10 ++-
 include/linux/irq.h            |    6 ++
 include/linux/msi.h            |    1 +
 kernel/irq/chip.c              |   30 +++++--
 kernel/irq/irqdesc.c           |   31 +++++++
 6 files changed, 226 insertions(+), 22 deletions(-)
Signature · 7 lines
1.7.7.6


-- 
Regards,
Alexander Gordeev
[email protected]