linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Enhancements and bugfixes to PCI hotplug subsystem
@ 2012-03-23 14:58 Jiang Liu
  2012-03-23 14:58 ` [PATCH 01/11] PCI: Fix device reference count leakage in pci_dev_present() Jiang Liu
                   ` (11 more replies)
  0 siblings, 12 replies; 15+ messages in thread
From: Jiang Liu @ 2012-03-23 14:58 UTC (permalink / raw)
  To: Yinghai Lu, Jesse Barnes, Len Brown
  Cc: Jiang Liu, Bjorn Helgaas, Ashok Raj, Jiang Liu, Keping Chen,
	linux-pci, linux-acpi

This is a series of RFC patches, to make sure we are doing the
right thing in the right way.  The patchset hasn't been tested yet.
There are several minor bugfixes and two proposals.

The first proposal is to add notification chain for PCI hotplug events,
so other components interested in PCI root/bus/device hotplug events
could subscribe to the chain.

The second prososal is to introduce a recursive mutex lock to
serialize all hotplug operations triggered by sysfs interfaces,
PCI HPC hardware events, ACPI hotplug events and other sources.

There are still works left in driver/pci/hotplug directory to apply
the above two proposals.

The patchset applies to Yinghai's work on PCI root bus hotplug at
git://git.kernel.org/pub/scm/linux/kernel/git/yinghai/linux-yinghai.git for-x86-irq
And it depends on my previous patchset, please refer to
http://www.spinics.net/lists/linux-pci/msg14472.html

Thanks!

Jiang Liu (11):
  PCI: Fix device reference count leakage in pci_dev_present()
  PCI: introduce pci_bus_get()/pci_bus_put() to hide implementation
    details
  PCI: clean up root bridge related logic in acpiphp driver
  ACPI,PCI: fix race windows caused by alloc_acpi_hotplug_work()
  PCI: Add notification interfaces for PCI root/bus/device hotplug
    events
  ACPI,PCI: update ACPI<->PCI binding information when pci hotplug
    event happens
  ACPI,PCI: update ACPI slots when PCI hotplug event happens
  PCI: Introduce recursive mutex to serialize PCI hotplug operations
  PCI: serialize hotplug operations triggered by PCI hotplug sysfs
    interfaces
  PCI,ACPI: serialize hotplug operations triggered by ACPI subsystem
  PCI: Serialize hotplug operations triggered by acpiphp driver

 drivers/acpi/pci_bind.c                |  115 +++++++++++++++++++++++++
 drivers/acpi/pci_root.c                |    8 ++
 drivers/acpi/pci_slot.c                |   81 ++++++++++++++++++-
 drivers/pci/bus.c                      |   20 ++++-
 drivers/pci/hotplug.c                  |   47 +++++++++++
 drivers/pci/hotplug/acpiphp.h          |    7 ++-
 drivers/pci/hotplug/acpiphp_glue.c     |  143 ++++++++++++--------------------
 drivers/pci/hotplug/pci_hotplug_core.c |    2 +
 drivers/pci/pci-sysfs.c                |   29 +++----
 drivers/pci/pci.h                      |    8 ++
 drivers/pci/probe.c                    |   10 ++-
 drivers/pci/remove.c                   |   20 ++++-
 drivers/pci/search.c                   |   10 +-
 include/linux/pci.h                    |   57 +++++++++++++
 14 files changed, 437 insertions(+), 120 deletions(-)

-- 
1.7.5.4


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-30  4:15 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-23 14:58 [PATCH 00/11] Enhancements and bugfixes to PCI hotplug subsystem Jiang Liu
2012-03-23 14:58 ` [PATCH 01/11] PCI: Fix device reference count leakage in pci_dev_present() Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 02/11] PCI: introduce pci_bus_get()/pci_bus_put() to hide implementation details Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 03/11] PCI: clean up root bridge related logic in acpiphp driver Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 04/11] ACPI,PCI: fix race windows caused by alloc_acpi_hotplug_work() Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 05/11] PCI: Add notification interfaces for PCI root/bus/device hotplug events Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 06/11] ACPI,PCI: update ACPI<->PCI binding information when pci hotplug event happens Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 07/11] ACPI,PCI: update ACPI slots when PCI " Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 08/11] PCI: Introduce recursive mutex to serialize PCI hotplug operations Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 09/11] PCI: serialize hotplug operations triggered by PCI hotplug sysfs interfaces Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 10/11] PCI,ACPI: serialize hotplug operations triggered by ACPI subsystem Jiang Liu
2012-03-23 14:58 ` [RFC PATCH 11/11] PCI: Serialize hotplug operations triggered by acpiphp driver Jiang Liu
2012-03-27  3:33 ` [PATCH 00/11] Enhancements and bugfixes to PCI hotplug subsystem Kenji Kaneshige
2012-03-27 14:31   ` Jiang Liu
2012-03-30  4:15     ` Kenji Kaneshige

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).