irqchip/armada-370-xp: Enable MSI-X support
authorStefan Roese <sr@denx.de>
Fri, 18 Aug 2017 12:59:26 +0000 (14:59 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 18 Aug 2017 13:29:08 +0000 (14:29 +0100)
commit319ec8b3a5633bfbb83d7da895233c91827e86ce
tree5748a670c0c5f5e454ef19d0748a0005fe86c04b
parentef954844c7ace62f773f4f23e28d2d915adc419f
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>
drivers/irqchip/irq-armada-370-xp.c