• Linus Torvalds's avatar
    Merge tag 'x86_seves_for_v5.10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · da9803df
    Linus Torvalds authored
    Pull x86 SEV-ES support from Borislav Petkov:
     "SEV-ES enhances the current guest memory encryption support called SEV
      by also encrypting the guest register state, making the registers
      inaccessible to the hypervisor by en-/decrypting them on world
      switches. Thus, it adds additional protection to Linux guests against
      exfiltration, control flow and rollback attacks.
    
      With SEV-ES, the guest is in full control of what registers the
      hypervisor can access. This is provided by a guest-host exchange
      mechanism based on a new exception vector called VMM Communication
      Exception (#VC), a new instruction called VMGEXIT and a shared
      Guest-Host Communication Block which is a decrypted page shared
      between the guest and the hypervisor.
    
      Intercepts to the hypervisor become #VC exceptions in an SEV-ES guest
      so in order for that exception mechanism to work, the early x86 init
      code needed to be made able to handl...
    da9803df
idt.c 9.45 KB