]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
platform/x86/intel/pmc: Add Bartlett Lake support to intel_pmc_core
authorLi Yifan <yifan2.li@intel.com>
Tue, 26 Aug 2025 03:45:50 +0000 (23:45 -0400)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Thu, 28 Aug 2025 15:47:12 +0000 (18:47 +0300)
Add Bartlett Lake P-core only product support to intel_pmc_core
driver. Bartlett Lake hybrid product reuses Raptor Lake model name
so it is already enabled.

Acked-by: Xi Pardee <xi.pardee@linux.intel.com>
Signed-off-by: Li Yifan <yifan2.li@intel.com>
Link: https://lore.kernel.org/r/20250826034550.2284738-1-yifan2.li@intel.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/intel/pmc/core.c

index 540cd2fb0673bfec333a39af0e57a6fb81751952..d040290e80ff5e298ade8c71eb000ce7d1434c0b 100644 (file)
@@ -1625,6 +1625,7 @@ static const struct x86_cpu_id intel_pmc_core_ids[] = {
        X86_MATCH_VFM(INTEL_RAPTORLAKE_P,       &tgl_l_pmc_dev),
        X86_MATCH_VFM(INTEL_RAPTORLAKE,         &adl_pmc_dev),
        X86_MATCH_VFM(INTEL_RAPTORLAKE_S,       &adl_pmc_dev),
+       X86_MATCH_VFM(INTEL_BARTLETTLAKE,       &adl_pmc_dev),
        X86_MATCH_VFM(INTEL_METEORLAKE_L,       &mtl_pmc_dev),
        X86_MATCH_VFM(INTEL_ARROWLAKE,          &arl_pmc_dev),
        X86_MATCH_VFM(INTEL_ARROWLAKE_H,        &arl_h_pmc_dev),