ACPI: Rework acpi_bus_trim()
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | ACPI: Remove the ops field from struct acpi_deviceinclude/ | +0 | 0 replies | |
| 2/5 | ACPI / scan: Drop the second argument of acpi_device_unregister()drivers/ | +3 | 0 replies | |
| 3/5 | ACPI / scan: Drop the second argument of acpi_bus_trim()drivers/ drivers/ drivers/ +2 more | +9 | 0 replies | |
| 4/5 | ACPI / scan: Change the implementation of acpi_bus_trim()drivers/ | +11 | 0 replies | |
| 5/5 | ACPI / scan: Add second pass to acpi_bus_trim()drivers/ | +28 | 2 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Toshi Kani | Yasuaki Ishimatsu |
|---|---|---|
| Series | A-b | |
| 1/5 | ||
| 2/5 | ||
| 3/5 | ||
| 4/5 | ||
| 5/5 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] ACPI: Rework acpi_bus_trim()
Hi All,
This series of patches changes the way acpi_bus_trim() works so that, eventually, it walks the namespace twice detaching (ACPI) drivers from device nodes being removed in the first pass and removing the device nodes in the second pass.
The first two patches are just cleanups removing unused stuff:
[1/5] Remove the ops field from struct acpi_device (unrelated to the rest). [2/5] Drop the second argument of acpi_device_unregister().
The next three patches actually rework acpi_bus_trim() in three steps:
[3/5] Drop the second argument of acpi_bus_trim() (all callers pass 1 in there
anyway.
[4/5] Reimplement acpi_bus_trim() using acpi_walk_namespace(). [3/5] Make acpi_bus_trim() carry out two passes as described above.
I'm aware of the fact that this will conflict with the patches that Yinghai posted a few days ago, but in my opinion the changes here are prerequisite for the Yinghai's patchset.
Thanks,
Rafael
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.