Commit d61f1cc5db79 for kernel

commit d61f1cc5db799f4e44a63418b2dc19396787427b
Merge: a7610b846539 d5cb9574391c
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Tue Dec 2 14:48:08 2025 -0800

    Merge tag 'x86_cpu_for_6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

    Pull x86 CPU feature updates from Dave Hansen:
     "The biggest thing of note here is Linear Address Space Separation
      (LASS). It represents the first time I can think of that the
      upper=>kernel/lower=>user address space convention is actually
      recognized by the hardware on x86. It ensures that userspace can not
      even get the hardware to _start_ page walks for the kernel address
      space. This, of course, is a really nice generic side channel defense.

      This is really only a down payment on LASS support. There are still
      some details to work out in its interaction with EFI calls and
      vsyscall emulation. For now, LASS is disabled if either of those
      features is compiled in (which is almost always the case).

      There's also one straggler commit in here which converts an
      under-utilized AMD CPU feature leaf into a generic Linux-defined leaf
      so more feature can be packed in there.

      Summary:

       - Enable Linear Address Space Separation (LASS)

       - Change X86_FEATURE leaf 17 from an AMD leaf to Linux-defined"

    * tag 'x86_cpu_for_6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/cpu: Enable LASS during CPU initialization
      selftests/x86: Update the negative vsyscall tests to expect a #GP
      x86/traps: Communicate a LASS violation in #GP message
      x86/kexec: Disable LASS during relocate kernel
      x86/alternatives: Disable LASS when patching kernel code
      x86/asm: Introduce inline memcpy and memset
      x86/cpu: Add an LASS dependency on SMAP
      x86/cpufeatures: Enumerate the LASS feature bits
      x86/cpufeatures: Make X86_FEATURE leaf 17 Linux-specific

diff --cc arch/x86/kernel/cpu/scattered.c
index 0524ac0260fc,271f548ad156..cde4b6cd3471
--- a/arch/x86/kernel/cpu/scattered.c
+++ b/arch/x86/kernel/cpu/scattered.c
@@@ -43,8 -43,10 +43,11 @@@ static const struct cpuid_bit cpuid_bit
  	{ X86_FEATURE_PER_THREAD_MBA,		CPUID_ECX,  0, 0x00000010, 3 },
  	{ X86_FEATURE_SGX1,			CPUID_EAX,  0, 0x00000012, 0 },
  	{ X86_FEATURE_SGX2,			CPUID_EAX,  1, 0x00000012, 0 },
 +	{ X86_FEATURE_SGX_EUPDATESVN,		CPUID_EAX, 10, 0x00000012, 0 },
  	{ X86_FEATURE_SGX_EDECCSSA,		CPUID_EAX, 11, 0x00000012, 0 },
+ 	{ X86_FEATURE_OVERFLOW_RECOV,		CPUID_EBX,  0, 0x80000007, 0 },
+ 	{ X86_FEATURE_SUCCOR,			CPUID_EBX,  1, 0x80000007, 0 },
+ 	{ X86_FEATURE_SMCA,			CPUID_EBX,  3, 0x80000007, 0 },
  	{ X86_FEATURE_HW_PSTATE,		CPUID_EDX,  7, 0x80000007, 0 },
  	{ X86_FEATURE_CPB,			CPUID_EDX,  9, 0x80000007, 0 },
  	{ X86_FEATURE_PROC_FEEDBACK,		CPUID_EDX, 11, 0x80000007, 0 },