From 9eb2f214e176e8ab9fc7e9ad3e8ea05b2ddd0022 Mon Sep 17 00:00:00 2001 From: Artem Bityutskiy Date: Tue, 22 Jul 2025 09:58:39 +0200 Subject: [PATCH] x86/mwait-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). Signed-off-by: Artem Bityutskiy Link: https://patch.msgid.link/20241203130306.1559024-1-artem.bityutskiy@linux.intel.com Signed-off-by: Rafael J. Wysocki Origin: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git eeed4bfbe9b9 Signed-off-by: Jan Beulich Acked-by: Andrew Cooper master commit: 5c5bb8dab7e89676f6e6db3314646daf34b39b9f master date: 2025-07-09 11:02:35 +0200 --- xen/arch/x86/cpu/mwait-idle.c | 1 + 1 file changed, 1 insertion(+) diff --git a/xen/arch/x86/cpu/mwait-idle.c b/xen/arch/x86/cpu/mwait-idle.c index a48afd7074..87da03ae7f 100644 --- a/xen/arch/x86/cpu/mwait-idle.c +++ b/xen/arch/x86/cpu/mwait-idle.c @@ -1372,6 +1372,7 @@ static const struct x86_cpu_id intel_idle_ids[] __initconstrel = { ICPU(ATOM_TREMONT_D, snr), ICPU(ATOM_CRESTMONT, grr), ICPU(ATOM_CRESTMONT_X, srf), + ICPU(ATOM_DARKMONT_X, srf), {} };