1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/platform/x86/amd
Mario Limonciello 260ad3de71 platform/x86/amd: pmc: Add a workaround for an s0i3 issue on Cezanne
Cezanne platforms under the right circumstances have a synchronization
problem where attempting to enter s2idle may fail if the x86 cores are
put into HLT before hardware resume from the previous attempt has
completed.

To avoid this issue add a 10-20ms delay before entering s2idle another
time. This workaround will only be applied on interrupts that wake the
hardware but don't break the s2idle loop.

Cc: stable@vger.kernel.org # 6.1
Cc: "Mahapatra, Rajib" <Rajib.Mahapatra@amd.com>
Cc: "Raul Rangel" <rrangel@chromium.org>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://lore.kernel.org/r/20221116154341.13382-1-mario.limonciello@amd.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2022-11-17 17:08:17 +01:00
..
pmf platform/x86/amd/pmf: pass the struct by reference 2022-11-16 08:48:18 +01:00
hsmp.c platform/x86: use PLATFORM_DEVID_NONE instead of -1 2022-10-03 09:40:04 +02:00
Kconfig platform/x86/amd/pmf: Add support for PMF core layer 2022-08-15 13:23:37 +02:00
Makefile platform/x86/amd/pmf: Add support for PMF core layer 2022-08-15 13:23:37 +02:00
pmc.c platform/x86/amd: pmc: Add a workaround for an s0i3 issue on Cezanne 2022-11-17 17:08:17 +01:00