diff options
author | Stefan Roese <sr@denx.de> | 2017-08-18 08:59:26 -0400 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-08-18 09:29:08 -0400 |
commit | 319ec8b3a5633bfbb83d7da895233c91827e86ce (patch) | |
tree | 5748a670c0c5f5e454ef19d0748a0005fe86c04b | |
parent | ef954844c7ace62f773f4f23e28d2d915adc419f (diff) |
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.
Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Jason Cooper <jason@lakedaemon.net>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
-rw-r--r-- | drivers/irqchip/irq-armada-370-xp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index b207b2c3aa55..9d42a8f2aec2 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c | |||
@@ -203,7 +203,7 @@ static struct irq_chip armada_370_xp_msi_irq_chip = { | |||
203 | 203 | ||
204 | static struct msi_domain_info armada_370_xp_msi_domain_info = { | 204 | static struct msi_domain_info armada_370_xp_msi_domain_info = { |
205 | .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS | | 205 | .flags = (MSI_FLAG_USE_DEF_DOM_OPS | MSI_FLAG_USE_DEF_CHIP_OPS | |
206 | MSI_FLAG_MULTI_PCI_MSI), | 206 | MSI_FLAG_MULTI_PCI_MSI | MSI_FLAG_PCI_MSIX), |
207 | .chip = &armada_370_xp_msi_irq_chip, | 207 | .chip = &armada_370_xp_msi_irq_chip, |
208 | }; | 208 | }; |
209 | 209 | ||