Skip to content
Commit a3c94435 authored by Dhananjay Ugwekar's avatar Dhananjay Ugwekar Committed by Greg Kroah-Hartman
Browse files

tools/power/cpupower: Fix Pstate frequency reporting on AMD Family 1Ah CPUs



[ Upstream commit 43cad521 ]

Update cpupower's P-State frequency calculation and reporting with AMD
Family 1Ah+ processors, when using the acpi-cpufreq driver. This is due
to a change in the PStateDef MSR layout in AMD Family 1Ah+.

Tested on 4th and 5th Gen AMD EPYC system

Signed-off-by: default avatarAnanth Narayan <Ananth.Narayan@amd.com>
Signed-off-by: default avatarDhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Reviewed-by: default avatarMario Limonciello <mario.limonciello@amd.com>
Signed-off-by: default avatarShuah Khan <skhan@linuxfoundation.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 044a7bfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment