Skip to contentSkip to conversation

intel_idle: add Clearwater Forest SoC support

PATCH Applied Artem Bityutskiy 2 participants 2 messages Dec 3, 2024 – Dec 10, 2024 Intel idle driver

lore
Share & tools
lore

Artem Bityutskiy

author maintainer
#0 lore raw

PATCH 1/1 intel_idle: add Clearwater Forest SoC support

Clearwater Forest (CWF) SoC has the same C-states as Sierra Forest (SRF) SoC. Add CWF support by re-using the SRF C-states table.

Note: it is expected that CWF C-states will have same or very similar characteristics as SRF C-states (latency and target residency). However, there is a possibility that the characteristics will end up being different enough when the CWF platform development is finished. In that case, a separate CWF C-states table will be created and populated with the CWF-specific characteristics (latency and target residency).

---
 drivers/idle/intel_idle.c | 1 +
 1 file changed, 1 insertion(+)

Note: the patch is against the 'linux-pm' gree.
base-commit: e70140ba0d2b1a30467d4af6bcfe761327b9ec95

drivers/idle/intel_idle.c +1 -0
index ac4d8faa3886..23d0cd27a581 100644
@@ -1651,6 +1651,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
 	X86_MATCH_VFM(INTEL_ATOM_TREMONT_D,	&idle_cpu_snr),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT,	&idle_cpu_grr),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT_X,	&idle_cpu_srf),
+	X86_MATCH_VFM(INTEL_ATOM_DARKMONT_X,	&idle_cpu_srf),
 	{}
 };
 
Signature · 1 line
2.47.0
maintainer Applied
#1 lore raw
Quoted 24 lines · Artem Bityutskiy

Clearwater Forest (CWF) SoC has the same C-states as Sierra Forest (SRF) SoC. Add CWF support by re-using the SRF C-states table.

Note: it is expected that CWF C-states will have same or very similar characteristics as SRF C-states (latency and target residency). However, there is a possibility that the characteristics will end up being different enough when the CWF platform development is finished. In that case, a separate CWF C-states table will be created and populated with the CWF-specific characteristics (latency and target residency).

---
 drivers/idle/intel_idle.c | 1 +
 1 file changed, 1 insertion(+)

Note: the patch is against the 'linux-pm' gree.
base-commit: e70140ba0d2b1a30467d4af6bcfe761327b9ec95

drivers/idle/intel_idle.c +0 -0
index ac4d8faa3886..23d0cd27a581 100644

drivers/idle/intel_idle.c static const struct x86_cpu_id intel_idle_ids[] __initconst = {

Quoted 9 lines
drivers/idle/intel_idle.c +1 -1
@@ -1651,6 +1651,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
        X86_MATCH_VFM(INTEL_ATOM_TREMONT_D,     &idle_cpu_snr),
        X86_MATCH_VFM(INTEL_ATOM_CRESTMONT,     &idle_cpu_grr),
        X86_MATCH_VFM(INTEL_ATOM_CRESTMONT_X,   &idle_cpu_srf),
+       X86_MATCH_VFM(INTEL_ATOM_DARKMONT_X,    &idle_cpu_srf),
        {}
 };
 
 
--

Applied as 6.14 material, thanks!