Message ID | 20241203130306.1559024-1-artem.bityutskiy@linux.intel.com |
---|---|
State | New |
Headers | show |
Series | intel_idle: add Clearwater Forest SoC support | expand |
On Tue, Dec 3, 2024 at 2:03 PM Artem Bityutskiy <artem.bityutskiy@linux.intel.com> wrote: > > 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 <artem.bityutskiy@linux.intel.com> > --- > drivers/idle/intel_idle.c | 1 + > 1 file changed, 1 insertion(+) > > Note: the patch is against the 'linux-pm' gree. > base-commit: e70140ba0d2b1a30467d4af6bcfe761327b9ec95 > > diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c > index ac4d8faa3886..23d0cd27a581 100644 > --- a/drivers/idle/intel_idle.c > +++ b/drivers/idle/intel_idle.c > @@ -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!
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c index ac4d8faa3886..23d0cd27a581 100644 --- a/drivers/idle/intel_idle.c +++ b/drivers/idle/intel_idle.c @@ -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), {} };
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 <artem.bityutskiy@linux.intel.com> --- drivers/idle/intel_idle.c | 1 + 1 file changed, 1 insertion(+) Note: the patch is against the 'linux-pm' gree. base-commit: e70140ba0d2b1a30467d4af6bcfe761327b9ec95