Skip to content

Commit b2d433a

Browse files
zhang-ruilenb
authored andcommitted
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: e7af1ed ("tools/power turbostat: Support additional CPU model numbers") Signed-off-by: Zhang Rui <[email protected]> Tested-by: Wang Wendy <[email protected]> Signed-off-by: Len Brown <[email protected]>
1 parent 3ea8e52 commit b2d433a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/power/x86/turbostat/turbostat.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4567,7 +4567,6 @@ static double rapl_dram_energy_units_probe(int model, double rapl_energy_units)
45674567
case INTEL_FAM6_SKYLAKE_X: /* SKX */
45684568
case INTEL_FAM6_XEON_PHI_KNL: /* KNL */
45694569
case INTEL_FAM6_ICELAKE_X: /* ICX */
4570-
case INTEL_FAM6_SAPPHIRERAPIDS_X: /* SPR */
45714570
return (rapl_dram_energy_units = 15.3 / 1000000);
45724571
default:
45734572
return (rapl_energy_units);

0 commit comments

Comments
 (0)