linux/arch
Gavin Shan 1bc74f1ccd 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>
2016-02-15 21:10:04 +11:00
..
alpha arch/*/include/uapi/asm/mman.h: : let MADV_FREE have same value for all architectures 2016-01-15 17:56:32 -08:00
arc Kconfig: remove HAVE_LATENCYTOP_SUPPORT 2016-01-16 11:17:23 -08:00
arm virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
arm64 virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
avr32 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/egtvedt/linux-avr32 2016-01-18 12:50:55 -08:00
blackfin virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
c6x Merge branch 'for-linux-next' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming 2016-01-12 13:00:16 -08:00
cris
frv frv: fix compiler warning from definition of __pmd() 2016-01-15 17:56:32 -08:00
h8300
hexagon
ia64 virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
m32r m32r: fix m32104ut_defconfig build fail 2016-01-14 16:00:49 -08:00
m68k Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2016-01-12 17:11:47 -08:00
metag virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
microblaze Kconfig: remove HAVE_LATENCYTOP_SUPPORT 2016-01-16 11:17:23 -08:00
mips virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
mn10300 libnvdimm, pfn, pmem: allocate memmap array in persistent memory 2016-01-15 17:56:32 -08:00
nios2
openrisc
parisc Merge branch 'parisc-4.5-1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux 2016-01-17 13:20:54 -08:00
powerpc powerpc/powernv: Fix stale PE primary bus 2016-02-15 21:10:04 +11:00
s390 virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
score
sh virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
sparc virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
tile virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
um um: kill pfn_t 2016-01-15 17:56:32 -08:00
unicore32 Kconfig: remove HAVE_LATENCYTOP_SUPPORT 2016-01-16 11:17:23 -08:00
x86 platform-drivers-x86 for 4.5-1 2016-01-19 17:54:15 -08:00
xtensa virtio: barrier rework+fixes 2016-01-18 16:44:24 -08:00
.gitignore
Kconfig mm: mmap: add new /proc tunable for mmap_base ASLR 2016-01-14 16:00:49 -08:00