lkml.org 
[lkml]   [2021]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/3] ACPI: power: Keep track of power resource states
Date
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!



\
 
 \ /
  Last update: 2021-05-24 17:29    [W:0.033 / U:1.444 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site