]> git.baikalelectronics.ru Git - kernel.git/commit
tools/power turbostat: Support AMD Family 19h
authorKim Phillips <kim.phillips@amd.com>
Mon, 17 Aug 2020 22:42:15 +0000 (17:42 -0500)
committerLen Brown <len.brown@intel.com>
Thu, 3 Sep 2020 17:59:10 +0000 (13:59 -0400)
commit6198b4f1e95d995e4781008e6214b619d1e705de
treeca5d1ec61a7e5a57bf4019bec10d394879771032
parentbc83800847b6203e7d1ba55835ab64999f5b6438
tools/power turbostat: Support AMD Family 19h

Family 19h processors have the same RAPL (Running average power limit)
hardware register interface as Family 17h processors.

Change the family checks to succeed for Family 17h and above to enable
core and package energy measurement on Family 19h machines.

Also update the TDP to the largest found at the bottom of the page at
amd.com->processors->servers->epyc->2nd-gen-epyc, i.e., the EPYC 7H12.

Signed-off-by: Kim Phillips <kim.phillips@amd.com>
Cc: Len Brown <len.brown@intel.com>
Cc: Len Brown <lenb@kernel.org>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Len Brown <len.brown@intel.com>
tools/power/x86/turbostat/turbostat.c