Linux Power Management development
 help / color / mirror / Atom feed
* [PATCH] intel_idle: Add Jasper Lake and Elkhart Lake support
@ 2024-07-26  6:26 Kai-Heng Feng
  2024-07-26  6:51 ` Zhang, Rui
  0 siblings, 1 reply; 9+ messages in thread
From: Kai-Heng Feng @ 2024-07-26  6:26 UTC (permalink / raw)
  To: jacob.jun.pan, lenb
  Cc: artem.bityutskiy, linux-pm, linux-kernel, Kai-Heng Feng

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@canonical.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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-08-01 10:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-26  6:26 [PATCH] intel_idle: Add Jasper Lake and Elkhart Lake support Kai-Heng Feng
2024-07-26  6:51 ` Zhang, Rui
2024-07-26  6:54   ` Zhang, Rui
2024-07-29  4:07   ` Kai-Heng Feng
2024-07-30 13:59     ` Rafael J. Wysocki
2024-07-31  6:17       ` Kai-Heng Feng
2024-07-31 16:28         ` Len Brown
2024-08-01  6:54           ` Kai-Heng Feng
2024-08-01 10:20             ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox