• Kim Phillips's avatar
    tools/power turbostat: Support AMD Family 19h · 33eb8225
    Kim Phillips authored
    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: default avatarKim 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: default avatarLen Brown <len.brown@intel.com>
    33eb8225
turbostat.c 158 KB