[edk2-devel] [PATCH V5 03/13] OvmfPkg/IntelTdx: Add SecTdxHelperLib

Gerd Hoffmann kraxel at redhat.com
Thu Feb 2 12:54:17 UTC 2023


On Sat, Jan 28, 2023 at 09:58:32PM +0800, Min Xu wrote:
> From: Min M Xu <min.m.xu at intel.com>
> 
> BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4243
> 
> TdxHelperLib provides below helper functions for a td-guest.
>  - TdxHelperProcessTdHob
>  - TdxHelperMeasureTdHob
>  - TdxHelperMeasureCfvImage
>  - TdxHelperBuildGuidHobForTdxMeasurement
> 
> SecTdxHelperLib is the SEC instance of TdxHelperLib. It implements 4
> functions for tdx in SEC phase:
>  - TdxHelperProcessTdHob consumes TdHob to accept un-accepted memories.
>    Before the TdHob is consumed, it is first validated.
> 
>  - TdxHelperMeasureTdHob measure/extend TdHob and store the measurement
>    value in workarea.
> 
>  - TdxHelperMeasureCfvImage measure/extend the Configuration FV image and
>    store the measurement value in workarea.
> 
>  - TdxHelperBuildGuidHobForTdxMeasurement builds GuidHob for tdx
>    measurement.
> 
> This patch implements the stubs of the functions. The actual
> implementations are in the following patches. Because they are moved from
> other files.
> 
> Cc: Erdem Aktas <erdemaktas at google.com>
> Cc: James Bottomley <jejb at linux.ibm.com>
> Cc: Jiewen Yao <jiewen.yao at intel.com>
> Cc: Gerd Hoffmann <kraxel at redhat.com>
> Cc: Tom Lendacky <thomas.lendacky at amd.com>
> Cc: Michael Roth <michael.roth at amd.com>
> Signed-off-by: Min Xu <min.m.xu at intel.com>

Acked-by: Gerd Hoffmann <kraxel at redhat.com>



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99474): https://edk2.groups.io/g/devel/message/99474
Mute This Topic: https://groups.io/mt/96587216/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list