irqchip/gic-v3-its: Add handling of PCI requester id.
authorDavid Daney <david.daney@cavium.com>
Thu, 8 Oct 2015 22:10:50 +0000 (15:10 -0700)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 16 Oct 2015 12:07:13 +0000 (13:07 +0100)
commitccf91e68a4357e7b65a3f1f13f8af2b767213575
tree1b79dd82c8ebbca62f758a87f775d64248f6d509
parentb6eec9b717d4dcb39ef024b8a3b619a32468b01e
irqchip/gic-v3-its: Add handling of PCI requester id.

Replace open coded generation PCI/MSI requester id with call to the
new function pci_msi_domain_get_msi_rid() which applies the "msi-map"
to the id value.

Reviewed-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: David Daney <david.daney@cavium.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its-pci-msi.c