PCI/MSI: Allow msi_domain lookup using the host bridge node
authorMarc Zyngier <[email protected]>
Tue, 28 Jul 2015 13:46:13 +0000 (14:46 +0100)
committerThomas Gleixner <[email protected]>
Wed, 29 Jul 2015 22:14:37 +0000 (00:14 +0200)
commit471c931cb248ab7af0cd62503d811239b47f217b
tree02a784c22c030dd382b609df45d9dd0a6192e618
parentb165e2b60b39888a7ff8efbc1de40137471dda41
PCI/MSI: Allow msi_domain lookup using the host bridge node

A number of platforms do not need to use the msi-parent property,
as the host bridge itself provides the MSI controller.

Allow this configuration by performing an irq domain lookup based
on the host bridge node if it doesn't have a valid msi-parent property.

Acked-by: Bjorn Helgaas <[email protected]>
Signed-off-by: Marc Zyngier <[email protected]>
Cc: <[email protected]>
Cc: Yijing Wang <[email protected]>
Cc: Ma Jun <[email protected]>
Cc: Lorenzo Pieralisi <[email protected]>
Cc: Duc Dang <[email protected]>
Cc: Hanjun Guo <[email protected]>
Cc: Jiang Liu <[email protected]>
Cc: Jason Cooper <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
drivers/pci/of.c