irqchip/armada-370-xp: Enable MSI-X support
Subsystems (2)
PATCH v2 1/1 irqchip/armada-370-xp: Enable MSI-X support
Armada XP does not only support MSI, but also MSI-X. This patch sets the MSI_FLAG_PCI_MSIX flag in the interrupt controller driver which is the only change necessary to enable MSI-X support on this SoC. As the Linux PCI MSI-X infrastructure takes care of writing the data and address structures into the BAR specified by the MSI-X controller.
---
v2:
- Added Reviewed-by tag from Thomas
- Added usual irqchip maintainers
drivers/irqchip/irq-armada-370-xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/irqchip/irq-armada-370-xp.c +1 -1
@@ -124,7 +124,7 @@ static struct irq_chip armada_370_xp_msi_irq_chip = {static struct msi_domain_info armada_370_xp_msi_domain_info = { .flags = (MSI_FLAG_USE_DEF_DOM_OPS |MSI_FLAG_USE_DEF_CHIP_OPS | -MSI_FLAG_MULTI_PCI_MSI ), +MSI_FLAG_MULTI_PCI_MSI |MSI_FLAG_PCI_MSIX ), .chip = &armada_370_xp_msi_irq_chip, };
Signature · 1 line
2.12.2
Quoted 27 lines · Stefan Roese
Armada XP does not only support MSI, but also MSI-X. This patch sets the
MSI_FLAG_PCI_MSIXflag in the interrupt controller driver which is the only change necessary to enable MSI-X support on this SoC. As the Linux PCI MSI-X infrastructure takes care of writing the data and address structures into the BAR specified by the MSI-X controller.Signed-off-by Stefan Roese <[email protected]>Reviewed-by Thomas Petazzoni <[email protected]>Cc Marc Zyngier <[email protected]>Cc Jason Cooper <[email protected]>Cc Thomas Gleixner <[email protected]>Cc Bjorn Helgaas <[email protected]>Cc Gregory CLEMENT <[email protected]>---
v2:
- Added Reviewed-by tag from Thomas
- Added usual irqchip maintainersdrivers/irqchip/irq-armada-370-xp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/irqchip/irq-armada-370-xp.c +0
-0
drivers/irqchip/irq-armada-370-xp.c static struct irq_chip armada_370_xp_msi_irq_chip = { · line 130
Quoted 8 lines
drivers/irqchip/irq-armada-370-xp.c +1
-1@@ -124,7 +124,7 @@ static struct irq_chip armada_370_xp_msi_irq_chip = {static struct msi_domain_info armada_370_xp_msi_domain_info = { .flags = (MSI_FLAG_USE_DEF_DOM_OPS |MSI_FLAG_USE_DEF_CHIP_OPS | -MSI_FLAG_MULTI_PCI_MSI ), +MSI_FLAG_MULTI_PCI_MSI |MSI_FLAG_PCI_MSIX ), .chip = &armada_370_xp_msi_irq_chip, };
Queued for 4.14.
Thanks,
M.
Signature · 1 line
Jazz is not dead. It just smells funny...