summaryrefslogtreecommitdiffstats
path: root/include/asm-generic/pgtable.h
diff options
context:
space:
mode:
authorGavin Shan <gwshan@linux.vnet.ibm.com>2016-02-09 15:50:22 +1100
committerMichael Ellerman <mpe@ellerman.id.au>2016-02-15 21:10:04 +1100
commit1bc74f1ccd457832dc515fc1febe6655985fdcd2 (patch)
tree5533044ec8980f4f9d2935f8097ac62051add3a1 /include/asm-generic/pgtable.h
parent05ba75f848647135f063199dc0e9f40fee769724 (diff)
downloadlinux-1bc74f1ccd457832dc515fc1febe6655985fdcd2.tar.bz2
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 'include/asm-generic/pgtable.h')
0 files changed, 0 insertions, 0 deletions