diff options
author | Victor Ding <victording@google.com> | 2020-10-27 08:23:56 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-11-10 19:59:07 +0100 |
commit | 43756a298928c9a4e8201baaeb205c0c103728af (patch) | |
tree | c108ae7f7dc37d9d2467b87b956ee0eba354e219 /block | |
parent | powercap/intel_rapl_msr: Convert rapl_msr_priv into pointer (diff) | |
download | linux-43756a298928c9a4e8201baaeb205c0c103728af.tar.xz linux-43756a298928c9a4e8201baaeb205c0c103728af.zip |
powercap: Add AMD Fam17h RAPL support
Enable AMD Fam17h RAPL support for the power capping framework.
The support is as per AMD Fam17h Model31h (Zen2) and model 00-ffh
(Zen1) PPR.
Tested by comparing the results of following two sysfs entries and the
values directly read from corresponding MSRs via /dev/cpu/[x]/msr:
/sys/class/powercap/intel-rapl/intel-rapl:0/energy_uj
/sys/class/powercap/intel-rapl/intel-rapl:0/intel-rapl:0:0/energy_uj
Signed-off-by: Victor Ding <victording@google.com>
Acked-by: Kim Phillips <kim.phillips@amd.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions