Skip to content

Commit 568e639

Browse files
aeglij-intel
authored andcommitted
platform/x86: intel-uncore-freq: Switch to new Intel CPU model defines
New CPU #defines encode vendor and family as well as model. Signed-off-by: Tony Luck <tony.luck@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Link: https://lore.kernel.org/r/20240531203706.233365-8-tony.luck@intel.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 12929ac commit 568e639

File tree

1 file changed

+28
-28
lines changed

1 file changed

+28
-28
lines changed

drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -197,34 +197,34 @@ static struct notifier_block uncore_pm_nb = {
197197
};
198198

199199
static const struct x86_cpu_id intel_uncore_cpu_ids[] = {
200-
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_G, NULL),
201-
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, NULL),
202-
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_D, NULL),
203-
X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE_X, NULL),
204-
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, NULL),
205-
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, NULL),
206-
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, NULL),
207-
X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, NULL),
208-
X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE, NULL),
209-
X86_MATCH_INTEL_FAM6_MODEL(KABYLAKE_L, NULL),
210-
X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE, NULL),
211-
X86_MATCH_INTEL_FAM6_MODEL(COMETLAKE_L, NULL),
212-
X86_MATCH_INTEL_FAM6_MODEL(CANNONLAKE_L, NULL),
213-
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE, NULL),
214-
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_L, NULL),
215-
X86_MATCH_INTEL_FAM6_MODEL(ROCKETLAKE, NULL),
216-
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE, NULL),
217-
X86_MATCH_INTEL_FAM6_MODEL(TIGERLAKE_L, NULL),
218-
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, NULL),
219-
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, NULL),
220-
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, NULL),
221-
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_P, NULL),
222-
X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE_S, NULL),
223-
X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE, NULL),
224-
X86_MATCH_INTEL_FAM6_MODEL(METEORLAKE_L, NULL),
225-
X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE, NULL),
226-
X86_MATCH_INTEL_FAM6_MODEL(ARROWLAKE_H, NULL),
227-
X86_MATCH_INTEL_FAM6_MODEL(LUNARLAKE_M, NULL),
200+
X86_MATCH_VFM(INTEL_BROADWELL_G, NULL),
201+
X86_MATCH_VFM(INTEL_BROADWELL_X, NULL),
202+
X86_MATCH_VFM(INTEL_BROADWELL_D, NULL),
203+
X86_MATCH_VFM(INTEL_SKYLAKE_X, NULL),
204+
X86_MATCH_VFM(INTEL_ICELAKE_X, NULL),
205+
X86_MATCH_VFM(INTEL_ICELAKE_D, NULL),
206+
X86_MATCH_VFM(INTEL_SAPPHIRERAPIDS_X, NULL),
207+
X86_MATCH_VFM(INTEL_EMERALDRAPIDS_X, NULL),
208+
X86_MATCH_VFM(INTEL_KABYLAKE, NULL),
209+
X86_MATCH_VFM(INTEL_KABYLAKE_L, NULL),
210+
X86_MATCH_VFM(INTEL_COMETLAKE, NULL),
211+
X86_MATCH_VFM(INTEL_COMETLAKE_L, NULL),
212+
X86_MATCH_VFM(INTEL_CANNONLAKE_L, NULL),
213+
X86_MATCH_VFM(INTEL_ICELAKE, NULL),
214+
X86_MATCH_VFM(INTEL_ICELAKE_L, NULL),
215+
X86_MATCH_VFM(INTEL_ROCKETLAKE, NULL),
216+
X86_MATCH_VFM(INTEL_TIGERLAKE, NULL),
217+
X86_MATCH_VFM(INTEL_TIGERLAKE_L, NULL),
218+
X86_MATCH_VFM(INTEL_ALDERLAKE, NULL),
219+
X86_MATCH_VFM(INTEL_ALDERLAKE_L, NULL),
220+
X86_MATCH_VFM(INTEL_RAPTORLAKE, NULL),
221+
X86_MATCH_VFM(INTEL_RAPTORLAKE_P, NULL),
222+
X86_MATCH_VFM(INTEL_RAPTORLAKE_S, NULL),
223+
X86_MATCH_VFM(INTEL_METEORLAKE, NULL),
224+
X86_MATCH_VFM(INTEL_METEORLAKE_L, NULL),
225+
X86_MATCH_VFM(INTEL_ARROWLAKE, NULL),
226+
X86_MATCH_VFM(INTEL_ARROWLAKE_H, NULL),
227+
X86_MATCH_VFM(INTEL_LUNARLAKE_M, NULL),
228228
{}
229229
};
230230
MODULE_DEVICE_TABLE(x86cpu, intel_uncore_cpu_ids);

0 commit comments

Comments
 (0)