ACPI: scan: Adjust power management initialization and PCI devices handling
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 6 repliesIn review
- v26 patches 2 repliesSuperseded
- v17 patches 9 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ACPI: PM: Drop parent state update from acpi_device_get_power()drivers/ | +2 | 0 replies | |
| 2/4 | ACPI: scan: Stop calling acpi_bus_init_power() earlydrivers/ drivers/ | +76 | 1 reply | |
| 3/4 | ACPI: PM: Move acpi_bus_init_power() declaration to internal header filedrivers/ include/ | +1 | 0 replies | |
| 4/4 | ACPI: scan: Combine two conditionals in acpi_bus_attach()drivers/ | +2 | 0 replies |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Andy Shevchenko | Peixin Xie | Sakari Ailus |
|---|---|---|---|
| Series | T-b | T-b | |
| 1/4 | |||
| 2/4 | |||
| 3/4 | |||
| 4/4 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [PATCH v3 0/4] ACPI: scan: Adjust power management initialization and PCI devices handling
Hi All,
This is an update of
https://lore.kernel.org/linux-acpi/[email protected]/
that adds 1 patch, 3 two patches, and addresses review comments in patch [2/4].
The new patch drops in v3 is a cleanup relocating the acpi_bus_init_power() declaration to an internal header file in the core ACPI support code (patch [3/4]).
One of the patches dropped from the v2 has been folded into patch [2/4] and the other two have become cleanups on top of this series that can be done later.
Overall, the series aims at addressing a few issues present in the core ACPI device enumeration code, mostly related to the acpi_bus_attach() function.
The first one is that, on some systems, ACPI power management is initialized twice for devices that have missing dependencies to start with. An attempt to address this issue had been made during the 7.3 merge window, but it had to be reverted [1]. The approach used here is roughly the same as in the reverted commit, but it takes PCI devices (which are a special case) into account.
In addition to the above, ACPI power management may be initialized prematurely for device objects whose parents are not ready for enumeration.
The other issues are that flags are unnecessarily cleared by acpi_bus_attach() for devices with missing dependencies and PCI devices are handled by acpi_bus_attach() like any other devices which is a mistake.
Please see the changelogs of individual patches for details.
Thanks!