Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tools/power turbostat: Add support for Hygon Fam 18h (Dhyana) RAPL
Commit 9392bd9 ("tools/power turbostat: Add support for AMD Fam 17h (Zen) RAPL") and the commit 3316f99 ("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 <[email protected]> Reviewed-by: Calvin Walton <[email protected]> Signed-off-by: Len Brown <[email protected]>
- Loading branch information