linux/arch/powerpc
Tyrel Datwyler 38d0b1c9ce powerpc/pseries: extract host bridge from pci_bus prior to bus removal
The pci_bus->bridge reference may no longer be valid after
pci_bus_remove() resulting in passing a bad value to device_unregister()
for the associated bridge device.

Store the host_bridge reference in a separate variable prior to
pci_bus_remove().

Fixes: 7340056567 ("powerpc/pci: Reorder pci bus/bridge unregistration during PHB removal")
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210211182435.47968-1-tyreld@linux.ibm.com
2021-04-16 23:58:04 +10:00
..
boot powerpc/boot: Fix build of dts/fsl 2020-12-21 22:06:09 +11:00
configs powerpc/configs: Add PAPR_SCM to pseries_defconfig 2021-04-16 21:12:42 +10:00
crypto crypto: powerpc/sha256 - remove unneeded semicolon 2021-02-10 17:55:57 +11:00
include powerpc/vdso: Add support for time namespaces 2021-04-14 23:04:44 +10:00
kernel powerpc/vdso: Add support for time namespaces 2021-04-14 23:04:44 +10:00
kexec powerpc/kexec_file: fix FDT size estimation for kdump kernel 2021-02-11 23:35:07 +11:00
kvm x86: 2021-02-26 10:00:12 -08:00
lib powerpc: remove partial register save logic 2021-04-14 23:04:44 +10:00
math-emu powerpc/math: Fix missing __user qualifier for get_user() and other sparse warnings 2021-03-29 13:22:12 +11:00
mm powerpc/mm/radix: Make radix__change_memory_range() static 2021-04-14 23:04:45 +10:00
net powerpc/bpf: Reallocate BPF registers to volatile registers when possible on PPC32 2021-04-03 21:22:21 +11:00
perf powerpc/perf: Infrastructure to support checking of attr.config* 2021-04-14 23:04:19 +10:00
platforms powerpc/pseries: extract host bridge from pci_bus prior to bus removal 2021-04-16 23:58:04 +10:00
purgatory powerpc/kexec: Don't use .machine ppc64 in trampoline_64.S 2021-04-08 21:17:43 +10:00
sysdev powerpc/xive: Modernize XIVE-IPI domain with an 'alloc' handler 2021-04-14 23:04:15 +10:00
tools powerpc/tools: Remove 90 line limit in checkpatch script 2020-09-08 22:57:11 +10:00
xmon powerpc: remove partial register save logic 2021-04-14 23:04:44 +10:00
Kbuild
Kconfig powerpc/vdso: Add support for time namespaces 2021-04-14 23:04:44 +10:00
Kconfig.debug powerpc: iommu: fix build when neither PCI or IBMVIO is set 2021-04-08 21:17:46 +10:00
Makefile powerpc/Makefile: Remove workaround for gcc versions below 4.9 2021-03-29 13:22:11 +11:00
Makefile.postlink powerpc: unrel_branch_check.sh: use nm to find symbol value 2020-09-02 11:00:22 +10:00