diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2022-03-10 09:09:20 -0600 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2022-03-10 18:47:55 +0100 |
commit | 854abe25ddb0d33532f15cca7eb5240b02f7db6b (patch) | |
tree | 3104483ccd9ae04dac0109dbb2ca99d24d275b35 /drivers/platform/x86/intel/pmt/class.c | |
parent | 10b29dd7eafe1987b44866d3ee1d0d71bf622cb3 (diff) |
platform/x86: amd-pmc: Validate entry into the deepest state on resume
Currently the only way to discover if a system went into the deepest sleep
state is to read from sysfs after you finished suspend.
To better illustrate to users that problems have occurred, check as part
of resume and display a warning.
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20220310150920.560583-1-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions