[PATCH v3, part1 00/10] Prepare for introducing PCI bus lock interfaces

From: Jiang Liu
Date: Sat May 25 2013 - 09:51:09 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 6:
Make PCI bus creating/destroying logic symmetric
Patch 8-10:
Cleanup and bugfix for IOV
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 (8):
PCI: introduce pci_bus_{get|put}() to manage PCI bus reference count
PCI: mark pci_scan_bus_parented() as __deprecated
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()
PCI, IOV: don't touch bus->is_added flag
PCI, IOV: simplify IOV implementation
PCI, IOV: hide remove and rescan sysfs interfaces for SR-IOV virtual
functions

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/char/agp/alpha-agp.c | 2 +-
drivers/char/agp/parisc-agp.c | 2 +-
drivers/pci/bus.c | 15 ++++++
drivers/pci/iov.c | 64 +++++++++--------------
drivers/pci/pci-sysfs.c | 30 ++++++++++-
drivers/pci/probe.c | 105 ++++++++++++++++++--------------------
drivers/pci/remove.c | 3 +-
drivers/scsi/megaraid.c | 2 +-
include/linux/pci.h | 9 ++--
15 files changed, 134 insertions(+), 125 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/