]> git.baikalelectronics.ru Git - kernel.git/commit
perf/x86/rapl: Add support for Intel SPR platform
authorZhang Rui <rui.zhang@intel.com>
Tue, 11 Aug 2020 15:31:49 +0000 (23:31 +0800)
committerIngo Molnar <mingo@kernel.org>
Fri, 14 Aug 2020 10:35:12 +0000 (12:35 +0200)
commit02d6cf7f09f9a3e830af911623081c34ddb2edad
tree949e7bae35d62ee8a200c9a5cb7873b71cc9bf45
parent9522b4ddadd934253a8b8d1098bb9d5677d6bb31
perf/x86/rapl: Add support for Intel SPR platform

Intel SPR platform uses fixed 16 bit energy unit for DRAM RAPL domain,
and fixed 0 bit energy unit for Psys RAPL domain.
After this, on SPR platform the energy counters appear in perf list.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Kan Liang <kan.liang@linux.intel.com>
Acked-by: Len Brown <len.brown@intel.com>
Link: https://lore.kernel.org/r/20200811153149.12242-4-rui.zhang@intel.com
arch/x86/events/rapl.c