[PATCH] powercap/intel_rapl: Add AMD Fam19h RAPL support
From: Raul E Rangel
Date: Tue May 18 2021 - 18:19:08 EST
Commit a77259bdcb62 ("perf/x86/rapl: Add AMD Fam19h RAPL support") added
RAPL support for Fam 19h. This CL adds the missing powercap support.
Signed-off-by: Raul E Rangel <rrangel@xxxxxxxxxxxx>
---
drivers/powercap/intel_rapl_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index b9d9eadadbb0..f0799837c2dd 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -1068,6 +1068,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);
--
2.31.1.751.gd2f1c929bd-goog