[PATCH v2 0/6] AHCI: Conserve interrupts with pci_enable_msi_block_part() interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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(-)

-- 
1.7.7.6


-- 
Regards,
Alexander Gordeev
agordeev@xxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-pci" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux