blob: 9abe842dbd843a2d569a10e0131c937282ed1b46 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Dave Hansen970442c2016-06-02 17:19:27 -07002#ifndef _ASM_X86_INTEL_FAMILY_H
3#define _ASM_X86_INTEL_FAMILY_H
4
5/*
6 * "Big Core" Processors (Branded as Core, Xeon, etc...)
7 *
Rajneesh Bhardwaj850eb9f2018-02-02 19:13:35 +05308 * While adding a new CPUID for a new microarchitecture, add a new
9 * group to keep logically sorted out in chronological order. Within
10 * that group keep the CPUID for the variants sorted by model number.
Tony Luck12ece2d2019-08-15 11:16:24 -070011 *
12 * The defined symbol names have the following form:
13 * INTEL_FAM6{OPTFAMILY}_{MICROARCH}{OPTDIFF}
14 * where:
15 * OPTFAMILY Describes the family of CPUs that this belongs to. Default
16 * is assumed to be "_CORE" (and should be omitted). Other values
17 * currently in use are _ATOM and _XEON_PHI
18 * MICROARCH Is the code name for the micro-architecture for this core.
19 * N.B. Not the platform name.
20 * OPTDIFF If needed, a short string to differentiate by market segment.
Peter Zijlstraa3d8c0d2019-08-27 21:48:25 +020021 *
22 * Common OPTDIFFs:
23 *
24 * - regular client parts
25 * _L - regular mobile parts
26 * _G - parts with extra graphics on
27 * _X - regular server parts
28 * _D - micro server parts
29 *
30 * Historical OPTDIFFs:
31 *
32 * _EP - 2 socket server parts
33 * _EX - 4+ socket server parts
Tony Luck12ece2d2019-08-15 11:16:24 -070034 *
35 * The #define line may optionally include a comment including platform names.
Dave Hansen970442c2016-06-02 17:19:27 -070036 */
37
Thomas Gleixner20d43742020-03-20 14:13:47 +010038/* Wildcard match for FAM6 so X86_MATCH_INTEL_FAM6_MODEL(ANY) works */
39#define INTEL_FAM6_ANY X86_MODEL_ANY
40
Dave Hansen970442c2016-06-02 17:19:27 -070041#define INTEL_FAM6_CORE_YONAH 0x0E
Andy Shevchenkoc238f232017-03-16 17:50:45 +020042
Dave Hansen970442c2016-06-02 17:19:27 -070043#define INTEL_FAM6_CORE2_MEROM 0x0F
44#define INTEL_FAM6_CORE2_MEROM_L 0x16
45#define INTEL_FAM6_CORE2_PENRYN 0x17
46#define INTEL_FAM6_CORE2_DUNNINGTON 0x1D
47
48#define INTEL_FAM6_NEHALEM 0x1E
Dave Hansen4b3b2342016-06-29 12:27:37 -070049#define INTEL_FAM6_NEHALEM_G 0x1F /* Auburndale / Havendale */
Dave Hansen970442c2016-06-02 17:19:27 -070050#define INTEL_FAM6_NEHALEM_EP 0x1A
51#define INTEL_FAM6_NEHALEM_EX 0x2E
Andy Shevchenkoc238f232017-03-16 17:50:45 +020052
Dave Hansen970442c2016-06-02 17:19:27 -070053#define INTEL_FAM6_WESTMERE 0x25
Dave Hansen970442c2016-06-02 17:19:27 -070054#define INTEL_FAM6_WESTMERE_EP 0x2C
55#define INTEL_FAM6_WESTMERE_EX 0x2F
56
57#define INTEL_FAM6_SANDYBRIDGE 0x2A
58#define INTEL_FAM6_SANDYBRIDGE_X 0x2D
59#define INTEL_FAM6_IVYBRIDGE 0x3A
60#define INTEL_FAM6_IVYBRIDGE_X 0x3E
61
Peter Zijlstrac66f78a2019-08-27 21:48:21 +020062#define INTEL_FAM6_HASWELL 0x3C
Dave Hansen970442c2016-06-02 17:19:27 -070063#define INTEL_FAM6_HASWELL_X 0x3F
Peter Zijlstraaf239c42019-08-27 21:48:22 +020064#define INTEL_FAM6_HASWELL_L 0x45
Peter Zijlstra5e741402019-08-27 21:48:23 +020065#define INTEL_FAM6_HASWELL_G 0x46
Dave Hansen970442c2016-06-02 17:19:27 -070066
Peter Zijlstrac66f78a2019-08-27 21:48:21 +020067#define INTEL_FAM6_BROADWELL 0x3D
Peter Zijlstra5e741402019-08-27 21:48:23 +020068#define INTEL_FAM6_BROADWELL_G 0x47
Dave Hansen970442c2016-06-02 17:19:27 -070069#define INTEL_FAM6_BROADWELL_X 0x4F
Peter Zijlstra5ebb34e2019-08-27 21:48:24 +020070#define INTEL_FAM6_BROADWELL_D 0x56
Dave Hansen970442c2016-06-02 17:19:27 -070071
Peter Zijlstraaf239c42019-08-27 21:48:22 +020072#define INTEL_FAM6_SKYLAKE_L 0x4E
Peter Zijlstrac66f78a2019-08-27 21:48:21 +020073#define INTEL_FAM6_SKYLAKE 0x5E
Dave Hansen970442c2016-06-02 17:19:27 -070074#define INTEL_FAM6_SKYLAKE_X 0x55
Peter Zijlstraaf239c42019-08-27 21:48:22 +020075#define INTEL_FAM6_KABYLAKE_L 0x8E
Peter Zijlstrac66f78a2019-08-27 21:48:21 +020076#define INTEL_FAM6_KABYLAKE 0x9E
Dave Hansen970442c2016-06-02 17:19:27 -070077
Peter Zijlstraaf239c42019-08-27 21:48:22 +020078#define INTEL_FAM6_CANNONLAKE_L 0x66
Rajneesh Bhardwaj850eb9f2018-02-02 19:13:35 +053079
Kan Liange35faeb2019-06-03 06:41:20 -070080#define INTEL_FAM6_ICELAKE_X 0x6A
Peter Zijlstra5ebb34e2019-08-27 21:48:24 +020081#define INTEL_FAM6_ICELAKE_D 0x6C
Peter Zijlstrac66f78a2019-08-27 21:48:21 +020082#define INTEL_FAM6_ICELAKE 0x7D
Peter Zijlstraaf239c42019-08-27 21:48:22 +020083#define INTEL_FAM6_ICELAKE_L 0x7E
Rajneesh Bhardwaje32d0452019-06-06 06:54:19 +053084#define INTEL_FAM6_ICELAKE_NNPI 0x9D
Rajneesh Bhardwaj8cd8f0c2019-02-14 17:27:08 +053085
Gayatri Kammela6e1c32c2019-09-05 12:30:17 -070086#define INTEL_FAM6_TIGERLAKE_L 0x8C
87#define INTEL_FAM6_TIGERLAKE 0x8D
88
Kan Liang8d7c6ac2019-10-08 08:50:02 -070089#define INTEL_FAM6_COMETLAKE 0xA5
90#define INTEL_FAM6_COMETLAKE_L 0xA6
91
Tony Lucke00b62f2020-07-20 21:37:49 -070092#define INTEL_FAM6_ROCKETLAKE 0xA7
93
Tony Luckbe25d1b2020-06-03 10:33:52 -070094#define INTEL_FAM6_SAPPHIRERAPIDS_X 0x8F
95
Tony Lucke00b62f2020-07-20 21:37:49 -070096/* Hybrid Core/Atom Processors */
97
98#define INTEL_FAM6_LAKEFIELD 0x8A
99#define INTEL_FAM6_ALDERLAKE 0x97
Gayatri Kammela6e1239c2021-01-21 13:50:04 -0800100#define INTEL_FAM6_ALDERLAKE_L 0x9A
Tony Lucke00b62f2020-07-20 21:37:49 -0700101
Dave Hansen970442c2016-06-02 17:19:27 -0700102/* "Small Core" Processors (Atom) */
103
Peter Zijlstraf2c4db12018-08-07 10:17:27 -0700104#define INTEL_FAM6_ATOM_BONNELL 0x1C /* Diamondville, Pineview */
105#define INTEL_FAM6_ATOM_BONNELL_MID 0x26 /* Silverthorne, Lincroft */
106
107#define INTEL_FAM6_ATOM_SALTWELL 0x36 /* Cedarview */
108#define INTEL_FAM6_ATOM_SALTWELL_MID 0x27 /* Penwell */
109#define INTEL_FAM6_ATOM_SALTWELL_TABLET 0x35 /* Cloverview */
110
111#define INTEL_FAM6_ATOM_SILVERMONT 0x37 /* Bay Trail, Valleyview */
Peter Zijlstra5ebb34e2019-08-27 21:48:24 +0200112#define INTEL_FAM6_ATOM_SILVERMONT_D 0x4D /* Avaton, Rangely */
Peter Zijlstraf2c4db12018-08-07 10:17:27 -0700113#define INTEL_FAM6_ATOM_SILVERMONT_MID 0x4A /* Merriefield */
114
115#define INTEL_FAM6_ATOM_AIRMONT 0x4C /* Cherry Trail, Braswell */
116#define INTEL_FAM6_ATOM_AIRMONT_MID 0x5A /* Moorefield */
Rahul Tanwar855fa1f2019-09-05 12:30:19 -0700117#define INTEL_FAM6_ATOM_AIRMONT_NP 0x75 /* Lightning Mountain */
Peter Zijlstraf2c4db12018-08-07 10:17:27 -0700118
119#define INTEL_FAM6_ATOM_GOLDMONT 0x5C /* Apollo Lake */
Peter Zijlstra5ebb34e2019-08-27 21:48:24 +0200120#define INTEL_FAM6_ATOM_GOLDMONT_D 0x5F /* Denverton */
Peter Zijlstraa3d8c0d2019-08-27 21:48:25 +0200121
122/* Note: the micro-architecture is "Goldmont Plus" */
Peter Zijlstraf2c4db12018-08-07 10:17:27 -0700123#define INTEL_FAM6_ATOM_GOLDMONT_PLUS 0x7A /* Gemini Lake */
Andy Shevchenko0a05fa62019-06-17 14:55:37 +0300124
Peter Zijlstra5ebb34e2019-08-27 21:48:24 +0200125#define INTEL_FAM6_ATOM_TREMONT_D 0x86 /* Jacobsville */
Gayatri Kammela0f656052019-09-05 12:30:18 -0700126#define INTEL_FAM6_ATOM_TREMONT 0x96 /* Elkhart Lake */
Zhang Ruib2d32af2019-12-16 16:33:44 +0800127#define INTEL_FAM6_ATOM_TREMONT_L 0x9C /* Jasper Lake */
Dave Hansen970442c2016-06-02 17:19:27 -0700128
129/* Xeon Phi */
130
131#define INTEL_FAM6_XEON_PHI_KNL 0x57 /* Knights Landing */
Piotr Luc0047f592016-10-12 20:05:20 +0200132#define INTEL_FAM6_XEON_PHI_KNM 0x85 /* Knights Mill */
Dave Hansen970442c2016-06-02 17:19:27 -0700133
Thomas Gleixner20d43742020-03-20 14:13:47 +0100134/* Family 5 */
135#define INTEL_FAM5_QUARK_X1000 0x09 /* Quark X1000 SoC */
136
Dave Hansen970442c2016-06-02 17:19:27 -0700137#endif /* _ASM_X86_INTEL_FAMILY_H */