Message ID | 20210518161842.1.Ifec9c629767197bbd80312ebea93ec8bbfafbf06@changeid |
---|---|
State | New |
Headers | show |
Series | powercap/intel_rapl: Add AMD Fam19h RAPL support | expand |
On 5/18/21 5:18 PM, Raul E Rangel wrote: > 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@chromium.org> > --- ? This change is already upstream: commit 8a9d881f22d7a0e06a46a326d0880fb45a06d3b5 Author: Kim Phillips <kim.phillips@amd.com> Date: Tue Oct 27 07:23:57 2020 +0000 powercap: RAPL: Add AMD Fam19h RAPL support Thanks, Kim
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);
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@chromium.org> --- drivers/powercap/intel_rapl_common.c | 1 + 1 file changed, 1 insertion(+)