]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tools/power turbostat: Add fixed RAPL PSYS divisor for SPR
authorPatryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Thu, 5 Dec 2024 18:26:14 +0000 (19:26 +0100)
committerLen Brown <len.brown@intel.com>
Mon, 27 Jan 2025 17:34:40 +0000 (11:34 -0600)
commitdebe797c1e972ebe434c90f3fa7f54d9cf7ab251
tree40b19986a59cc8b2aa2046e23ca03f4edcf899ed
parent2f60f03934a50bc1fb69bb4f47a25cddd6807b0b
tools/power turbostat: Add fixed RAPL PSYS divisor for SPR

Intel Sapphire Rapids is an exception and has fixed divisor for RAPL PSYS
counter set to 1.0. Add a platform bit and enable it for SPR.

Reported-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Patryk Wlazlyn <patryk.wlazlyn@linux.intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c