]> www.infradead.org Git - users/jedix/linux-maple.git/commit
cpufreq/amd-pstate: Fix prefcore rankings
authorMario Limonciello <mario.limonciello@amd.com>
Thu, 2 Jan 2025 14:12:04 +0000 (08:12 -0600)
committerMario Limonciello <mario.limonciello@amd.com>
Fri, 3 Jan 2025 16:27:32 +0000 (10:27 -0600)
commitfd604ae6c261c5a56bb977ae99f875bbd7264a3f
treef40c929a0768e8eb521eebdbbd7aefd7bf33789f
parent95fad7fb58cfaa2a295aa54a1f001a16b9324963
cpufreq/amd-pstate: Fix prefcore rankings

commit 50a062a76200 ("cpufreq/amd-pstate: Store the boost numerator as
highest perf again") updated the value stored for highest perf to no longer
store the highest perf value but instead the boost numerator.

This is a fixed value for systems with preferred cores and not appropriate
for use ITMT rankings. Update the value used for ITMT rankings to be the
preferred core ranking.

Reported-and-tested-by: Sebastian <sobrus@gmail.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=219640
Fixes: 50a062a76200 ("cpufreq/amd-pstate: Store the boost numerator as highest perf again")
Reviewed-by: Dhananjay Ugwekar <dhananjay.ugwekar@amd.com>
Link: https://lore.kernel.org/r/20250102141204.3413202-1-superm1@kernel.org
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
drivers/cpufreq/amd-pstate.c