]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb6561331ee9a33ec6bdf4c99f311fed1d900f70b
treea60ed72170e44824d43aab05529248625c5f4683
parente0941462681aff3324cbaabf148595b9b77affbe
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: df2b3938c51c ("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