summaryrefslogtreecommitdiff
path: root/drivers/crypto
diff options
context:
space:
mode:
authorGautham R. Shenoy <gautham.shenoy@amd.com>2024-10-21 15:48:35 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-12-05 14:01:18 +0100
commitd193e3cbb02b58bd6f706dbbd5552cc79c7fd843 (patch)
tree72ad13c3ba6ef157ef964519f1f4862b45b45652 /drivers/crypto
parent50f0ec2f88a7990e3c7f40cbc096dde1b981d4df (diff)
downloadlinux-d193e3cbb02b58bd6f706dbbd5552cc79c7fd843.tar.gz
linux-d193e3cbb02b58bd6f706dbbd5552cc79c7fd843.tar.bz2
linux-d193e3cbb02b58bd6f706dbbd5552cc79c7fd843.zip
amd-pstate: Set min_perf to nominal_perf for active mode performance gov
[ Upstream commit 0c411b39e4f4ce8861301fa201cb4f817751311e ] The amd-pstate driver sets CPPC_REQ.min_perf to CPPC_REQ.max_perf when in active mode with performance governor. Typically CPPC_REQ.max_perf is set to CPPC.highest_perf. This causes frequency throttling on power-limited platforms which causes performance regressions on certain classes of workloads. Hence, set the CPPC_REQ.min_perf to the CPPC.nominal_perf or CPPC_REQ.max_perf, whichever is lower of the two. Fixes: ffa5096a7c33 ("cpufreq: amd-pstate: implement Pstate EPP support for the AMD processors") Signed-off-by: Gautham R. Shenoy <gautham.shenoy@amd.com> Reviewed-by: Mario Limonciello <mario.limonciello@amd.com> Link: https://lore.kernel.org/r/20241021101836.9047-2-gautham.shenoy@amd.com Signed-off-by: Mario Limonciello <mario.limonciello@amd.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/crypto')
0 files changed, 0 insertions, 0 deletions