summaryrefslogtreecommitdiff
path: root/drivers/powercap
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@amd.com>2020-10-27 10:23:57 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-11-10 21:59:07 +0300
commit8a9d881f22d7a0e06a46a326d0880fb45a06d3b5 (patch)
tree6e49611607d76e161cc4f9a9ed4b3d970aa83e54 /drivers/powercap
parent43756a298928c9a4e8201baaeb205c0c103728af (diff)
downloadlinux-8a9d881f22d7a0e06a46a326d0880fb45a06d3b5.tar.xz
powercap: RAPL: Add AMD Fam19h RAPL support
AMD Family 19h's RAPL MSRs are identical to Family 17h's. Extend Family 17h's support to Family 19h. Signed-off-by: Kim Phillips <kim.phillips@amd.com> Signed-off-by: Victor Ding <victording@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/powercap')
-rw-r--r--drivers/powercap/intel_rapl_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index 1ecd09424445..c9e57237d778 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -1067,6 +1067,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(XEON_PHI_KNM, &rapl_defaults_hsw_server),
X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_amd),
+ X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_amd),
{}
};
MODULE_DEVICE_TABLE(x86cpu, rapl_ids);