[PATCH 0/4] cpufreq/amd-pstate:Cleanups

From: Dhananjay Ugwekar
Date: Wed Oct 23 2024 - 06:21:37 EST


Explicitly rename functions that enable CPPC as *_cppc_*.

Do not clear MSR_AMD_CPPC_ENABLE as it is a set-once register, i.e. it
cannot be cleared.

Propagate the epp value to shared mem in the reenable function.

Replicate the offline flow of MSR based systems in shared mem systems.

Dhananjay Ugwekar (4):
cpufreq/amd-pstate: Rename functions that enable CPPC
cpufreq/amd-pstate: Do not attempt to clear MSR_AMD_CPPC_ENABLE
cpufreq/amd-pstate: Call cppc_set_epp_perf in the reenable function
cpufreq/amd-pstate: Align offline flow of shared memory and MSR based
systems

drivers/cpufreq/amd-pstate.c | 39 ++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 15 deletions(-)

--
2.34.1