Merge tag 'v6.16' into x86/cpu, to resolve conflict
authorIngo Molnar <mingo@kernel.org>
Mon, 28 Jul 2025 05:12:53 +0000 (07:12 +0200)
committerIngo Molnar <mingo@kernel.org>
Mon, 28 Jul 2025 05:17:38 +0000 (07:17 +0200)
Resolve overlapping context conflict between this upstream fix:

  d8010d4ba43e ("x86/bugs: Add a Transient Scheduler Attacks mitigation")

And this pending commit in tip:x86/cpu:

  65f55a301766 ("x86/CPU/AMD: Add CPUID faulting support")

  Conflicts:
arch/x86/kernel/cpu/amd.c

Signed-off-by: Ingo Molnar <mingo@kernel.org>
1  2 
arch/x86/include/asm/cpufeatures.h
arch/x86/include/asm/msr-index.h
arch/x86/kernel/cpu/amd.c
arch/x86/kernel/process.c

  #define X86_FEATURE_NO_NESTED_DATA_BP (20*32+ 0) /* No Nested Data Breakpoints */
  #define X86_FEATURE_WRMSR_XX_BASE_NS  (20*32+ 1) /* WRMSR to {FS,GS,KERNEL_GS}_BASE is non-serializing */
  #define X86_FEATURE_LFENCE_RDTSC      (20*32+ 2) /* LFENCE always serializing / synchronizes RDTSC */
+ #define X86_FEATURE_VERW_CLEAR                (20*32+ 5) /* The memory form of VERW mitigates TSA */
  #define X86_FEATURE_NULL_SEL_CLR_BASE (20*32+ 6) /* Null Selector Clears Base */
 +
  #define X86_FEATURE_AUTOIBRS          (20*32+ 8) /* Automatic IBRS */
  #define X86_FEATURE_NO_SMM_CTL_MSR    (20*32+ 9) /* SMM_CTL MSR is not present */
  
Simple merge
@@@ -489,10 -530,9 +530,11 @@@ static void bsp_init_amd(struct cpuinfo
        }
  
        bsp_determine_snp(c);
 -
+       tsa_init(c);
  
 +      if (cpu_has(c, X86_FEATURE_GP_ON_USER_CPUID))
 +              setup_force_cpu_cap(X86_FEATURE_CPUID_FAULT);
 +
        return;
  
  warn:
Simple merge