[tip: x86/urgent] x86/cpu: Add Sapphire Rapids CPU model number

From: tip-bot2 for Tony Luck
Date: Wed Jun 03 2020 - 14:06:34 EST


The following commit has been merged into the x86/urgent branch of tip:

Commit-ID: be25d1b5ea6a3a3ecbb5474e2ae8e32d2ba055ea
Gitweb: https://git.kernel.org/tip/be25d1b5ea6a3a3ecbb5474e2ae8e32d2ba055ea
Author: Tony Luck <tony.luck@xxxxxxxxx>
AuthorDate: Wed, 03 Jun 2020 10:33:52 -07:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Wed, 03 Jun 2020 19:53:41 +02:00

x86/cpu: Add Sapphire Rapids CPU model number

Latest edition (039) of "Intel Architecture Instruction Set Extensions
and Future Features Programming Reference" includes three new CPU model
numbers. Linux already has the two Ice Lake server ones. Add the new
model number for Sapphire Rapids.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Link: https://lkml.kernel.org/r/20200603173352.15506-1-tony.luck@xxxxxxxxx
---
arch/x86/include/asm/intel-family.h | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/x86/include/asm/intel-family.h b/arch/x86/include/asm/intel-family.h
index 8f1e94f..a338a6d 100644
--- a/arch/x86/include/asm/intel-family.h
+++ b/arch/x86/include/asm/intel-family.h
@@ -89,6 +89,8 @@
#define INTEL_FAM6_COMETLAKE 0xA5
#define INTEL_FAM6_COMETLAKE_L 0xA6

+#define INTEL_FAM6_SAPPHIRERAPIDS_X 0x8F
+
/* "Small Core" Processors (Atom) */

#define INTEL_FAM6_ATOM_BONNELL 0x1C /* Diamondville, Pineview */