android_kernel_xiaomi_sm8350/drivers/pci/hotplug
linas 3c0c644188 [PATCH] PCI Hotplug: PCI panic on dlpar add (add pci slot to running partition)
Removing and then adding a PCI slot to a running partition results in
a kernel panic. The current code attempts to add iospace for an entire
root bus, which is inappropriate, and silently fails.  When a pci device
tries to use the iospace, a page fault is taken, as the iospace had not
been mapped, and of course the page fault cannot be resolved.

This only occurs for PCI adapters using pio, which may be why it hadn't
been seen earlier (this seems to have been broken for a while).
This patch has survived testing of dozens of slot add and removes.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Acked-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-31 18:00:12 -08:00
..
acpiphp_core.c
acpiphp_glue.c [PATCH] acpiphp: only size new bus 2006-01-09 12:13:20 -08:00
acpiphp_ibm.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
acpiphp.h
cpci_hotplug_core.c
cpci_hotplug_pci.c
cpci_hotplug.h
cpcihp_generic.c
cpcihp_zt5550.c
cpcihp_zt5550.h
cpqphp_core.c [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver 2006-01-09 12:13:20 -08:00
cpqphp_ctrl.c [PATCH] PCI Hotplug: cpqphp_ctrl.c: remove dead code 2006-01-09 12:13:16 -08:00
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c
cpqphp_sysfs.c [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver 2006-01-09 12:13:20 -08:00
cpqphp.h [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver 2006-01-09 12:13:20 -08:00
fakephp.c
ibmphp_core.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
ibmphp_ebda.c
ibmphp_hpc.c
ibmphp_pci.c [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix 2006-01-09 12:13:16 -08:00
ibmphp_res.c
ibmphp.h
Kconfig [PATCH] PCI Hotplug: fix up Kconfig help text 2006-01-31 18:00:11 -08:00
Makefile
pci_hotplug_core.c
pci_hotplug.h
pciehp_core.c [PATCH] PCI: drivers/pci: some cleanups 2006-01-09 12:13:20 -08:00
pciehp_ctrl.c
pciehp_hpc.c [PATCH] pciehp: handle sticky power-fault status 2006-01-09 12:13:18 -08:00
pciehp_pci.c [PATCH] pciehp: allow bridged card hotplug 2006-01-09 12:13:18 -08:00
pciehp.h [PATCH] fix more missing includes 2006-01-08 20:13:45 -08:00
pciehprm_acpi.c [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehprm_acpi.c 2006-01-09 12:13:20 -08:00
pciehprm_nonacpi.c
pcihp_skeleton.c
rpadlpar_core.c [PATCH] PCI Hotplug: PCI panic on dlpar add (add pci slot to running partition) 2006-01-31 18:00:12 -08:00
rpadlpar_sysfs.c
rpadlpar.h
rpaphp_core.c
rpaphp_pci.c [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/rpaphp_pci.c 2006-01-09 12:13:19 -08:00
rpaphp_slot.c
rpaphp.h
sgi_hotplug.c
shpchp_core.c [PATCH] shpchp: Implement get_address callback 2006-01-09 12:13:18 -08:00
shpchp_ctrl.c [PATCH] shpchp: fix improper wait for command completion 2006-01-09 12:13:17 -08:00
shpchp_hpc.c [PATCH] shpchp: fix improper wait for command completion 2006-01-09 12:13:17 -08:00
shpchp_pci.c [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() 2006-01-09 12:13:16 -08:00
shpchp_sysfs.c
shpchp.h [PATCH] shpchp: fix improper wait for command completion 2006-01-09 12:13:17 -08:00
shpchprm_acpi.c
shpchprm_legacy.c
shpchprm_nonacpi.c