of/irq: Use the msi-map property to provide device-specific MSI domain
authorMarc Zyngier <marc.zyngier@arm.com>
Fri, 2 Oct 2015 13:38:55 +0000 (14:38 +0100)
committerMarc Zyngier <marc.zyngier@arm.com>
Fri, 16 Oct 2015 12:07:15 +0000 (13:07 +0100)
commit82b9b4243c6d99d9e38087fa89183aa7479185e9
treeabf24aebdcc73c8ef001e27aed472027ea7d4e9c
parenta251b263346e38b9fafebeb49ada9ce894882616
of/irq: Use the msi-map property to provide device-specific MSI domain

While msi-parent is used to point to the MSI controller that
works for all the devices behind a root complex, it doesn't
allow configurations where each individual device can be routed
to a separate MSI controller.

The msi-map property provides this flexibility (and much more),
so let's add a utility function that parses it, and return the
corresponding MSI domain.

Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/of/irq.c
include/linux/of_irq.h