ACPI: power: Keep track of power resource states
Get series with b4
b4 am 2074778.irdbgypaU6@kreacherVersions newest first
- v1 Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ACPI: power: Use u8 as the power resource state data typedrivers/ | +15 | 0 replies | |
| 2/3 | ACPI: power: Save the last known state of each power resourcedrivers/ | +32 | 0 replies | |
| 3/3 | ACPI: power: Rework turning off unused power resourcesdrivers/ drivers/ drivers/ +1 more | +14 | 0 replies |
Reviews trailers per patch
None of the 3 patches has a Reviewed-by or Acked-by.
| Patch | Dave Olsthoorn | Shujun Wang |
|---|---|---|
| 1/3 | T-b | T-b |
| 2/3 | T-b | T-b |
| 3/3 | T-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/3] ACPI: power: Keep track of power resource states
Hi All,
This series changes the handling of ACPI power resources so as to track the state of each power resource in the kernel in addition to using reference counting instead of relying on the values returned by the _STA objects of power resources.
The underlying issue is that on some systems the _STA always returns the same value for certain power resources even after changing their state with _ON or _OFF, so it is not reliable in general.
Patch [1/3] changes the data type used for representing the state of an ACPI power resources to u8 (cosmetics).
Patch [2/3] introduces the power resource state tracking (refer to the changelog for details).
Patch [3/3] simplifies turning off the unused power resources with the help of the state tracking mechanism (refer to the changelog for details).
The series is not top of the patch at
https://patchwork.kernel.org/project/linux-acpi/patch/11762320.O9o76ZdvQC@kreacher/
which is going to be pushed as a fix for 5.13-rc.
Thanks!