diff options
author | Gavin Shan <shangw@linux.vnet.ibm.com> | 2013-07-24 02:24:57 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2013-07-24 04:18:48 (GMT) |
commit | ab444ec97e8bd65fff9d489b9a409fc03979268b (patch) | |
tree | c0462b0cf66b6c400d4fb45bba635535ab8a2806 /arch/powerpc/include/asm/firmware.h | |
parent | 9feed42e93d2625db86423cedf8b4b2bed00779e (diff) | |
download | linux-fsl-qoriq-ab444ec97e8bd65fff9d489b9a409fc03979268b.tar.xz |
powerpc/pci: Partial tree hotplug support
When EEH error happens to one specific PE, the device drivers
of its attached EEH devices (PCI devices) are checked to see
the further action: reset with complete hotplug, or reset without
hotplug. However, that's not enough for those PCI devices whose
drivers can't support EEH, or those PCI devices without driver.
So we need do so-called "partial hotplug" on basis of PCI devices.
In the situation, part of PCI devices of the specific PE are
unplugged and plugged again after PE reset.
The patch changes pcibios_add_pci_devices() so that it can support
full hotplug and so-called "partial" hotplug based on device-tree
or real hardware. It's notable that pci_of_scan.c has been changed
for a bit in order to support the "partial" hotplug based on dev-tree.
Most of the generic code already supports that, we just need to
plumb it properly on our side.
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/include/asm/firmware.h')
0 files changed, 0 insertions, 0 deletions