diff options
author | Gavin Shan <gwshan@linux.vnet.ibm.com> | 2016-02-09 15:50:22 +1100 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-02-15 21:10:04 +1100 |
commit | 1bc74f1ccd457832dc515fc1febe6655985fdcd2 (patch) | |
tree | 5533044ec8980f4f9d2935f8097ac62051add3a1 /arch/powerpc/include/asm/book3s/64/pgtable.h | |
parent | 05ba75f848647135f063199dc0e9f40fee769724 (diff) | |
download | linux-stable-1bc74f1ccd457832dc515fc1febe6655985fdcd2.tar.gz linux-stable-1bc74f1ccd457832dc515fc1febe6655985fdcd2.tar.bz2 linux-stable-1bc74f1ccd457832dc515fc1febe6655985fdcd2.zip |
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: stable@vger.kernel.org # v4.1+
Reported-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Reported-by: Pradipta Ghosh <pradghos@in.ibm.com>
Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Tested-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/book3s/64/pgtable.h')
0 files changed, 0 insertions, 0 deletions