Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 07c49d5d402429ef4dbe1da5f8371a0a07bcc279
https://github.com/tianocore/edk2/commit/07c49d5d402429ef4dbe1da5f8371a0a07bcc279
Author: Ceping Sun <[email protected]>
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 <[email protected]>
Cc: Michael D Kinney <[email protected]>
Cc: Erdem Aktas <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Min Xu <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Michael Roth <[email protected]>
Cc: Isaku Yamahata <[email protected]>
Signed-off-by: Ceping Sun <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Commit: a1a6da80aa80baecfba71a4d8e4c38dbb8f2f4d3
https://github.com/tianocore/edk2/commit/a1a6da80aa80baecfba71a4d8e4c38dbb8f2f4d3
Author: Ceping Sun <[email protected]>
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 <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Min Xu <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Michael Roth <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Isaku Yamahata <[email protected]>
Signed-off-by: Ceping Sun <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>
Reviewed-by: Min Xu <[email protected]>
Commit: 35f6a2780e5198315a9f100c07b3bc86187d20a8
https://github.com/tianocore/edk2/commit/35f6a2780e5198315a9f100c07b3bc86187d20a8
Author: Ceping Sun <[email protected]>
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 <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jiewen Yao <[email protected]>
Cc: Min Xu <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: Michael Roth <[email protected]>
Cc: Gerd Hoffmann <[email protected]>
Cc: Erdem Aktas <[email protected]>
Cc: Isaku Yamahata <[email protected]>
Signed-off-by: Ceping Sun <[email protected]>
Reviewed-by: Jiewen Yao <[email protected]>
Reviewed-by: Min Xu <[email protected]>
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits