diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2024-12-16 19:41:23 +0300 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2025-03-06 22:01:25 +0300 |
commit | 2064543f5ba0d2929e3e9b3a616c3262a57c7925 (patch) | |
tree | 239462289561b1fcc7a0ce17ecae357eefa83670 /tools/perf/scripts/python/libxed.py | |
parent | 93039a60fb28f72196769869aa4b502f1849a373 (diff) | |
download | linux-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