diff options
author | Ingo Molnar <mingo@kernel.org> | 2025-05-06 20:42:00 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2025-05-06 20:42:00 +0300 |
commit | 570d58b12fbf7bae0ba72d929ccf914a4df5ca7c (patch) | |
tree | dfed4e4970ba5a5a4c4c726b4d55d9f4394683c3 /drivers/platform/x86/amd/pmc/pmc.c | |
parent | 502ad6e5a6196840976c4c84b2ea2f9769942fbe (diff) | |
parent | 92a09c47464d040866cf2b4cd052bc60555185fb (diff) | |
download | linux-570d58b12fbf7bae0ba72d929ccf914a4df5ca7c.tar.xz |
Merge tag 'v6.15-rc5' into x86/msr, to pick up fixes and to resolve conflicts
Conflicts:
drivers/cpufreq/intel_pstate.c
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/platform/x86/amd/pmc/pmc.c')
-rw-r--r-- | drivers/platform/x86/amd/pmc/pmc.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/platform/x86/amd/pmc/pmc.c b/drivers/platform/x86/amd/pmc/pmc.c index d789d6cab794..0329fafe14eb 100644 --- a/drivers/platform/x86/amd/pmc/pmc.c +++ b/drivers/platform/x86/amd/pmc/pmc.c @@ -644,10 +644,9 @@ static void amd_pmc_s2idle_check(void) struct smu_metrics table; int rc; - /* CZN: Ensure that future s0i3 entry attempts at least 10ms passed */ - if (pdev->cpu_id == AMD_CPU_ID_CZN && !get_metrics_table(pdev, &table) && - table.s0i3_last_entry_status) - usleep_range(10000, 20000); + /* Avoid triggering OVP */ + if (!get_metrics_table(pdev, &table) && table.s0i3_last_entry_status) + msleep(2500); /* Dump the IdleMask before we add to the STB */ amd_pmc_idlemask_read(pdev, pdev->dev, NULL); |