kernel-ark/drivers/pci
Zhang Yanmin d71374dafb [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev
pci_walk_bus has a race with pci_destroy_dev. When cb is called
in pci_walk_bus, pci_destroy_dev might unlink the dev pointed by next.
Later on in the next loop, pointer next becomes NULL and cause
kernel panic.

Below patch against 2.6.17-rc4 fixes it by changing pci_bus_lock (spin_lock)
to pci_bus_sem (rw_semaphore).

Signed-off-by: Zhang Yanmin <yanmin.zhang@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-06-21 12:00:01 -07:00
..
hotplug
pcie
.gitignore
access.c
bus.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
hotplug.c
Kconfig
Makefile
msi-altix.c
msi-apic.c
msi.c [PATCH] PCI: remove unneeded msi code 2006-06-21 12:00:00 -07:00
msi.h
pci-acpi.c [PATCH] PCI ACPI: Rename the functions to avoid multiple instances. 2006-06-21 11:59:59 -07:00
pci-driver.c
pci-sysfs.c [PATCH] PCI: Add a "enable" sysfs attribute to the pci devices to allow userspace (Xorg) to enable devices without doing foul direct access 2006-06-21 11:59:59 -07:00
pci.c [PATCH] PCI: disable msi mode in pci_disable_device 2006-06-21 12:00:00 -07:00
pci.h [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
probe.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
proc.c
quirks.c [PATCH] PCI Bus Parity Status-broken hardware attribute, EDAC foundation 2006-06-21 11:59:59 -07:00
remove.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
rom.c
search.c [PATCH] PCI: fix race with pci_walk_bus and pci_destroy_dev 2006-06-21 12:00:01 -07:00
setup-bus.c [PATCH] PCI: don't move ioapics below PCI bridge 2006-06-21 12:00:00 -07:00
setup-irq.c
setup-res.c [PATCH] PCI: Add pci_assign_resource_fixed -- allow fixed address assignments 2006-06-21 11:59:59 -07:00
syscall.c