]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
perf/x86/cstate: Add Airmont NP
authorMartin Schiller <ms@dev.tdt.de>
Mon, 24 Nov 2025 07:48:46 +0000 (08:48 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 17 Dec 2025 12:31:09 +0000 (13:31 +0100)
From the perspective of Intel cstate residency counters, the Airmont NP
(aka Lightning Mountain) is identical to the Airmont.

Signed-off-by: Martin Schiller <ms@dev.tdt.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://patch.msgid.link/20251124074846.9653-4-ms@dev.tdt.de
arch/x86/events/intel/cstate.c

index 1e2658b60d9140248b8edf90bbbd8492907d47d9..f3d5ee07f8f2c351a088e6c7bf49db7cf9de86fa 100644 (file)
@@ -613,6 +613,7 @@ static const struct x86_cpu_id intel_cstates_match[] __initconst = {
        X86_MATCH_VFM(INTEL_ATOM_SILVERMONT,    &slm_cstates),
        X86_MATCH_VFM(INTEL_ATOM_SILVERMONT_D,  &slm_cstates),
        X86_MATCH_VFM(INTEL_ATOM_AIRMONT,       &slm_cstates),
+       X86_MATCH_VFM(INTEL_ATOM_AIRMONT_NP,    &slm_cstates),
 
        X86_MATCH_VFM(INTEL_BROADWELL,          &snb_cstates),
        X86_MATCH_VFM(INTEL_BROADWELL_D,        &snb_cstates),