Skip to contentSkip to conversation

Diamond Rapids support

PATCH In review Srinivas Pandruvada 2 participants 4 messages Oct 3, 2024 – Oct 6, 2024

Subsystems (2)
lore
Share & tools
lore

Srinivas Pandruvada

author maintainer
#0 lore raw

cover Diamond Rapids support

Add CPU model of Diamond Rapids for SST and TPMI power domain mapping.

Srinivas Pandruvada (2):
platform/x86: ISST: Add Diamond Rapids to support list platform/x86/intel: power-domains: Add Diamond Rapids support

 drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 1 +
 drivers/platform/x86/intel/tpmi_power_domains.c             | 1 +
 2 files changed, 2 insertions(+)
Signature · 1 line
2.46.1
author maintainer
#1 lore raw

PATCH 1/2 platform/x86: ISST: Add Diamond Rapids to support list

Add Diamond Rapids (INTEL_PANTHERCOVE_X) to SST support list by adding to isst_cpu_ids.

---
 drivers/platform/x86/intel/speed_select_if/isst_if_common.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/intel/speed_select_if/isst_if_common.c +1 -0
index 9ad35fefea47..2a95bd8cf4f4 100644
@@ -807,6 +807,7 @@ static const struct x86_cpu_id isst_cpu_ids[] = {
 	X86_MATCH_VFM(INTEL_GRANITERAPIDS_X,	SST_HPM_SUPPORTED),
 	X86_MATCH_VFM(INTEL_ICELAKE_D,		0),
 	X86_MATCH_VFM(INTEL_ICELAKE_X,		0),
+	X86_MATCH_VFM(INTEL_PANTHERCOVE_X,	SST_HPM_SUPPORTED),
 	X86_MATCH_VFM(INTEL_SAPPHIRERAPIDS_X,	0),
 	X86_MATCH_VFM(INTEL_SKYLAKE_X,		SST_MBOX_SUPPORTED),
 	{}
Signature · 1 line
2.46.1
author maintainer
#2 lore raw

PATCH 2/2 platform/x86/intel: power-domains: Add Diamond Rapids support

In reply to Srinivas Pandruvada

Add Diamond Rapids (INTEL_PANTHERCOVE_X) to tpmi_cpu_ids to support domaid id mappings.

---
 drivers/platform/x86/intel/tpmi_power_domains.c | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/intel/tpmi_power_domains.c +1 -0
index 4eb02553957c..0609a8320f7e 100644
@@ -82,6 +82,7 @@ static const struct x86_cpu_id tpmi_cpu_ids[] = {
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT_X,	NULL),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT,	NULL),
 	X86_MATCH_VFM(INTEL_GRANITERAPIDS_D,	NULL),
+	X86_MATCH_VFM(INTEL_PANTHERCOVE_X,	NULL),
 	{}
 };
 MODULE_DEVICE_TABLE(x86cpu, tpmi_cpu_ids);
Signature · 1 line
2.46.1
#3 lore raw
In reply to Srinivas Pandruvada

Hi,

Quoted 6 lines · Srinivas Pandruvada

Add CPU model of Diamond Rapids for SST and TPMI power domain mapping.

Srinivas Pandruvada (2):
platform/x86: ISST: Add Diamond Rapids to support list platform/x86/intel: power-domains: Add Diamond Rapids support

Thank you for your patch/series, I've applied this patch (series) 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 the pdx86 review-hans branch once I've pushed my local branch there, which might take a while.

I will include this patch in my next fixes pull-req to Linus for the current kernel development cycle.

Regards,

Hans