[tip: x86/splitlock] x86/split_lock: Enable the split lock feature on Raptor Lake

From: tip-bot2 for Tony Luck
Date: Wed May 04 2022 - 06:23:37 EST


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

Commit-ID: 0180a1e823d7c41d9a1c19f38e6069b38fe60c87
Gitweb: https://git.kernel.org/tip/0180a1e823d7c41d9a1c19f38e6069b38fe60c87
Author: Tony Luck <tony.luck@xxxxxxxxx>
AuthorDate: Wed, 27 Apr 2022 16:10:59 -07:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Wed, 04 May 2022 12:11:25 +02:00

x86/split_lock: Enable the split lock feature on Raptor Lake

Raptor Lake supports the split lock detection feature. Add it to
the split_lock_cpu_ids[] array.

Signed-off-by: Tony Luck <tony.luck@xxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lore.kernel.org/r/20220427231059.293086-1-tony.luck@xxxxxxxxx
---
arch/x86/kernel/cpu/intel.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/arch/x86/kernel/cpu/intel.c b/arch/x86/kernel/cpu/intel.c
index 672e253..e6c37f3 100644
--- a/arch/x86/kernel/cpu/intel.c
+++ b/arch/x86/kernel/cpu/intel.c
@@ -1257,6 +1257,7 @@ static const struct x86_cpu_id split_lock_cpu_ids[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(SAPPHIRERAPIDS_X, 1),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE, 1),
X86_MATCH_INTEL_FAM6_MODEL(ALDERLAKE_L, 1),
+ X86_MATCH_INTEL_FAM6_MODEL(RAPTORLAKE, 1),
{}
};