lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20250304051618.79198-1-zide.chen@intel.com>
Date: Mon,  3 Mar 2025 21:16:18 -0800
From: Zide Chen <zide.chen@...el.com>
To: linux-kernel@...r.kernel.org
Cc: peterz@...radead.org,
	artem.bityutskiy@...ux.intel.com,
	rui.zhang@...el.com,
	Zhenyu Wang <zhenyuw.linux@...il.com>,
	Kan Liang <kan.liang@...ux.intel.com>,
	Zide Chen <zide.chen@...el.com>
Subject: [PATCH] perf/x86/intel/cstate: Add Clearwater Forest support

From: Zhenyu Wang <zhenyuw.linux@...il.com>

Clearwater Forest is based on Darkmont Atom microarchitecture.  From
the C-states residency profiling's perspetive, it supports the same
residency counters as Sierra Forrest: CC1/CC6, PC2/PC6 and MC6.

Cc: Artem Bityutskiy <artem.bityutskiy@...ux.intel.com>
Cc: Kan Liang <kan.liang@...ux.intel.com>
Reviewed-by: Kan Liang <kan.liang@...ux.intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw.linux@...il.com>
Signed-off-by: Zide Chen <zide.chen@...el.com>
---
 arch/x86/events/intel/cstate.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/x86/events/intel/cstate.c b/arch/x86/events/intel/cstate.c
index ae4ec16156bb..028557210e23 100644
--- a/arch/x86/events/intel/cstate.c
+++ b/arch/x86/events/intel/cstate.c
@@ -627,6 +627,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
 	X86_MATCH_VFM(INTEL_ATOM_GRACEMONT,	&adl_cstates),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT_X,	&srf_cstates),
 	X86_MATCH_VFM(INTEL_ATOM_CRESTMONT,	&grr_cstates),
+	X86_MATCH_VFM(INTEL_ATOM_DARKMONT_X,	&srf_cstates),
 
 	X86_MATCH_VFM(INTEL_ICELAKE_L,		&icl_cstates),
 	X86_MATCH_VFM(INTEL_ICELAKE,		&icl_cstates),
-- 
2.34.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ