diff options
author | Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> | 2024-07-02 08:14:13 +0000 |
---|---|---|
committer | Mario Limonciello <mario.limonciello@amd.com> | 2024-07-07 10:32:31 -0500 |
commit | f21ab5ed4e8758b06230900f44b9dcbcfdc0c3ae (patch) | |
tree | 927c266e762a43111209bca13cefe5cc9ae1b9e3 /scripts/gdb/linux/radixtree.py | |
parent | 6d588891a90c5a946aaac11a93d06edd89ed9054 (diff) |
cpufreq/amd-pstate-ut: Convert nominal_freq to khz during comparisons
cpudata->nominal_freq being in MHz whereas other frequencies being in
KHz breaks the amd-pstate-ut frequency sanity check. This fixes it.
Fixes: e4731baaf294 ("cpufreq: amd-pstate: Fix the inconsistency in max frequency units")
Reported-by: David Arcari <darcari@redhat.com>
Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
Reviewed-by: Mario Limonciello <mario.limonciello@amd.com>
Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>
Link: https://lore.kernel.org/r/20240702081413.5688-2-Dhananjay.Ugwekar@amd.com
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Diffstat (limited to 'scripts/gdb/linux/radixtree.py')
0 files changed, 0 insertions, 0 deletions