[PATCH v2, part 1 0/9] Prepare for introducing PCI bus lock interfaces

From: Jiang Liu
Date: Mon May 13 2013 - 12:08:57 EST


This is a preparation patchset for introducing PCI bus lock mechanisms
to protect PCI subsystem from concurrent hotplug operations.

Patch 1:
Introduce pci_bus_{get|put}() to manage PCI bus reference count
Patch 2-3:
pci_alloc_dev() patchset from Gu Zheng
Patch 8:
Make PCI bus creating/destroying logic symmetric
Other:
Minor code improvements/cleanups

Gu Zheng (2):
PCI: Introduce pci_alloc_dev(struct pci_bus*) to replace
alloc_pci_dev()
PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus) instead

Jiang Liu (7):
PCI: introduce pci_bus_{get|put}() to manage PCI bus reference count
PCI: mark pci_scan_bus_parented() as __deprecated
ACPI, PCI: remove unused global list acpi_pci_roots in pci_root.c
ACPI, pci_root: use acpi_handle_print() and pr_xxx() to print messages
PCI, IA64: minor code clean up
PCI: make PCI host bridge/bus creating and destroying logic symmetric
PCI, unicore, m68k: remove redundant call of pci_bus_add_devices()

arch/ia64/sn/kernel/io_init.c | 11 +---
arch/m68k/platform/coldfire/pci.c | 2 +-
arch/powerpc/kernel/pci_of_scan.c | 3 +-
arch/sparc/kernel/pci.c | 3 +-
arch/tile/kernel/pci.c | 3 --
arch/unicore32/kernel/pci.c | 5 --
drivers/acpi/pci_root.c | 96 +++++++++++++----------------------
drivers/char/agp/alpha-agp.c | 2 +-
drivers/char/agp/parisc-agp.c | 2 +-
drivers/pci/bus.c | 15 ++++++
drivers/pci/iov.c | 8 +--
drivers/pci/probe.c | 102 ++++++++++++++++++--------------------
drivers/pci/remove.c | 3 +-
drivers/scsi/megaraid.c | 2 +-
include/acpi/acpi_bus.h | 1 -
include/linux/pci.h | 9 ++--
16 files changed, 119 insertions(+), 148 deletions(-)

--
1.8.1.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/