summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-02-09 07:50:22 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2016-02-15 13:10:04 +0300
commit1bc74f1ccd457832dc515fc1febe6655985fdcd2 (patch)
tree5533044ec8980f4f9d2935f8097ac62051add3a1 /mm
parent05ba75f848647135f063199dc0e9f40fee769724 (diff)
downloadlinux-1bc74f1ccd457832dc515fc1febe6655985fdcd2.tar.xz
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 'mm')
0 files changed, 0 insertions, 0 deletions