Revision c1c10cc77883932abdb7b103687ecbb01e80bef9 authored by Pu Wen on 31 August 2019, 02:20:31 UTC, committed by Len Brown on 31 August 2019, 18:48:39 UTC
Commit 9392bd98bba760be96ee ("tools/power turbostat: Add support for AMD Fam 17h (Zen) RAPL") and the commit 3316f99a9f1b68c578c5 ("tools/power turbostat: Also read package power on AMD F17h (Zen)") add AMD Fam 17h RAPL support. Hygon Family 18h(Dhyana) support RAPL in bit 14 of CPUID 0x80000007 EDX, and has MSRs RAPL_PWR_UNIT/CORE_ENERGY_STAT/PKG_ENERGY_STAT. So add Hygon Dhyana Family 18h support for RAPL. Already tested on Hygon multi-node systems and it shows correct per-core energy usage and the total package power. Signed-off-by: Pu Wen <puwen@hygon.cn> Reviewed-by: Calvin Walton <calvin.walton@kepstin.ca> Signed-off-by: Len Brown <len.brown@intel.com>
1 parent 9cfa8e0
File | Mode | Size |
---|---|---|
Makefile | -rw-r--r-- | 115 bytes |
dim.c | -rw-r--r-- | 2.1 KB |
net_dim.c | -rw-r--r-- | 6.1 KB |
rdma_dim.c | -rw-r--r-- | 2.6 KB |
Computing file changes ...