intel_idle: add Clearwater Forest SoC support
Artem Bityutskiy
maintainerPATCH 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
@@ -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
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).
Signed-off-by Artem Bityutskiy <[email protected]>--- drivers/idle/intel_idle.c | 1 + 1 file changed, 1 insertion(+)Note: the patch is against the 'linux-pm' gree.
base-commit:e70140ba0d2b1a30467d4af6bcfe761327b9ec95drivers/idle/intel_idle.c +0
-0
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!