x86/split_lock: Add Tremont family CPU models
authorTony Luck <tony.luck@intel.com>
Thu, 16 Apr 2020 20:57:54 +0000 (13:57 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 18 Apr 2020 10:48:44 +0000 (12:48 +0200)
Tremont CPUs support IA32_CORE_CAPABILITIES bits to indicate whether
specific SKUs have support for split lock detection.

Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200416205754.21177-4-tony.luck@intel.com
arch/x86/kernel/cpu/intel.c

index c23ad481347e8ad03d5f192bb16cf523ad93adca..a19a680542ce736ce0f89c3621d0695a9481c6f8 100644 (file)
@@ -1135,6 +1135,9 @@ void switch_to_sld(unsigned long tifn)
 static const struct x86_cpu_id split_lock_cpu_ids[] __initconst = {
        X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_X,           0),
        X86_MATCH_INTEL_FAM6_MODEL(ICELAKE_L,           0),
+       X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT,        1),
+       X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_D,      1),
+       X86_MATCH_INTEL_FAM6_MODEL(ATOM_TREMONT_L,      1),
        {}
 };