public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jiang Yihe <jiangyihe042@gmail.com>
To: unlisted-recipients:; (no To-header on input)
Cc: Jiang Yihe <jiangyihe042@gmail.com>, linux-kernel@vger.kernel.org
Subject: [PATCH] intel_idle: add Cometlake support
Date: Wed, 29 Nov 2023 22:14:07 +0800	[thread overview]
Message-ID: <20231129141408.21739-1-jiangyihe042@gmail.com> (raw)

Since the Cometlake C-State is supported, support for Cometlake should
be added to intel_idle. Just use Kabylake C-State table for Cometlake
because they share the same table in intel_cstate.

Signed-off-by: Jiang Yihe <jiangyihe042@gmail.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 dcda0afec..f83f78037 100644
--- a/drivers/idle/intel_idle.c
+++ b/drivers/idle/intel_idle.c
@@ -1418,6 +1418,8 @@ static const struct x86_cpu_id intel_idle_ids[] __initconst = {
 	X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE,		&idle_cpu_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE_L,		&idle_cpu_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE,		&idle_cpu_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE_L,		&idle_cpu_skl),
+	X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE,		&idle_cpu_skl),
 	X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X,		&idle_cpu_skx),
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X,		&idle_cpu_icx),
 	X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D,		&idle_cpu_icx),
-- 
2.43.0


             reply	other threads:[~2023-11-29 14:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-29 14:14 Jiang Yihe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-29 14:31 [PATCH] intel_idle: add Cometlake support Jiang Yihe
2023-11-29 15:19 ` Rafael J. Wysocki
2023-11-29 15:45   ` Doug Smythies
2023-11-30  8:24     ` Artem Bityutskiy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231129141408.21739-1-jiangyihe042@gmail.com \
    --to=jiangyihe042@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox