Skip to contentSkip to conversation

platform/x86: intel-uncore-freq: Add client processors

PATCH In review Srinivas Pandruvada 2 participants 4 messages Mar 30, 2023 – Apr 7, 2023

Subsystems (2)
lore
Share & tools
lore

Srinivas Pandruvada

author maintainer
#0 lore raw

PATCH 1/1 platform/x86: intel-uncore-freq: Add client processors

Make Intel uncore frequency driver support to client processor starting from Alder Lake.

---
 .../platform/x86/intel/uncore-frequency/uncore-frequency.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c +7 -0
index 00ac7e381441..32e2515ee366 100644
@@ -204,6 +204,13 @@ static const struct x86_cpu_id intel_uncore_cpu_ids[] = {
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, NULL),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);
Signature · 1 line
2.39.1
#1 lore raw

Hi Srinivas,

Quoted 4 lines · Srinivas Pandruvada

Make Intel uncore frequency driver support to client processor starting from Alder Lake.

I assume that this is independent from the
"[PATCH] platform/x86/intel-uncore-freq: Uncore frequency control via TPMI" changes ?

(just double checking before I merge this).

Regards,

Hans

Quoted 22 lines
---
 .../platform/x86/intel/uncore-frequency/uncore-frequency.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c +7 -0
index 00ac7e381441..32e2515ee366 100644
@@ -204,6 +204,13 @@ static const struct x86_cpu_id intel_uncore_cpu_ids[] = {
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, NULL),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);
author maintainer
#2 lore raw

Hi Hans,

Quoted 7 lines · Hans de Goede

Hi Srinivas,

Quoted 4 lines · Srinivas Pandruvada

Make Intel uncore frequency driver support to client processor starting
from Alder Lake.

Quoted 8 lines
Quoted 2 lines

Signed-off-by: Srinivas Pandruvada
<[email protected]>

I assume that this is independent from the
"[PATCH] platform/x86/intel-uncore-freq: Uncore frequency control via TPMI"
changes ?

Yes this is independent and there is no TPMI dependency.

Thanks,
Srinivas

Quoted 37 lines

(just double checking before I merge this).

Regards,

Hans

Quoted 28 lines

---
 .../platform/x86/intel/uncore-frequency/uncore-frequency.c | 7
+++++++

 1 file changed, 7 insertions(+)
(quoted diff) +0 -0

frequency.c b/drivers/platform/x86/intel/uncore-frequency/uncore- frequency.c
index 00ac7e381441..32e2515ee366 100644
--- a/drivers/platform/x86/intel/uncore-frequency/uncore- frequency.c
+++ b/drivers/platform/x86/intel/uncore-frequency/uncore- frequency.c

drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c +7 -0
@@ -204,6 +204,13 @@ static const struct x86_cpu_id
 intel_uncore_cpu_ids[] = {
         X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,   NULL),
         X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
         X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, NULL),
+       X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, NULL),
         {}
  };

 MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);

#3 lore raw
In reply to Srinivas Pandruvada

Hi,

Quoted 4 lines · Srinivas Pandruvada

Make Intel uncore frequency driver support to client processor starting from Alder Lake.

Thank you for your patch, I've applied this patch to my review-hans branch:
https://git.kernel.org/pub/scm/linux/kernel/git/pdx86/platform-drivers-x86.git/log/?h=review-hans

Note it will show up in my review-hans branch once I've pushed my local branch there, which might take a while.

Once I've run some tests on this branch the patches there will be added to the platform-drivers-x86/for-next branch and eventually will be included in the pdx86 pull-request to Linus for the next merge-window.

Regards,

Hans

Quoted 22 lines
---
 .../platform/x86/intel/uncore-frequency/uncore-frequency.c | 7 +++++++
 1 file changed, 7 insertions(+)
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c +7 -0
index 00ac7e381441..32e2515ee366 100644
@@ -204,6 +204,13 @@ static const struct x86_cpu_id intel_uncore_cpu_ids[] = {
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,	NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
 	X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, NULL),
+	X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, NULL),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);