x86/split_lock: Enumerate architectural split lock disable bit
authorFenghua Yu <fenghua.yu@intel.com>
Thu, 2 Mar 2023 01:19:46 +0000 (17:19 -0800)
committerBorislav Petkov (AMD) <bp@alien8.de>
Thu, 16 Mar 2023 10:50:51 +0000 (11:50 +0100)
commitd7ce15e1d4162ab5e56dead10d4ae69a6b5c8ee8
tree84aca9c5735df1164affe25430e6d6b6334095ae
parent8cc68c9c9e92dbaae51a711454c66eb668045508
x86/split_lock: Enumerate architectural split lock disable bit

The December 2022 edition of the Intel Instruction Set Extensions manual
defined that the split lock disable bit in the IA32_CORE_CAPABILITIES MSR
is (and retrospectively always has been) architectural.

Remove all the model specific checks except for Ice Lake variants which are
still needed because these CPU models do not enumerate presence of the
IA32_CORE_CAPABILITIES MSR.

Originally-by: Dave Hansen <dave.hansen@linux.intel.com>
Signed-off-by: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Reviewed-by: Tony Luck <tony.luck@intel.com>
Link: https://lore.kernel.org/lkml/20220701131958.687066-1-fenghua.yu@intel.com/t/#mada243bee0915532a6adef6a9e32d244d1a9aef4
arch/x86/kernel/cpu/intel.c