Skip to content

Commit 4c08132

Browse files
zhang-ruirafaeljw
authored andcommitted
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: 2d798d9 ("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>
1 parent 2d93540 commit 4c08132

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/powercap/intel_rapl_common.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1038,7 +1038,6 @@ static const struct rapl_defaults rapl_defaults_spr_server = {
10381038
.check_unit = rapl_check_unit_core,
10391039
.set_floor_freq = set_floor_freq_default,
10401040
.compute_time_window = rapl_compute_time_window_core,
1041-
.dram_domain_energy_unit = 15300,
10421041
.psys_domain_energy_unit = 1000000000,
10431042
.spr_psys_bits = true,
10441043
};

0 commit comments

Comments
 (0)