mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] powercap/intel_rapl: Add AMD Fam19h RAPL support
@ 2021-05-18 22:18 Raul E Rangel
  2021-05-18 22:28 ` Kim Phillips
  0 siblings, 1 reply; 3+ messages in thread
From: Raul E Rangel @ 2021-05-18 22:18 UTC (permalink / raw)
  To: linux-pm
  Cc: kim.phillips, peterz, Raul E Rangel, Rafael J. Wysocki, linux-kernel

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(+)

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] powercap/intel_rapl: Add AMD Fam19h RAPL support
  2021-05-18 22:18 [PATCH] powercap/intel_rapl: Add AMD Fam19h RAPL support Raul E Rangel
@ 2021-05-18 22:28 ` Kim Phillips
  2021-05-18 22:39   ` Raul Rangel
  0 siblings, 1 reply; 3+ messages in thread
From: Kim Phillips @ 2021-05-18 22:28 UTC (permalink / raw)
  To: Raul E Rangel, linux-pm
  Cc: peterz, Rafael J. Wysocki, linux-kernel, Victor Ding

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] powercap/intel_rapl: Add AMD Fam19h RAPL support
  2021-05-18 22:28 ` Kim Phillips
@ 2021-05-18 22:39   ` Raul Rangel
  0 siblings, 0 replies; 3+ messages in thread
From: Raul Rangel @ 2021-05-18 22:39 UTC (permalink / raw)
  To: Kim Phillips
  Cc: linux-pm, Peter Zijlstra, Rafael J. Wysocki, linux-kernel, Victor Ding

Ah I should have tried rebasing on ToT.

Thanks!

On Tue, May 18, 2021 at 4:28 PM Kim Phillips <kim.phillips@amd.com> wrote:
>
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-18 22:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18 22:18 [PATCH] powercap/intel_rapl: Add AMD Fam19h RAPL support Raul E Rangel
2021-05-18 22:28 ` Kim Phillips
2021-05-18 22:39   ` Raul Rangel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®