Skip to content

Commit 6397b64

Browse files
committed
tools/power turbostat: fix ICX DRAM power numbers
ICX (and its duplicates) require special hard-coded DRAM RAPL units, rather than using the generic RAPL energy units. Reported-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
1 parent eae97e0 commit 6397b64

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tools/power/x86/turbostat/turbostat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4430,6 +4430,7 @@ static double rapl_dram_energy_units_probe(int model, double rapl_energy_units)
44304430
case INTEL_FAM6_BROADWELL_X: /* BDX */
44314431
case INTEL_FAM6_SKYLAKE_X: /* SKX */
44324432
case INTEL_FAM6_XEON_PHI_KNL: /* KNL */
4433+
case INTEL_FAM6_ICELAKE_X: /* ICX */
44334434
return (rapl_dram_energy_units = 15.3 / 1000000);
44344435
default:
44354436
return (rapl_energy_units);

0 commit comments

Comments
 (0)