• Linus Torvalds's avatar
    Merge tag 'x86_tdx_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 3a755ebc
    Linus Torvalds authored
    Pull Intel TDX support from Borislav Petkov:
     "Intel Trust Domain Extensions (TDX) support.
    
      This is the Intel version of a confidential computing solution called
      Trust Domain Extensions (TDX). This series adds support to run the
      kernel as part of a TDX guest. It provides similar guest protections
      to AMD's SEV-SNP like guest memory and register state encryption,
      memory integrity protection and a lot more.
    
      Design-wise, it differs from AMD's solution considerably: it uses a
      software module which runs in a special CPU mode called (Secure
      Arbitration Mode) SEAM. As the name suggests, this module serves as
      sort of an arbiter which the confidential guest calls for services it
      needs during its lifetime.
    
      Just like AMD's SNP set, this series reworks and streamlines certain
      parts of x86 arch code so that this feature can be properly
      accomodated"
    
    * tag 'x86_tdx_for_v5.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (34 commits)
      x86/tdx: Fix RETs in TDX asm
      x86/tdx: Annotate a noreturn function
      x86/mm: Fix spacing within memory encryption features message
      x86/kaslr: Fix build warning in KASLR code in boot stub
      Documentation/x86: Document TDX kernel architecture
      ACPICA: Avoid cache flush inside virtual machines
      x86/tdx/ioapic: Add shared bit for IOAPIC base address
      x86/mm: Make DMA memory shared for TD guest
      x86/mm/cpa: Add support for TDX shared memory
      x86/tdx: Make pages shared in ioremap()
      x86/topology: Disable CPU online/offline control for TDX guests
      x86/boot: Avoid #VE during boot for TDX platforms
      x86/boot: Set CR0.NE early and keep it set during the boot
      x86/acpi/x86/boot: Add multiprocessor wake-up support
      x86/boot: Add a trampoline for booting APs via firmware handoff
      x86/tdx: Wire up KVM hypercalls
      x86/tdx: Port I/O: Add early boot support
      x86/tdx: Port I/O: Add runtime hypercalls
      x86/boot: Port I/O: Add decompression-time support for TDX
      x86/boot: Port I/O: Allow to hook up alternative helpers
      ...
    3a755ebc
cpu.c 65.8 KB