[PATCH v4 -tip 0/3] x86, MSI, AHCI: Support multiple MSIs

From: Alexander Gordeev
Date: Thu Oct 25 2012 - 04:32:22 EST


Hi Ingo,

I am resending this series with changes based on your review of v3:

I have not noticed that v3 2/5 patch "x86, MSI: Allocate as many
multiple IRQs as requested" is redundant, since the AHCI code
tries to allocate maximum possible number of MSIs. As there are
no other users of this functionality, I removed v3 2/5 patch for now;

v3 patch 3/5 "x86, MSI: Minor readability fixes" merged into
v4 patch 1/3 "x86, MSI: Support multiple MSIs in presense of IRQ
remapping";

1/3: - racy can_create_irqs() check removed;
- multi-line comments fixed;
- loops 'for (; i; i--)' changed to 'for (i--; i >= 0; i--)';

v1 was conditionally acked by Suresh
v2 concerned Yinghai's comments

2/3: v2 is acked by Bjorn, no changes since

3/3: - ahci_host_activate() failure path tested;
- ahci_port_priv::lock field commented;
- multi-line comments fixed;
- loops 'for (; i; i--)' changed to 'for (i--; i >= 0; i--)';

v3 was acked by Jeff

Alexander Gordeev (3):
1/3 x86, MSI: Support multiple MSIs in presense of IRQ remapping
2/3 PCI, MSI: Enable multiple MSIs with pci_enable_msi_block_auto()
3/3 AHCI: Support multiple MSIs

Documentation/PCI/MSI-HOWTO.txt | 37 ++++++++-
arch/x86/kernel/apic/io_apic.c | 165 +++++++++++++++++++++++++++++++--------
drivers/ata/ahci.c | 93 +++++++++++++++++++++-
drivers/ata/ahci.h | 6 ++
drivers/ata/libahci.c | 118 ++++++++++++++++++++++++++--
drivers/pci/msi.c | 26 ++++++
include/linux/irq.h | 5 +
include/linux/pci.h | 7 ++
kernel/irq/chip.c | 30 +++++--
9 files changed, 432 insertions(+), 55 deletions(-)

--
1.7.7.6


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