diff options
author | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2017-06-28 15:14:12 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2017-07-02 16:51:20 -0500 |
commit | 769b461fc0c0451bacf75826d5830fc07c5a57e4 (patch) | |
tree | 355872ec8be7404a7677c77b9cd2a048eaa1d5ad /Documentation | |
parent | 1ee4d93d5037c9247a81431b563b03e436e3f7b6 (diff) | |
download | linux-stable-769b461fc0c0451bacf75826d5830fc07c5a57e4.tar.gz linux-stable-769b461fc0c0451bacf75826d5830fc07c5a57e4.tar.bz2 linux-stable-769b461fc0c0451bacf75826d5830fc07c5a57e4.zip |
arm64: PCI: Drop DT IRQ allocation from pcibios_alloc_irq()
With the introduction of struct pci_host_bridge.map_irq pointer it is
possible to assign IRQs for all devices originating from a PCI host bridge
at probe time; this is implemented through pci_assign_irq() that relies on
the struct pci_host_bridge.map_irq pointer to map IRQ for a given device.
The benefits this brings are twofold:
- the IRQ for a device is assigned once at probe time
- the IRQ assignment works also for hotplugged devices
With all DT based PCI host bridges converted to the struct
pci_host_bridge.{map/swizzle}_irq hooks mechanism the DT IRQ allocation in
ARM64 pcibios_alloc_irq() is now redundant and can be removed.
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions