linux_dsm_epyc7002/arch/m68k/coldfire
Lorenzo Pieralisi 19cc4c843f m68k/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks
The pci_fixup_irqs() function allocates IRQs for all PCI devices present in
a system; those PCI devices possibly belong to different PCI bus trees (and
possibly rooted at different host bridges) and may well be enabled (ie
probed and bound to a driver) by the time pci_fixup_irqs() is called when
probing a given host bridge driver.

Furthermore, current kernel code relying on pci_fixup_irqs() to assign
legacy PCI IRQs to devices does not work at all for hotplugged devices in
that the code carrying out the IRQ fixup is called at host bridge driver
probe time, which just cannot take into account devices hotplugged after
the system has booted.

The introduction of map/swizzle function hooks in struct pci_host_bridge
allows us to define per-bridge map/swizzle functions that can be used at
device probe time in PCI core code to allocate IRQs for a given device
(through pci_assign_irq()).

Convert PCI host bridge initialization code to the
pci_scan_root_bus_bridge() API (that allows to pass a struct
pci_host_bridge with initialized map/swizzle pointers) and remove the
pci_fixup_irqs() call from arch code.

Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
2017-08-03 16:26:29 -05:00
..
amcore.c m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
cache.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
clk.c m68k: let clk_disable() return immediately if clk is NULL 2016-09-26 12:02:59 +10:00
device.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
dma_timer.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
dma.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
entry.S m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00
firebee.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
gpio.c m68k/gpio: remove arch specific sysfs bus device 2016-04-11 12:03:18 +10:00
head.S m68k: report correct FPU type on ColdFire MMU platforms 2016-09-26 12:02:58 +10:00
intc-2.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-525x.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5249.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
intc-5272.c genirq: Remove irq argument from irq flow handlers 2015-09-16 15:47:51 +02:00
intc-simr.c m68k: coldfire: move inline before return type 2017-07-12 16:26:04 -07:00
intc.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
m53xx.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m54xx.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m520x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m523x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m525x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m527x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m528x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5206.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5249.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5272.c m68k: Assorted spelling fixes 2016-07-03 14:05:28 +02:00
m5307.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5407.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
m5441x.c m68knommu: platform support for i2c devices on ColdFire SoC 2016-12-05 08:53:27 +10:00
Makefile m68k: add Sysam AMCORE open board support 2016-12-05 08:53:27 +10:00
mcf8390.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
nettel.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
pci.c m68k/PCI: Replace pci_fixup_irqs() call with host bridge IRQ mapping hooks 2017-08-03 16:26:29 -05:00
pit.c m68k/coldfire/pit: Set ->min_delta_ticks and ->max_delta_ticks 2017-04-14 13:11:10 -07:00
reset.c m68k: move coldfire platform code 2014-09-29 09:18:34 +10:00
sltimers.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
timers.c clocksource: Use a plain u64 instead of cycle_t 2016-12-25 11:04:12 +01:00
vectors.c m68k: fix crufty ColdFire intro comments 2014-09-29 09:18:34 +10:00