[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240726062601.674078-1-kai.heng.feng@canonical.com>
Date: Fri, 26 Jul 2024 14:26:01 +0800
From: Kai-Heng Feng <kai.heng.feng@...onical.com>
To: jacob.jun.pan@...ux.intel.com,
lenb@...nel.org
Cc: artem.bityutskiy@...ux.intel.com,
linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org,
Kai-Heng Feng <kai.heng.feng@...onical.com>
Subject: [PATCH] intel_idle: Add Jasper Lake and Elkhart Lake support
Without proper C-state support, the CPU can take long time to exit to C0
to handle IRQ and perform DMA.
The data collect via wult shows the latency is similar to Broxton, so
use the existing table to support C-state on JSL and EHL.
Link: https://bugzilla.kernel.org/show_bug.cgi?id=219023
Signed-off-by: Kai-Heng Feng <kai.heng.feng@...onical.com>
---
drivers/idle/intel_idle.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/idle/intel_idle.c b/drivers/idle/intel_idle.c
index 9aab7abc2ae9..eb6975a1d083 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -1538,6 +1538,8 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
X86_MATCH_VFM(INTEL_ATOM_GOLDMONT, &idle_cpu_bxt),
X86_MATCH_VFM(INTEL_ATOM_GOLDMONT_PLUS, &idle_cpu_bxt),
X86_MATCH_VFM(INTEL_ATOM_GOLDMONT_D, &idle_cpu_dnv),
+ X86_MATCH_VFM(INTEL_ATOM_TREMONT, &idle_cpu_bxt),
+ X86_MATCH_VFM(INTEL_ATOM_TREMONT_L, &idle_cpu_bxt),
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),
--
2.43.0
Powered by blists - more mailing lists