powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domain
authorZhang Rui <rui.zhang@intel.com>
Sat, 24 Sep 2022 05:47:36 +0000 (13:47 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sat, 24 Sep 2022 17:32:46 +0000 (19:32 +0200)
commit4c081324df5608b73428662ca54d5221ea03a6bd
tree55e5ead0475377b8b2b463f12ed6035c9e2a8aa4
parent2d93540014387d1c73b9ccc4d7895320df66d01b
powercap: intel_rapl: 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 dram_domain_energy_unit quirk.

Fixes: 2d798d9f5967 ("powercap: intel_rapl: add support for Sapphire Rapids")
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Tested-by: Wang Wendy <wendy.wang@intel.com>
Cc: 5.9+ <stable@vger.kernel.org> # 5.9+
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/powercap/intel_rapl_common.c