Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 07c49d5d402429ef4dbe1da5f8371a0a07bcc279
      
https://github.com/tianocore/edk2/commit/07c49d5d402429ef4dbe1da5f8371a0a07bcc279
  Author: Ceping Sun <cepingx....@intel.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M MdePkg/Library/BaseLib/X64/TdVmcall.nasm

  Log Message:
  -----------
  MdePkg/BaseLib: Update TDVMCALL_EXPOSE_REGS_MASK

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4696

Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask.

Reference:
[GHCI]: TDX Guest-Host-Communication Interface v1.5
https://cdrdv2.intel.com/v1/dl/getContent/726792

Cc: Liming Gao <gaolim...@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Cc: Erdem Aktas <erdemak...@google.com>
Cc: James Bottomley <j...@linux.ibm.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Min Xu <min.m...@intel.com>
Cc: Tom Lendacky <thomas.lenda...@amd.com>
Cc: Michael Roth <michael.r...@amd.com>
Cc: Isaku Yamahata <isaku.yamah...@intel.com>
Signed-off-by: Ceping Sun <cepingx....@intel.com>
Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn>


  Commit: a1a6da80aa80baecfba71a4d8e4c38dbb8f2f4d3
      
https://github.com/tianocore/edk2/commit/a1a6da80aa80baecfba71a4d8e4c38dbb8f2f4d3
  Author: Ceping Sun <cepingx....@intel.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M OvmfPkg/Library/CcExitLib/X64/TdVmcallCpuid.nasm

  Log Message:
  -----------
  OvmfPkg/CcExitLib: Update TDVMCALL_EXPOSE_REGS_MASK

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4696

Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask.

Reference:
[GHCI]: TDX Guest-Host-Communication Interface v1.5
https://cdrdv2.intel.com/v1/dl/getContent/726792

Cc: Erdem Aktas <erdemak...@google.com>
Cc: James Bottomley <j...@linux.ibm.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Min Xu <min.m...@intel.com>
Cc: Tom Lendacky <thomas.lenda...@amd.com>
Cc: Michael Roth <michael.r...@amd.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Isaku Yamahata <isaku.yamah...@intel.com>
Signed-off-by: Ceping Sun <cepingx....@intel.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>
Reviewed-by: Min Xu <min.m...@intel.com>


  Commit: 35f6a2780e5198315a9f100c07b3bc86187d20a8
      
https://github.com/tianocore/edk2/commit/35f6a2780e5198315a9f100c07b3bc86187d20a8
  Author: Ceping Sun <cepingx....@intel.com>
  Date:   2024-03-19 (Tue, 19 Mar 2024)

  Changed paths:
    M OvmfPkg/TdxDxe/X64/ApRunLoop.nasm

  Log Message:
  -----------
  OvmfPkg/TdxDxe: Clear the registers before tdcall

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4696

Refer to the [GHCI] spec, TDVF should clear the BIT5 for RBP in the mask.
And TDVF should clear the regitsers to avoid leaking secrets to VMM.

Reference:
[GHCI]: TDX Guest-Host-Communication Interface v1.5
https://cdrdv2.intel.com/v1/dl/getContent/726792

Cc: Erdem Aktas <erdemak...@google.com>
Cc: James Bottomley <j...@linux.ibm.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Min Xu <min.m...@intel.com>
Cc: Tom Lendacky <thomas.lenda...@amd.com>
Cc: Michael Roth <michael.r...@amd.com>
Cc: Gerd Hoffmann <kra...@redhat.com>
Cc: Erdem Aktas <erdemak...@google.com>
Cc: Isaku Yamahata <isaku.yamah...@intel.com>
Signed-off-by: Ceping Sun <cepingx....@intel.com>
Reviewed-by: Jiewen Yao <jiewen....@intel.com>
Reviewed-by: Min Xu <min.m...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/3840c35e34d1...35f6a2780e51

To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to