[edk2] [PATCH 0/3] Add PCD PcdPteMemoryEncryptionAddressOrMask

Leo Duran posted 3 patches 7 years, 8 months ago
Failed in applying to current master (apply log)
There is a newer version of this series
MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf                |  5 ++++-
MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c       | 18 ++++++++++--------
MdeModulePkg/MdeModulePkg.dec                          |  8 ++++++++
MdeModulePkg/Universal/CapsulePei/CapsulePei.inf       |  2 ++
MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf       |  4 ++++
MdeModulePkg/Universal/CapsulePei/UefiCapsule.c        |  9 +++++----
MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c       | 10 ++++++----
UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c      |  9 +++++----
.../Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf       |  2 ++
9 files changed, 46 insertions(+), 21 deletions(-)
[edk2] [PATCH 0/3] Add PCD PcdPteMemoryEncryptionAddressOrMask
Posted by Leo Duran 7 years, 8 months ago
This new PCD holds the address mask for page table entries when memory
encryption is enabled on AMD processors supporting the Secure Encrypted
Virtualization (SEV) feature.

This mask is be applied when creating 1:1 virtual to physical mapping tables.
For example, the OvmfPkg sets the PCD when launching SEV-enabled guests.

Changes since v1:
- Move PCD to [PcdsFixedAtBuild, ... et al] section in .DEC file
- Add PCD for page tables built by MdeModulePkg/../CapsulePei
- Add PCd for page tables built by UefiCpuPkg/../S3Resume2Pei

Brijesh Singh (1):
  MdeModulePkg: Add PCD PcdPteMemoryEncryptionAddressOrMask

Leo Duran (2):
  MdeModulePkg/Universal/CapsulePei:     Add support for PCD
    PcdPteMemoryEncryptionAddressOrMask
  UefiCpuPkg/Universal/Acpi/S3Resume2Pei:     Add support for PCD
    PcdPteMemoryEncryptionAddressOrMask

 MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf                |  5 ++++-
 MdeModulePkg/Core/DxeIplPeim/X64/VirtualMemory.c       | 18 ++++++++++--------
 MdeModulePkg/MdeModulePkg.dec                          |  8 ++++++++
 MdeModulePkg/Universal/CapsulePei/CapsulePei.inf       |  2 ++
 MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf       |  4 ++++
 MdeModulePkg/Universal/CapsulePei/UefiCapsule.c        |  9 +++++----
 MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c       | 10 ++++++----
 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c      |  9 +++++----
 .../Universal/Acpi/S3Resume2Pei/S3Resume2Pei.inf       |  2 ++
 9 files changed, 46 insertions(+), 21 deletions(-)

-- 
1.9.1

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