tools/power turbostat: Use standard Energy Unit for SPR Dram RAPL domain
authorZhang Rui <rui.zhang@intel.com>
Sat, 24 Sep 2022 05:47:38 +0000 (13:47 +0800)
committerLen Brown <len.brown@intel.com>
Tue, 4 Oct 2022 21:00:02 +0000 (23:00 +0200)
commitb2d433ae637626d44c9d4a75dd3330cf68fed9de
treea60ed72170e44824d43aab05529248625c5f4683
parent3ea8e52ec94de6cd5e8a9dc7b2ec72a7745b4e47
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>
tools/power/x86/turbostat/turbostat.c