summaryrefslogtreecommitdiff
path: root/drivers/md/dm-log-writes.c
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2022-11-16 18:43:41 +0300
committerHans de Goede <hdegoede@redhat.com>2022-12-07 17:27:49 +0300
commite4678483f9bc400642bbc05c6b75a1b44bcb6c25 (patch)
treeb56cb0cd5da3a582803fa111876a5c6b888feeaf /drivers/md/dm-log-writes.c
parentb44fd994e45112b58b6c1dec4451d9a925784589 (diff)
downloadlinux-e4678483f9bc400642bbc05c6b75a1b44bcb6c25.tar.xz
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>
Diffstat (limited to 'drivers/md/dm-log-writes.c')
0 files changed, 0 insertions, 0 deletions