Thread (5 messages) 5 messages, 4 authors, 2021-03-18

Re: [PATCH] ACPI: scan: Turn off unused power resources during initialization

From: "Rafael J. Wysocki" <rafael@kernel.org>
Date: 2021-03-18 11:08:04
Also in: linux-acpi, lkml

On Wed, Mar 17, 2021 at 10:27 PM Paul Menzel [off-list ref] wrote:
Dear Rafael,


Am 17.03.21 um 17:49 schrieb Rafael J. Wysocki:
quoted
From: Rafael J. Wysocki <redacted>

It is reported that on certain platforms unused ACPI power resources
that have not been explicitly turned off prevent the platform from
reaching the lowest power state in suspend-to-idle which leads to
excessive power draw.

For this reason, turn all of the unused ACPI power resources off
at the end of the initial namespace scan for devices in analogy with
resume from suspend-to-RAM.

Reported-by: David Box <david.e.box@linux.intel.com>
Thank you for the patch. Could you please add more details to the commit
message, saying what device this was on, and if there were some
error/warning messages pointing to the problem?
The actual report is not public, so I cannot quote it.

In essence, there is a power resource in the affected system that
would be dedicated to a specific device, but that device is not
present in that variant of the platform.

However, the behavior introduced by this patch is generally mandated
by the spec and evidently depended on by firmware developers (see the
second paragraph in
https://uefi.org/specs/ACPI/6.4/07_Power_and_Performance_Mgmt/device-power-management-objects.html).
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help