android_kernel_xiaomi_sm8350/drivers/pci/hotplug
Alex Chiang 48902025af PCI Hotplug: fakephp: fix deadlock... again
Commit fe99740cac (construct one
fakephp slot per PCI slot) introduced a regression, causing a
deadlock when removing a PCI device.

We also never actually removed the device from the PCI core.

So we:

	- remove the device from the PCI core
	- do not directly call remove_slot() to prevent deadlock

Yu Zhao reported and diagnosed this defect.

Signed-off-by: Alex Chiang <achiang@hp.com>
Acked-by: Yu Zhao <yu.zhao@intel.com>
Cc: Matthew Wilcox <matthew@wil.cx>
Cc: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2008-09-09 11:44:06 -07:00
..
acpi_pcihp.c PCI: add acpi_find_root_bridge_handle 2008-08-18 13:48:04 -07:00
acpiphp_core.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
acpiphp_glue.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2008-07-16 17:25:46 -07:00
acpiphp_ibm.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
acpiphp.h driver core: remove KOBJ_NAME_LEN define 2008-07-21 21:54:52 -07:00
cpci_hotplug_core.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
cpci_hotplug_pci.c
cpci_hotplug.h
cpcihp_generic.c
cpcihp_zt5550.c
cpcihp_zt5550.h
cpqphp_core.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
cpqphp_ctrl.c
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c
cpqphp_sysfs.c
cpqphp.h
fakephp.c PCI Hotplug: fakephp: fix deadlock... again 2008-09-09 11:44:06 -07:00
ibmphp_core.c
ibmphp_ebda.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
ibmphp_hpc.c
ibmphp_pci.c
ibmphp_res.c
ibmphp.h
Kconfig
Makefile
pci_hotplug_core.c Remove unnecessary 'tmp' variable from pci_hp_register(). 2008-06-25 15:58:39 -07:00
pciehp_core.c PCI: pciehp: Rename duplicate slot name N as N-1, N-2, N-M... 2008-08-21 15:15:10 -07:00
pciehp_ctrl.c pciehp: move msleep after power off 2008-05-27 15:43:33 -07:00
pciehp_hpc.c PCI: pciehp: Rename duplicate slot name N as N-1, N-2, N-M... 2008-08-21 15:15:10 -07:00
pciehp_pci.c
pciehp.h PCI: pciehp: Rename duplicate slot name N as N-1, N-2, N-M... 2008-08-21 15:15:10 -07:00
pcihp_skeleton.c
rpadlpar_core.c
rpadlpar_sysfs.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
rpadlpar.h
rpaphp_core.c
rpaphp_pci.c
rpaphp_slot.c PCI: introduce pci_slot 2008-06-10 14:37:03 -07:00
rpaphp.h
sgi_hotplug.c PCI: ACPI PCI slot detection driver 2008-06-10 14:37:14 -07:00
shpchp_core.c PCI: shpchp: Rename duplicate slot name N as N-1, N-2, N-M... 2008-08-21 15:15:31 -07:00
shpchp_ctrl.c
shpchp_hpc.c shpchp: check firmware before taking control 2008-06-10 10:59:53 -07:00
shpchp_pci.c
shpchp_sysfs.c
shpchp.h shpchp: check firmware before taking control 2008-06-10 10:59:53 -07:00