This project is mirrored from Pull mirroring updated .
  1. 20 May, 2022 2 commits
    • Tom Lendacky's avatar
      OvmfPkg: Make an Ia32/X64 hybrid build work with SEV · a21a3438
      Tom Lendacky authored
      The BaseMemEncryptSevLib functionality was updated to rely on the use of
      the OVMF/SEV workarea to check for SEV guests. However, this area is only
      updated when running the X64 OVMF build, not the hybrid Ia32/X64 build.
      Base SEV support is allowed under the Ia32/X64 build, but it now fails
      to boot as a result of the change.
      Update the ResetVector code to check for SEV features when built for
      32-bit mode, not just 64-bit mode (requiring updates to both the Ia32
      and Ia32X64 fdf files).
      Fixes: f1d1c337
      Cc: Ard Biesheuvel <>
      Cc: Jiewen Yao <>
      Cc: Jordan Justen <>
      Cc: Gerd Hoffmann <>
      Cc: Erdem Aktas <>
      Cc: James Bottomley <>
      Cc: Michael Roth <>
      Cc: Min Xu <>
      Signed-off-by: default avatarTom Lendacky <>
      Reviewed-by: default avatarArd Biesheuvel <>
    • Min Xu's avatar
      OvmfPkg/OvmfPkgX64: Use different CcProbeLib when SMM is on or off · a72d552f
      Min Xu authored
      CcProbeLib is designed to check the vm guest type. The OvmfPkg/CcProbeLib
      reads the OvmfWorkArea (0x80B000) to get the vm guest type which is
      written by each guest (SEV or TDX guest). But in SMM drivers the access
      to OvmfWorkArea is illegal. PiSmmCpuDxeSmm.inf is an example. It uses
      IoLib which in OvmfPkgX64 BaseIoLibIntrinsicSev.inf is included. The
      IoLib probes if the working guest is td guest by calling CcProbe().
      So CcProbeLibNull will be included when SMM_REQUIRE is set. Currently
      only TDVF uses CcProbe to check the guest type, and TDVF doesn't
      support SMM, so this fix has no side-effect.
      Cc: Andrew Fish <>
      Cc: Leif Lindholm <>
      Cc: Michael D Kinney <>
      Cc: Dann Frazier <>
      Cc: Erdem Aktas <>
      Cc: James Bottomley <>
      Cc: Jiewen Yao <>
      Cc: Tom Lendacky <>
      Cc: Liming Gao <>
      Tested-by: default avatardann frazier <>
      Reviewed-by: default avatarJiewen Yao <>
      Signed-off-by: default avatarMin Xu <>
  2. 19 May, 2022 11 commits
  3. 13 May, 2022 14 commits
  4. 11 May, 2022 11 commits
  5. 09 May, 2022 2 commits