• Linus Torvalds's avatar
    Merge tag 'x86_cpu_for_v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 92a0610b
    Linus Torvalds authored
    Pull x86 cpu updates from Borislav Petkov:
    
     - Add support for hardware-enforced cache coherency on AMD which
       obviates the need to flush cachelines before changing the PTE
       encryption bit (Krish Sadhukhan)
    
     - Add Centaur initialization support for families >= 7 (Tony W Wang-oc)
    
     - Add a feature flag for, and expose TSX suspend load tracking feature
       to KVM (Cathy Zhang)
    
     - Emulate SLDT and STR so that windows programs don't crash on UMIP
       machines (Brendan Shanks and Ricardo Neri)
    
     - Use the new SERIALIZE insn on Intel hardware which supports it
       (Ricardo Neri)
    
     - Misc cleanups and fixes
    
    * tag 'x86_cpu_for_v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      KVM: SVM: Don't flush cache if hardware enforces cache coherency across encryption domains
      x86/mm/pat: Don't flush cache if hardware enforces cache coherency across encryption domnains
      x86/cpu: Add hardware-enforced cache coherency as a CPUID feature
      x86/cpu/centaur: Add Centaur family >=7 CPUs initialization support
      x86/cpu/centaur: Replace two-condition switch-case with an if statement
      x86/kvm: Expose TSX Suspend Load Tracking feature
      x86/cpufeatures: Enumerate TSX suspend load address tracking instructions
      x86/umip: Add emulation/spoofing for SLDT and STR instructions
      x86/cpu: Fix typos and improve the comments in sync_core()
      x86/cpu: Use XGETBV and XSETBV mnemonics in fpu/internal.h
      x86/cpu: Use SERIALIZE in sync_core() when available
    92a0610b
sev.c 26.6 KB