summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorMario Limonciello <mario.limonciello@amd.com>2024-12-16 19:41:23 +0300
committerMario Limonciello <mario.limonciello@amd.com>2025-03-06 22:01:25 +0300
commit2064543f5ba0d2929e3e9b3a616c3262a57c7925 (patch)
tree239462289561b1fcc7a0ce17ecae357eefa83670 /tools/perf/scripts/python/libxed.py
parent93039a60fb28f72196769869aa4b502f1849a373 (diff)
downloadlinux-2064543f5ba0d2929e3e9b3a616c3262a57c7925.tar.xz
cpufreq/amd-pstate: Rework CPPC enabling
The CPPC enable register is configured as "write once". That is any future writes don't actually do anything. Because of this, all the cleanup paths that currently exist for CPPC disable are non-effective. Rework CPPC enable to only enable after all the CAP registers have been read to avoid enabling CPPC on CPUs with invalid _CPC or unpopulated MSRs. As the register is write once, remove all cleanup paths as well. 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