[lkml]   [2009]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[RFC PATCH v2 00/12] PCI core learns hotplug
Hi all,

Jesse asked me to send out some updated bits on this series to get
more early review. He notes that there is at least one patch out there
(Yuji Shimada's memory resource alignment) that would really like this.

Original discussion here:

This is still a work-in-progress.

Known to work:
- remove any device in PCI tree once, rescan to get it back
- device seems to be functional. :)
- can repeat above multiple times on non PCIe machines

Known to not work:
- can't remove/rescan multiple times when PCIe port driver is loaded
- hotplug drivers using pci_do_scan_bus may blow up

- fix known PCIe port driver bug
- clean up hotplug drivers using pci_do_scan_bus
- incorporate one more of Trent's patches, will probably replace
"Introduce /sys/bus/pci/rescan" since his implementation was nicer
- remove ASPM patch once jbarnes's linux-next tree gets rebased ;)

Comments welcom.



v1 -> v2:
- incorporated lots of Trent Piepho's work
- beefed up pci_do_scan_bus as heavy lifter for rescanning
- small bugfixes folded into earlier patches to get everything working

Alex Chiang (8):
PCI: more whitespace cleanups
PCI Hotplug: schedule fakephp for feature removal
PCI Hotplug: rename legacy_fakephp to fakephp
PCI: Introduce /sys/bus/pci/devices/.../rescan
PCI: Introduce /sys/bus/pci/rescan
PCI: beef up pci_do_scan_bus()
PCI: properly clean up ASPM link state on device remove
PCI: always scan child buses

Trent Piepho (4):
PCI Hotplug: restore fakephp interface with complete reimplementation
PCI: Introduce /sys/bus/pci/devices/.../remove
PCI: pci_scan_slot() returns newly found devices
PCI: don't scan existing devices

Documentation/ABI/testing/sysfs-bus-pci | 27 ++
Documentation/feature-removal-schedule.txt | 32 ++
Documentation/filesystems/sysfs-pci.txt | 9 +
drivers/pci/hotplug-pci.c | 16 +
drivers/pci/hotplug/fakephp.c | 443 +++++++---------------------
drivers/pci/pci-sysfs.c | 96 +++++-
drivers/pci/pcie/aspm.c | 4
drivers/pci/probe.c | 90 +++---
drivers/pci/remove.c | 4
9 files changed, 323 insertions(+), 398 deletions(-)

 \ /
  Last update: 2009-02-13 21:21    [W:0.063 / U:9.732 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site