[SRU][D/OEM-OSP1-B][PATCH] x86/cpu: Add Comet Lake to the Intel CPU models header

Timo Aaltonen tjaalton at ubuntu.com
Tue Oct 22 21:07:41 UTC 2019


From: Kan Liang <kan.liang at linux.intel.com>

BugLink: http://bugs.launchpad.net/bugs/1843794

Comet Lake is the new 10th Gen Intel processor. Add two new CPU model
numbers to the Intel family list.

The CPU model numbers are not published in the SDM yet but they come
from an authoritative internal source.

 [ bp: Touch up commit message. ]

Signed-off-by: Kan Liang <kan.liang at linux.intel.com>
Signed-off-by: Borislav Petkov <bp at suse.de>
Reviewed-by: Tony Luck <tony.luck at intel.com>
Cc: ak at linux.intel.com
Cc: "H. Peter Anvin" <hpa at zytor.com>
Cc: Ingo Molnar <mingo at kernel.org>
Cc: Peter Zijlstra <peterz at infradead.org>
Cc: Thomas Gleixner <tglx at linutronix.de>
Cc: x86-ml <x86 at kernel.org>
Link: https://lkml.kernel.org/r/1570549810-25049-2-git-send-email-kan.liang@linux.intel.com
(backported from commit 8d7c6ac3b2371eb1cbc9925a88f4d10efff374de)
Signed-off-by: Timo Aaltonen <timo.aaltonen at canonical.com>
---
 arch/x86/include/asm/intel-family.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index f60ddd655c78..f1a788fa630a 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -58,6 +58,9 @@
 #define INTEL_FAM6_ICELAKE_MOBILE	0x7E
 #define INTEL_FAM6_ICELAKE_NNPI		0x9D
 
+#define INTEL_FAM6_COMETLAKE		0xA5
+#define INTEL_FAM6_COMETLAKE_L		0xA6
+
 /* "Small Core" Processors (Atom) */
 
 #define INTEL_FAM6_ATOM_BONNELL		0x1C /* Diamondville, Pineview */
-- 
2.20.1




More information about the kernel-team mailing list