diff options
| author | Rafael J. Wysocki <[email protected]> | 2021-03-18 18:28:28 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2021-03-23 18:40:28 +0000 |
| commit | 7e4fdeafa61f2b653fcf9678f09935e55756aed2 (patch) | |
| tree | a281388cac429863a03305dba2c99cae11fb81a4 /drivers/acpi/utils.c | |
| parent | ACPI: scan: Turn off unused power resources during initialization (diff) | |
| download | kernel-7e4fdeafa61f2b653fcf9678f09935e55756aed2.tar.gz kernel-7e4fdeafa61f2b653fcf9678f09935e55756aed2.zip | |
ACPI: power: Turn off unused power resources unconditionally
According to the ACPI specification (section 7.2.2 in ACPI 6.4), the
OS may evaluate the _OFF method of a power resource that is "off"
already [1], and in particular that can be done in the case of unused
power resources.
Accordingly, modify acpi_turn_off_unused_power_resources() to
evaluate the _OFF method for each of the unused power resources
unconditionally which may help to work around BIOS issues where the
return value of _STA for a power resource does not reflect the
actual state of the power resource [2].
Link: https://uefi.org/specs/ACPI/6.4/07_Power_and_Performance_Mgmt/declaring-a-power-resource-object.html#off # [1]
Link: https://lore.kernel.org/lkml/[email protected]/ # [2]
Tested-by: Wendy Wang <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/utils.c')
0 files changed, 0 insertions, 0 deletions
