Skip to content

driver/tool fix for SPR Dram RAPL Domain

Zhang Rui linux-perf-users linux-pm lkml 1 version Applied

Status from this message: Applied as 6.1 material, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3powercap: intel_rapl: Use standard Energy Unit for SPR Dram RAPL domaindrivers/powercap/intel_rapl_common.c+0 -11 reply
2/3perf/x86/rapl: Use standard Energy Unit for SPR Dram RAPL domainarch/x86/events/rapl.c+1 -51 reply
3/3tools/power turbostat: Use standard Energy Unit for SPR Dram RAPL domaintools/power/x86/turbostat/turbostat.c+0 -10 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchWang WendyKan Liang
1/3T-b
2/3T-b R-b
3/3T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] driver/tool fix for SPR Dram RAPL Domain

Intel Xeon servers used to use a fixed energy resolution (15.3uj) for Dram RAPL domain, starting from HasWell-X.

But on SPR, this changes.
The Dram RAPL domain uses 61uj energy resolution, which follows the standard energy resolution as described in MSR_RAPL_POWER_UNIT.

There are a couple of places that have implemented the energy unit quirk for SPR Dram RAPL domain, including intel-rapl driver, rapl perf pmu and the turbostat tool.

This patch series fixes them all, although they belong to different components.

thanks,
rui