ACPI / hotplug / PCI: Updates on top of changes merged recently
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest13 patches 1 replyIn review
- v111 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/13 | ACPI / hotplug / PCI: Remove entries from bus->devices in reverse orderdrivers/ | +4 | 0 replies | |
| 2/13 | ACPI / hotplug / PCI: Move PCI rescan-remove locking to hotplug_event()drivers/ | +2 | 0 replies | |
| 3/13 | ACPI / hotplug / PCI: Simplify disable_slot()drivers/ | +5 | 0 replies | |
| 4/13 | ACPI / hotplug / PCI: Proper kerneldoc comments for enumeration/removaldrivers/ | +10 | 0 replies | |
| 5/13 | ACPI / hotplug / PCI: Simplify register_slot()drivers/ | +4 | 0 replies | |
| 6/13 | ACPI / hotplug / PCI: Drop acpiphp_bus_trim()drivers/ | +11 | 0 replies | |
| 7/13 | ACPI / hotplug / PCI: Rework acpiphp_no_hotplug()drivers/ | +9 | 0 replies | |
| 8/13 | ACPI / hotplug / PCI: Store acpi_device pointer in acpiphp_contextdrivers/ drivers/ | +28 | 0 replies | |
| 9/13 | ACPI / hotplug / PCI: Drop acpiphp_bus_add()drivers/ | +6 | 0 replies | |
| 10/13 | ACPI / hotplug / PCI: Drop crit_sect lockingdrivers/ drivers/ | +3 | 0 replies | |
| 11/13 | ACPI / hotplug / PCI: Simplify hotplug_event()drivers/ | +6 | 0 replies | |
| 12/13 | ACPI / hotplug / PCI: Use acpi_handle_debug() in hotplug_event()drivers/ | +3 | 0 replies | |
| 13/13 | ACPI / hotplug: Do not pass ACPI handles to ACPI dock operationsdrivers/ drivers/ drivers/ +1 more | +16 | 0 replies |
Reviews trailers per patch
None of the 13 patches has a Reviewed-by or Acked-by.
| Patch | Mika Westerberg |
|---|---|
| Series | T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b |
| 1/13 | |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/13] ACPI / hotplug / PCI: Updates on top of changes merged recently
Quoted 17 lines · Rafael J. Wysocki
Hi All,
ACPIPHP can be simplified a bit on top of some PCI and ACPI changes merged recently and the following series of patches implements those simplifications:
[1/11] Fix up two kerneldoc comments in
acpiphp_glue.c.
[2/11] Get rid of an unnecessary label inregister_slot().
[3/11] Dropacpiphp_bus_trim()and useacpi_bus_trim()instead of it directly. [4/11] Move theacpi_bus_get_device()call out ofacpiphp_no_hotplug(). [5/11] Store structacpi_devicepointers instead of ACPI handles in structacpiphp_context. [6/11] Dropacpiphp_bus_add()(which has only one user).
[7/11] Dropcrit_sectmutexes (that are redundant).
[8/11] Clean up the usage of the slot variable inhotplug_event().
[9/11] Dropdev_in_slot()and reworkdisable_slot()to walkbus->devicesdirectly. [10/11] Useacpi_handle_debug()inhotplug_event()instead of open-coded stuff. [11/11] Drop handle argument from the member functions of structacpi_dock_ops.
Quoted 2 lines
All of that is relateively straightforward, but I have some more intrusive changes on top of it in the works. They will be posted separately later this week.
I've learned a couple of things since I sent this patchset. First, all bus->devices list walks that may remove PCI devices should be done in reverse order or they can crash if virtual functions are involved. Second, hotplug_event() (in acpiphp_glue.c) has to acquire pci_rescan_remove_lock by itself, because it may be called from multiple places and all of them need that lock to be held. That is done by patches [1-2/13] which I'm planning to push as fixes for 3.14-rc2.
The rest is pretty much the same as last time except that the old patch [9/11] became [3/13] in this series and it has been changed so that the list is walked in reverse order.
Thanks!
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.