[tip: x86/cpu] x86/cpu: Add Xeon Emerald Rapids to list of CPUs that support PPIN

From: tip-bot2 for Tony Luck
Date: Wed Apr 05 2023 - 14:19:57 EST


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

Commit-ID: 36168bc061b4368ad19e82b06a6463c95d3bb9a7
Gitweb: https://git.kernel.org/tip/36168bc061b4368ad19e82b06a6463c95d3bb9a7
Author: Tony Luck <tony.luck@xxxxxxxxx>
AuthorDate: Tue, 04 Apr 2023 14:21:24 -07:00
Committer: Borislav Petkov (AMD) <bp@xxxxxxxxx>
CommitterDate: Wed, 05 Apr 2023 20:01:52 +02:00

x86/cpu: Add Xeon Emerald Rapids to list of CPUs that support PPIN

This should be the last addition to this table. Future CPUs will
enumerate PPIN support using CPUID.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
Signed-off-by: Borislav Petkov (AMD) <bp@xxxxxxxxx>
Link: https://lore.kernel.org/r/20230404212124.428118-1-tony.luck@xxxxxxxxx
---
arch/x86/kernel/cpu/common.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/common.c b/arch/x86/kernel/cpu/common.c
index 8cd4126..80710a6 100644
--- a/arch/x86/kernel/cpu/common.c
+++ b/arch/x86/kernel/cpu/common.c
@@ -121,6 +121,7 @@ static const struct x86_cpu_id ppin_cpuids[] = {
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X, &ppin_info[X86_VENDOR_INTEL]),
X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_D, &ppin_info[X86_VENDOR_INTEL]),
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, &ppin_info[X86_VENDOR_INTEL]),
+ X86_MATCH_INTEL_FAM6_MODEL(EMERALDRAPIDS_X, &ppin_info[X86_VENDOR_INTEL]),
X86_MATCH_INTEL_FAM6_MODEL(XEON_PHI_KNL, &ppin_info[X86_VENDOR_INTEL]),
X86_MATCH_INTEL_FAM6_MODEL(XEON_PHI_KNM, &ppin_info[X86_VENDOR_INTEL]),