diff options
author | Zhang Rui <rui.zhang@intel.com> | 2022-09-24 07:47:38 +0200 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2022-10-04 23:00:02 +0200 |
commit | b2d433ae637626d44c9d4a75dd3330cf68fed9de (patch) | |
tree | a60ed72170e44824d43aab05529248625c5f4683 /tools/power | |
parent | tools/power turbostat: Do not dump TRL if turbo is not supported (diff) | |
download | linux-b2d433ae637626d44c9d4a75dd3330cf68fed9de.tar.xz linux-b2d433ae637626d44c9d4a75dd3330cf68fed9de.zip |
tools/power turbostat: Use standard Energy Unit for SPR Dram RAPL domain
Intel Xeon servers used to use a fixed energy resolution (15.3uj) for
Dram RAPL domain. But on SPR, Dram RAPL domain follows the standard
energy resolution as described in MSR_RAPL_POWER_UNIT.
Remove the SPR rapl_dram_energy_units quirk.
Fixes: e7af1ed3fa47 ("tools/power turbostat: Support additional CPU model numbers")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Wang Wendy <wendy.wang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'tools/power')
-rw-r--r-- | tools/power/x86/turbostat/turbostat.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/power/x86/turbostat/turbostat.c b/tools/power/x86/turbostat/turbostat.c index 75b1c9eb21a3..9b572631a34b 100644 --- a/tools/power/x86/turbostat/turbostat.c +++ b/tools/power/x86/turbostat/turbostat.c @@ -4567,7 +4567,6 @@ static double rapl_dram_energy_units_probe(int model, double rapl_energy_units) case INTEL_FAM6_SKYLAKE_X: /* SKX */ case INTEL_FAM6_XEON_PHI_KNL: /* KNL */ case INTEL_FAM6_ICELAKE_X: /* ICX */ - case INTEL_FAM6_SAPPHIRERAPIDS_X: /* SPR */ return (rapl_dram_energy_units = 15.3 / 1000000); default: return (rapl_energy_units); |