All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/3] ACPI: power: Keep track of power resource states
@ 2021-05-24 15:23 Rafael J. Wysocki
  2021-05-24 15:24 ` [PATCH v1 1/3] ACPI: power: Use u8 as the power resource state data type Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rafael J. Wysocki @ 2021-05-24 15:23 UTC (permalink / raw)
  To: Linux ACPI; +Cc: Linux PM, LKML, Zhang Rui, David Box, Rafael J. Wysocki

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!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-24 15:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 15:23 [PATCH v1 0/3] ACPI: power: Keep track of power resource states Rafael J. Wysocki
2021-05-24 15:24 ` [PATCH v1 1/3] ACPI: power: Use u8 as the power resource state data type Rafael J. Wysocki
2021-05-24 15:25 ` [PATCH v1 2/3] ACPI: power: Save the last known state of each power resource Rafael J. Wysocki
2021-05-24 15:26 ` [PATCH v1 3/3] ACPI: power: Rework turning off unused power resources Rafael J. Wysocki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.