summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2025-02-19 23:08:14 +0300
committerMario Limonciello <mario.limonciello@amd.com>2025-03-06 22:01:26 +0300
commitefb758c8c803217e58248f03db372c5e23827dae (patch)
tree8f886617409e3f869a5d077cb36cf16a400e3e9b /tools/perf/scripts/python/libxed.py
parent4e16c1175238f2b9d86199b427c5db1a24c9a85f (diff)
downloadlinux-efb758c8c803217e58248f03db372c5e23827dae.tar.xz
cpufreq/amd-pstate: Drop actions in amd_pstate_epp_cpu_offline()
When the CPU goes offline there is no need to change the CPPC request because the CPU will go into the deepest C-state it supports already. Actually changing the CPPC request when it goes offline messes up the cached values and can lead to the wrong values being restored when it comes back. Instead drop the actions and if the CPU comes back online let amd_pstate_epp_set_policy() restore it to expected values. Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com> Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions