Skip to content

AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

Alexander Gordeev linux-ide linux-pci linuxppc-dev lkml 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/26 patches 53 repliesIn review
  2. v2 posting 1/22 of 4 patches 0 repliesSuperseded
  3. v14 patches 19 repliesSuperseded

Changes in v2 from the cover letter

- roundup_pow_of_two() and is_power_of_2() functions used
- patch 2/6 generic pci_get_msi_cap() interface introduced
- patch 4/6 MMC reg. value used to initialize multiple MSIs; Fallback to single MSI mode is simplified
- patch 5/6 sanity check for MRSM bit added

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6PCI/MSI: Introduce pci_enable_msi_block_part() interfaceDocumentation/PCI/MSI-HOWTO.txt arch/mips/pci/msi-octeon.c arch/powerpc/kernel/msi.c +8 more+125 -450 replies
2/6PCI/MSI: Factor out pci_get_msi_cap() interfaceDocumentation/PCI/MSI-HOWTO.txt drivers/pci/msi.c include/linux/pci.h+38 -1061 replies
3/6MSI/x86: Support pci_enable_msi_block_part() interfacedrivers/iommu/irq_remapping.c+6 -60 replies
4/6AHCI: Conserve interrupts with pci_enable_msi_block_part() interfacedrivers/ata/ahci.c+27 -192 replies
5/6AHCI: Check MRSM bit when multiple MSIs enableddrivers/ata/ahci.c drivers/ata/ahci.h+17 -03 replies
6/6PCI/MSI: Get rid of pci_enable_msi_block_auto() interfaceDocumentation/PCI/MSI-HOWTO.txt drivers/pci/msi.c include/linux/pci.h+8 -630 replies

Reviews trailers per patch

2 of 6 patches have a Reviewed-by or Acked-by.

PatchTejun Heo
1/6
2/6
3/6
4/6A-b
5/6A-b
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] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

This series is aimed to conserve on othewise wasted interrupt resources for 10 of 16 unused MSI vectors for AHCI devices on Intel chipsets.

Changes from v1:
- roundup_pow_of_two() and is_power_of_2() functions used
- patch 2/6 generic pci_get_msi_cap() interface introduced
- patch 4/6 MMC reg. value used to initialize multiple MSIs; Fallback to single MSI mode is simplified
- patch 5/6 sanity check for MRSM bit added

Alexander Gordeev (6):
1/6 PCI/MSI: Introduce pci_enable_msi_block_part() interface 2/6 PCI/MSI: Factor out pci_get_msi_cap() interface
3/6 MSI/x86: Support pci_enable_msi_block_part() interface 4/6 AHCI: Conserve interrupts with pci_enable_msi_block_part() interface 5/6 AHCI: Check MRSM bit when multiple MSIs enabled
6/6 PCI/MSI: Get rid of pci_enable_msi_block_auto() interface

 Documentation/PCI/MSI-HOWTO.txt |   68 ++++++++++++++++-------
 arch/mips/pci/msi-octeon.c      |    2 +-
 arch/powerpc/kernel/msi.c       |    4 +-
 arch/s390/pci/pci.c             |    2 +-
 arch/x86/include/asm/pci.h      |    8 ++-
 arch/x86/include/asm/x86_init.h |    3 +-
 arch/x86/kernel/apic/io_apic.c  |    3 +-
 drivers/ata/ahci.c              |   60 ++++++++++++++------
 drivers/ata/ahci.h              |    1 +
 drivers/iommu/irq_remapping.c   |   14 +++---
 drivers/pci/msi.c               |  115 ++++++++++++++++++++++-----------------
 include/linux/msi.h             |    5 +-
 include/linux/pci.h             |   13 ++++-
 13 files changed, 188 insertions(+), 110 deletions(-)
Signature · 7 lines
1.7.7.6


-- 
Regards,
Alexander Gordeev
[email protected]