linux_dsm_epyc7002/arch/powerpc
Gavin Shan 4a5954ed77 powerpc/pci: Don't scan empty slot
In hotplug case, function pci_add_pci_devices() is called to rescan
the specified PCI bus, which might not have any child devices. Access
to the PCI bus's child device node will cause kernel crash without
exception.

This adds one more check to skip scanning PCI bus that doesn't have
any subordinate devices from device-tree, in order to avoid kernel
crash.

Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
2016-05-11 21:54:26 +10:00
..
boot powerpc/fsl/dts: Add "jedec,spi-nor" flash compatible 2016-03-11 20:06:41 -06:00
configs powerpc updates for 4.6 2016-03-19 15:38:41 -07:00
crypto powerpc updates for 4.6 2016-03-19 15:38:41 -07:00
include powerpc/pci: Export pci_traverse_device_nodes() 2016-05-11 21:54:25 +10:00
kernel powerpc/pci: Don't scan empty slot 2016-05-11 21:54:26 +10:00
kvm powerpc/mm/hash: Add support for Power9 Hash 2016-05-01 18:32:40 +10:00
lib powerpc/sstep: Fix emulation fall-through 2016-05-11 21:54:08 +10:00
math-emu
mm powerpc/mm: Improve readability of update_mmu_cache() 2016-05-11 21:54:09 +10:00
net net: filter: make JITs zero A for SKF_AD_ALU_XOR_X 2016-01-06 00:43:52 -05:00
oprofile powerpc: Fix misspellings in comments. 2016-03-01 19:27:20 +11:00
perf powerpc/mm: Use pte_user() instead of open coding 2016-05-01 18:32:25 +10:00
platforms powerpc/pci: Export pci_traverse_device_nodes() 2016-05-11 21:54:25 +10:00
scripts powerpc/ftrace: Add Kconfig & Make glue for mprofile-kernel 2016-03-07 14:53:56 +11:00
sysdev powerpc/mpic: handle subsys_system_register() failure 2016-04-27 09:23:41 +10:00
xmon powerpc/xmon: Fix SPR read/write commands and add command to dump SPRs 2016-05-11 21:54:07 +10:00
Kconfig powerpc: Add HAVE_PERF_USER_STACK_DUMP support 2016-05-11 21:54:05 +10:00
Kconfig.debug powerpc/mm: Always use STRICT_MM_TYPECHECKS 2016-05-01 18:32:14 +10:00
Makefile Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/scottwood/linux into next 2016-03-14 20:05:14 +11:00
relocs_check.sh