linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] powercap/intel_rapl: Add support for AMD family 1Ah
@ 2024-07-19 10:12 Dhananjay Ugwekar
  2024-07-29  6:06 ` Gautham R.Shenoy
  0 siblings, 1 reply; 3+ messages in thread
From: Dhananjay Ugwekar @ 2024-07-19 10:12 UTC (permalink / raw)
  To: rafael; +Cc: linux-pm, linux-kernel, gautham.shenoy, Dhananjay Ugwekar

AMD Family 1Ah's RAPL MSRs are identical to Family 19h's,
extend Family 19h's support to Family 1Ah.

Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
---
 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 2f24ca764408..1622f1d6aed0 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -1285,6 +1285,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
 
 	X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_amd),
 	X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_amd),
+	X86_MATCH_VENDOR_FAM(AMD, 0x1A, &rapl_defaults_amd),
 	X86_MATCH_VENDOR_FAM(HYGON, 0x18, &rapl_defaults_amd),
 	{}
 };
-- 
2.34.1


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

* Re: [PATCH] powercap/intel_rapl: Add support for AMD family 1Ah
  2024-07-19 10:12 [PATCH] powercap/intel_rapl: Add support for AMD family 1Ah Dhananjay Ugwekar
@ 2024-07-29  6:06 ` Gautham R.Shenoy
  2024-08-21  5:15   ` Gautham R. Shenoy
  0 siblings, 1 reply; 3+ messages in thread
From: Gautham R.Shenoy @ 2024-07-29  6:06 UTC (permalink / raw)
  To: Dhananjay Ugwekar, rafael; +Cc: linux-pm, linux-kernel, Dhananjay Ugwekar

Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> writes:

> AMD Family 1Ah's RAPL MSRs are identical to Family 19h's,
> extend Family 19h's support to Family 1Ah.
>
> Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>

Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>

> ---
>  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 2f24ca764408..1622f1d6aed0 100644
> --- a/drivers/powercap/intel_rapl_common.c
> +++ b/drivers/powercap/intel_rapl_common.c
> @@ -1285,6 +1285,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
>  
>  	X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_amd),
>  	X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_amd),
> +	X86_MATCH_VENDOR_FAM(AMD, 0x1A, &rapl_defaults_amd),
>  	X86_MATCH_VENDOR_FAM(HYGON, 0x18, &rapl_defaults_amd),
>  	{}
>  };
> -- 
> 2.34.1

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

* Re: [PATCH] powercap/intel_rapl: Add support for AMD family 1Ah
  2024-07-29  6:06 ` Gautham R.Shenoy
@ 2024-08-21  5:15   ` Gautham R. Shenoy
  0 siblings, 0 replies; 3+ messages in thread
From: Gautham R. Shenoy @ 2024-08-21  5:15 UTC (permalink / raw)
  To: Dhananjay Ugwekar, rafael; +Cc: linux-pm, linux-kernel

Hello Rafael,

On Mon, Jul 29, 2024 at 11:36:15AM +0530, Gautham R.Shenoy wrote:
> Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com> writes:
> 
> > AMD Family 1Ah's RAPL MSRs are identical to Family 19h's,
> > extend Family 19h's support to Family 1Ah.
> >
> > Signed-off-by: Dhananjay Ugwekar <Dhananjay.Ugwekar@amd.com>
> 
> Reviewed-by: Gautham R. Shenoy <gautham.shenoy@amd.com>

Could you please consider this for 6.11 ?

--
Thanks and Regards
gautham.


> 
> > ---
> >  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 2f24ca764408..1622f1d6aed0 100644
> > --- a/drivers/powercap/intel_rapl_common.c
> > +++ b/drivers/powercap/intel_rapl_common.c
> > @@ -1285,6 +1285,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
> >  
> >  	X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_amd),
> >  	X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_amd),
> > +	X86_MATCH_VENDOR_FAM(AMD, 0x1A, &rapl_defaults_amd),
> >  	X86_MATCH_VENDOR_FAM(HYGON, 0x18, &rapl_defaults_amd),
> >  	{}
> >  };
> > -- 
> > 2.34.1

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

end of thread, other threads:[~2024-08-21  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-19 10:12 [PATCH] powercap/intel_rapl: Add support for AMD family 1Ah Dhananjay Ugwekar
2024-07-29  6:06 ` Gautham R.Shenoy
2024-08-21  5:15   ` Gautham R. Shenoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).