• Linus Torvalds's avatar
    Merge tag 'x86_tdx_for_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 5dfe7a7e
    Linus Torvalds authored
    Pull x86 tdx updates from Dave Hansen:
    
     - Fix a race window where load_unaligned_zeropad() could cause a fatal
       shutdown during TDX private<=>shared conversion
    
       The race has never been observed in practice but might allow
       load_unaligned_zeropad() to catch a TDX page in the middle of its
       conversion process which would lead to a fatal and unrecoverable
       guest shutdown.
    
     - Annotate sites where VM "exit reasons" are reused as hypercall
       numbers.
    
    * tag 'x86_tdx_for_6.5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
      x86/mm: Fix enc_status_change_finish_noop()
      x86/tdx: Fix race between set_memory_encrypted() and load_unaligned_zeropad()
      x86/mm: Allow guest.enc_status_change_prepare() to fail
      x86/tdx: Wrap exit reason with hcall_func()
    5dfe7a7e
x86_init.c 4.77 KB