summaryrefslogtreecommitdiffstats
path: root/mm/huge_memory.c
diff options
context:
space:
mode:
authorGavin Shan2016-02-09 05:50:22 +0100
committerMichael Ellerman2016-02-15 11:10:04 +0100
commit1bc74f1ccd457832dc515fc1febe6655985fdcd2 (patch)
tree5533044ec8980f4f9d2935f8097ac62051add3a1 /mm/huge_memory.c
parentpowerpc/eeh: Fix stale cached primary bus (diff)
downloadkernel-qcow2-linux-1bc74f1ccd457832dc515fc1febe6655985fdcd2.tar.gz
kernel-qcow2-linux-1bc74f1ccd457832dc515fc1febe6655985fdcd2.tar.xz
kernel-qcow2-linux-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 'mm/huge_memory.c')
0 files changed, 0 insertions, 0 deletions