[edk2] [PATCH v2 0/2] Add SMM support when SEV is active

Brijesh Singh posted 2 patches 6 years, 1 month ago
Failed in applying to current master (apply log)
OvmfPkg/AmdSevDxe/AmdSevDxe.inf                            |  4 +++
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf    |  1 +
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf  |  1 +
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.h         |  7 ++++
OvmfPkg/AmdSevDxe/AmdSevDxe.c                              | 35 ++++++++++++++++++++
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c      | 21 ++++++++++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceDxe.c | 12 +++++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceSmm.c | 33 ++++++++++++++++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.c         |  6 ++++
9 files changed, 120 insertions(+)
[edk2] [PATCH v2 0/2] Add SMM support when SEV is active
Posted by Brijesh Singh 6 years, 1 month ago
The series adds the SMM support for the SEV guest.

Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>

repo: https://github.com/codomania/edk2.git
branch: smm-v2

Changes since v1:
 - add more comments to explain why we are not clearing the C-bit
   from relocated SMM Saved area.
 - restore the C-bit of initial SMM Saved Area after SMBASE is
   relocated.
 - Drop "Fvb" prefix from BeforeFlashProbe() and call this from
   Qemu flash initialization.

Brijesh Singh (2):
  OvmfPkg/AmdSevDxe: Clear the C-bit from SMM Saved State
  OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active

 OvmfPkg/AmdSevDxe/AmdSevDxe.inf                            |  4 +++
 OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf    |  1 +
 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf  |  1 +
 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.h         |  7 ++++
 OvmfPkg/AmdSevDxe/AmdSevDxe.c                              | 35 ++++++++++++++++++++
 OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c      | 21 ++++++++++++
 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceDxe.c | 12 +++++++
 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceSmm.c | 33 ++++++++++++++++++
 OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.c         |  6 ++++
 9 files changed, 120 insertions(+)

-- 
2.14.3

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel