]> 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)
commit9221e457e37064ade0b9c9c2a7724fef25ffea7b
treeb4addbc47cca158ec19be93c27da7f5d1ef44f2c
parent5f2544199b7708726f110b3fba02f56feb972106
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