diff options
author | Gavin Shan <[email protected]> | 2016-02-09 15:50:22 +1100 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2016-02-15 21:10:04 +1100 |
commit | 1bc74f1ccd457832dc515fc1febe6655985fdcd2 (patch) | |
tree | 5533044ec8980f4f9d2935f8097ac62051add3a1 /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 05ba75f848647135f063199dc0e9f40fee769724 (diff) |
powerpc/powernv: Fix stale PE primary bus
When PCI bus is unplugged during full hotplug for EEH recovery,
the platform PE instance (struct pnv_ioda_pe) isn't released and
it dereferences the stale PCI bus that has been released. It leads
to kernel crash when referring to the stale PCI bus.
This fixes the issue by correcting the PE's primary bus when it's
oneline at plugging time, in pnv_pci_dma_bus_setup() which is to
be called by pcibios_fixup_bus().
Cc: [email protected] # v4.1+
Reported-by: Andrew Donnellan <[email protected]>
Reported-by: Pradipta Ghosh <[email protected]>
Signed-off-by: Gavin Shan <[email protected]>
Tested-by: Andrew Donnellan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions