ACPI: PM: Adjust behavior for field problems on AMD systems
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 17 Jun 2021 16:42:12 +0000 (11:42 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 18 Jun 2021 16:39:54 +0000 (18:39 +0200)
commit8fbd6c15ea0a1d5e5d4e8ce4cc31e31afbcc1678
treeda35b604766452da07549de88e14e8fcc6706940
parent5dbf509975780851251361f2db287fdce11b7cae
ACPI: PM: Adjust behavior for field problems on AMD systems

Some AMD Systems with uPEP _HID AMD004/AMDI005 have an off by one bug
in their function mask return.  This means that they will call entrance
but not exit for matching functions.

Other AMD systems with this HID should use the Microsoft generic UUID.

AMD systems with uPEP HID AMDI006 should be using the Microsoft method.

Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Tested-by: Julian Sikorski <belegdol@gmail.com>
Tested-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c