summaryrefslogtreecommitdiff
path: root/arch/tile/lib
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-02-09 15:50:22 +1100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-25 12:01:19 -0800
commitb5311270caba5392a83ed918e11a16e71b3b1e44 (patch)
tree36c37f608f56a1dbe3c1648b24c16834e76aee14 /arch/tile/lib
parent5ecdf58c1945c40b6dcaf9764c119ecc607e8a06 (diff)
powerpc/powernv: Fix stale PE primary bus
commit 1bc74f1ccd457832dc515fc1febe6655985fdcd2 upstream. 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(). 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/tile/lib')
0 files changed, 0 insertions, 0 deletions