]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: x86: s2idle: Add module parameter to prefer Microsoft GUID
authorMario Limonciello <mario.limonciello@amd.com>
Wed, 21 Sep 2022 20:40:50 +0000 (15:40 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 25 Sep 2022 15:44:55 +0000 (17:44 +0200)
commitf1a1faa984d5fdba8bda153e429793ee30f5b0bf
treeb4addbc47cca158ec19be93c27da7f5d1ef44f2c
parent8014c7fc62b73c43e37f9facd49e76de5b42df45
ACPI: x86: s2idle: Add module parameter to prefer Microsoft GUID

OEMs have made some mistakes in the past for the AMD GUID support
and not populated the method properly.  To add an escape hatch for
this problem introduce a module parameter that can force using
the Microsoft GUID.

This is intentionally introduced to both Intel and AMD codepaths
to allow using the parameter as a debugging tactic on either.

Reviewed-by: Philipp Zabel <philipp.zabel@gmail.com>
Tested-by: Philipp Zabel <philipp.zabel@gmail.com> # GA402RJ
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c