cpufreq/amd-pstate: Stop caching EPP
authorMario Limonciello <mario.limonciello@amd.com>
Sun, 19 Jan 2025 13:05:43 +0000 (07:05 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Thu, 6 Mar 2025 19:01:26 +0000 (13:01 -0600)
commit4e16c1175238f2b9d86199b427c5db1a24c9a85f
tree46dec127a50edff04eb3c4b32628861aa7f1b09d
parent2064543f5ba0d2929e3e9b3a616c3262a57c7925
cpufreq/amd-pstate: Stop caching EPP

EPP values are cached in the cpudata structure per CPU. This is needless
though because they are also cached in the CPPC request variable.

Drop the separate cache for EPP values and always reference the CPPC
request variable when needed.

Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c
drivers/cpufreq/amd-pstate.h