]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: PM: s2idle: Evaluate all Low-Power S0 Idle _DSM functions
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Apr 2024 19:19:36 +0000 (21:19 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 23 Apr 2024 19:50:15 +0000 (21:50 +0200)
commit68301ef471b63f25d6e6144a0820fea52257a34a
treed49df06041c10b2f5bffe3299fbc95f4976c953a
parented30a4a51bb196781c8058073ea720133a65596f
ACPI: PM: s2idle: Evaluate all Low-Power S0 Idle _DSM functions

Commit 073237281a50 ("ACPI: PM: s2idle: Enable Low-Power S0 Idle MSFT
UUID for non-AMD systems") attempted to avoid evaluating the same Low-
Power S0 Idle _DSM functions for different UUIDs, but that turns out to
be a mistake, because some systems in the field are adversely affected
by it.

Address this by allowing all Low-Power S0 Idle _DSM functions to be
evaluated, but still print the message regarding duplication of Low-
Power S0 Idle _DSM function sets for different UUIDs.

Fixes: 073237281a50 ("ACPI: PM: s2idle: Enable Low-Power S0 Idle MSFT UUID for non-AMD systems")
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218750
Reported-and-tested-by: Mark Pearson <mpearson@lenovo.com>
Suggested-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/acpi/x86/s2idle.c