The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] platform/x86: ISST: Add Grand Ridge to HPM CPU list
@ 2024-04-22 21:22 Srinivas Pandruvada
  2024-04-29 10:49 ` Hans de Goede
  0 siblings, 1 reply; 3+ messages in thread
From: Srinivas Pandruvada @ 2024-04-22 21:22 UTC (permalink / raw)
  To: hdegoede, markgross, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel, Srinivas Pandruvada

Add Grand Ridge (ATOM_CRESTMONT) to hpm_cpu_ids, so that MSR 0x54 can be
used.

Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
---
 drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
index 30951f7131cd..1accdaaf282c 100644
--- a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
+++ b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
@@ -721,6 +721,7 @@ static struct miscdevice isst_if_char_driver = {
 static const struct x86_cpu_id hpm_cpu_ids[] = {
 	X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_D,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_X,	NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT_X,	NULL),
 	{}
 };
-- 
2.40.1


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

* Re: [PATCH] platform/x86: ISST: Add Grand Ridge to HPM CPU list
  2024-04-22 21:22 [PATCH] platform/x86: ISST: Add Grand Ridge to HPM CPU list Srinivas Pandruvada
@ 2024-04-29 10:49 ` Hans de Goede
  2024-04-29 11:27   ` Ilpo Järvinen
  0 siblings, 1 reply; 3+ messages in thread
From: Hans de Goede @ 2024-04-29 10:49 UTC (permalink / raw)
  To: Srinivas Pandruvada, markgross, ilpo.jarvinen
  Cc: platform-driver-x86, linux-kernel

Hi,

On 4/22/24 11:22 PM, Srinivas Pandruvada wrote:
> Add Grand Ridge (ATOM_CRESTMONT) to hpm_cpu_ids, so that MSR 0x54 can be
> used.
> 
> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>

This looks like it needs to be applied on top of the fixes branch, or else
after 6.10-rc1 is out.

Ilpo, what do you think ?

Regards,

Hans

> ---
>  drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
> index 30951f7131cd..1accdaaf282c 100644
> --- a/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
> +++ b/drivers/platform/x86/intel/speed_select_if/isst_if_common.c
> @@ -721,6 +721,7 @@ static struct miscdevice isst_if_char_driver = {
>  static const struct x86_cpu_id hpm_cpu_ids[] = {
>  	X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_D,	NULL),
>  	X86_MATCH_INTEL_FAM6_MODEL(GRANITERAPIDS_X,	NULL),
> +	X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT,	NULL),
>  	X86_MATCH_INTEL_FAM6_MODEL(ATOM_CRESTMONT_X,	NULL),
>  	{}
>  };


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

* Re: [PATCH] platform/x86: ISST: Add Grand Ridge to HPM CPU list
  2024-04-29 10:49 ` Hans de Goede
@ 2024-04-29 11:27   ` Ilpo Järvinen
  0 siblings, 0 replies; 3+ messages in thread
From: Ilpo Järvinen @ 2024-04-29 11:27 UTC (permalink / raw)
  To: Hans de Goede; +Cc: Srinivas Pandruvada, markgross, platform-driver-x86, LKML

On Mon, 29 Apr 2024, Hans de Goede wrote:
> On 4/22/24 11:22 PM, Srinivas Pandruvada wrote:
> > Add Grand Ridge (ATOM_CRESTMONT) to hpm_cpu_ids, so that MSR 0x54 can be
> > used.
> > 
> > Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> 
> This looks like it needs to be applied on top of the fixes branch, or else
> after 6.10-rc1 is out.
> 
> Ilpo, what do you think ?

I've now taken this into fixes branch.

-- 
 i.


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

end of thread, other threads:[~2024-04-29 11:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-04-22 21:22 [PATCH] platform/x86: ISST: Add Grand Ridge to HPM CPU list Srinivas Pandruvada
2024-04-29 10:49 ` Hans de Goede
2024-04-29 11:27   ` Ilpo Järvinen

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