[edk2-devel] [PATCH ovmf 0/5] Enable AMD SEV-ES DebugSwap

Alexey Kardashevskiy via groups.io posted 5 patches 1 year, 4 months ago
Failed in applying to current master (apply log)
MdePkg/Include/ConfidentialComputingGuestAttr.h                    |  5 +-
MdePkg/Include/Register/Amd/Fam17Msr.h                             | 57 +++++++++++++++++++-
OvmfPkg/Include/Library/MemEncryptSevLib.h                         | 12 +++++
OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLibInternal.c | 25 +++++++--
OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLibInternal.c | 19 +++++++
OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLibInternal.c | 20 +++++++
OvmfPkg/Library/CcExitLib/CcExitVcHandler.c                        |  8 +++
OvmfPkg/PlatformPei/AmdSev.c                                       | 13 +++--
UefiCpuPkg/Library/MpInitLib/MpLib.c                               | 10 ++--
9 files changed, 158 insertions(+), 11 deletions(-)
[edk2-devel] [PATCH ovmf 0/5] Enable AMD SEV-ES DebugSwap
Posted by Alexey Kardashevskiy via groups.io 1 year, 4 months ago
This is to prevent #DB interception on SEV-ES VM with
enabled DebugSwap feature, more details in 3/5.

This is based on sha1 dd3ba82d31a6 and pushed out at
https://github.com/aik/edk2/commits/debugswap

The corresponding Linux change (HV and VM) is here:
https://github.com/aik/linux/commits/debugswap
and has just been posted to lkml/etc as
"[PATCH kernel 0/3] KVM: SEV: Enable AMD SEV-ES DebugSwap"

Please comment. Thanks.



Alexey Kardashevskiy (5):
  MdePkg/Register/Amd: Define all bits from MSR_SEV_STATUS_REGISTER
  MdePkg: Add AMD SEV features to PcdConfidentialComputingGuestAttr
  OvmfPkg: Add AMD SEV-ES DebugSwap feature support
  UefiCpuPkg: Add AMD SEV-ES features support
  OvmfPkf: Enable AMD SEV-ES DebugSwap for DXE

 MdePkg/Include/ConfidentialComputingGuestAttr.h                    |  5 +-
 MdePkg/Include/Register/Amd/Fam17Msr.h                             | 57 +++++++++++++++++++-
 OvmfPkg/Include/Library/MemEncryptSevLib.h                         | 12 +++++
 OvmfPkg/Library/BaseMemEncryptSevLib/DxeMemEncryptSevLibInternal.c | 25 +++++++--
 OvmfPkg/Library/BaseMemEncryptSevLib/PeiMemEncryptSevLibInternal.c | 19 +++++++
 OvmfPkg/Library/BaseMemEncryptSevLib/SecMemEncryptSevLibInternal.c | 20 +++++++
 OvmfPkg/Library/CcExitLib/CcExitVcHandler.c                        |  8 +++
 OvmfPkg/PlatformPei/AmdSev.c                                       | 13 +++--
 UefiCpuPkg/Library/MpInitLib/MpLib.c                               | 10 ++--
 9 files changed, 158 insertions(+), 11 deletions(-)

-- 
2.38.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#96808): https://edk2.groups.io/g/devel/message/96808
Mute This Topic: https://groups.io/mt/95376258/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-