]> 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)
commitcad5fba072579842b6951c3a97ccc1ea092a7df7
treeca5d1ec61a7e5a57bf4019bec10d394879771032
parent052c94b9c5354c459c6418cec6d1862f8810f6b8
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