Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756388Ab3EYNvG (ORCPT ); Sat, 25 May 2013 09:51:06 -0400 Received: from mail-pa0-f54.google.com ([209.85.220.54]:39174 "EHLO mail-pa0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756140Ab3EYNvB (ORCPT ); Sat, 25 May 2013 09:51:01 -0400 From: Jiang Liu To: Bjorn Helgaas , Yinghai Lu Cc: Jiang Liu , "Rafael J . Wysocki" , Greg Kroah-Hartman , Gu Zheng , Toshi Kani , Myron Stowe , Yijing Wang , Jiang Liu , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3, part1 00/10] Prepare for introducing PCI bus lock interfaces Date: Sat, 25 May 2013 21:48:28 +0800 Message-Id: <1369489718-25869-1-git-send-email-jiang.liu@huawei.com> X-Mailer: git-send-email 1.8.1.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2087 Lines: 55 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/