]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: of: Allow matching of an interrupt-map local to a PCI device
authorMarc Zyngier <maz@kernel.org>
Wed, 29 Sep 2021 16:38:36 +0000 (17:38 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 4 Nov 2021 19:16:56 +0000 (14:16 -0500)
commit74dc77a778d1532e9f38ae923ac58fa9072ae3d6
treeb18ea40bfaee6557c42f732cb9a69f14a6845448
parent4bdb5cf1f76d68b1e1d332744cced60b7a1d31f6
PCI: of: Allow matching of an interrupt-map local to a PCI device

Just as we now allow an interrupt map to be parsed when part of an
interrupt controller, there is no reason to ignore an interrupt map that
would be part of a pci device node such as a root port since we already
allow interrupt specifiers.

Allow the matching of such property when local to the node of a PCI
device, which allows the device itself to use the interrupt map for for
its own purpose.

Link: https://lore.kernel.org/r/20210929163847.2807812-4-maz@kernel.org
Tested-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rob Herring <robh@kernel.org>
drivers/pci/of.c