[edk2-devel] [PATCH V7 00/37] Enable Intel TDX in OvmfPkg (Config-A)

Yao, Jiewen jiewen.yao at intel.com
Tue Mar 1 06:53:35 UTC 2022


Just to clarify below:

#define EFI_RESOURCE_MEMORY_UNACCEPTED      0x00000007

This is proposed in https://github.com/microsoft/mu_basecore/pull/66/files#diff-b20a11152d1ce9249c691be5690b4baf52069efadf2e2546cdd2eb663d80c9e4R237, according to UEFI-Code-First.

The proposal was approved in 2021 in UEFI Mantis, and will be added to the new PI.next specification.

Thank you
Yao Jiewen


> -----Original Message-----
> From: Xu, Min M <min.m.xu at intel.com>
> Sent: Tuesday, March 1, 2022 2:40 PM
> To: devel at edk2.groups.io; Gao, Liming <gaoliming at byosoft.com.cn>
> Cc: 'Brijesh Singh' <brijesh.singh at amd.com>; Dong, Eric <eric.dong at intel.com>;
> Aktas, Erdem <erdemaktas at google.com>; Wu, Hao A <hao.a.wu at intel.com>;
> Wang, Jian J <jian.j.wang at intel.com>; 'James Bottomley' <jejb at linux.ibm.com>;
> Yao, Jiewen <jiewen.yao at intel.com>; Kinney, Michael D
> <michael.d.kinney at intel.com>; Ni, Ray <ray.ni at intel.com>; Kumar, Rahul1
> <rahul1.kumar at intel.com>; 'Tom Lendacky' <thomas.lendacky at amd.com>; Liu,
> Zhiguang <zhiguang.liu at intel.com>; 'Gerd Hoffmann' <kraxel at redhat.com>
> Subject: RE: [edk2-devel] [PATCH V7 00/37] Enable Intel TDX in OvmfPkg
> (Config-A)
> 
> On March 1, 2022 10:20 AM, Gao Liming wrote:
> >
> > Min:
> >   I have two comments in MdePkg. The changes in MdeModulePkg are good
> > to me.
> > 1. Seemly, new APIs (TdCall, TdVmCall, TdIsEnabled) in BaseLib are X86
> > specific. How about define them in #if defined (MDE_CPU_IA32) || defined
> > (MDE_CPU_X64) in BaseLib.h?
> Sure. It will be updated in the next version.
> 
> > 2. I don't find new resource attribute EFI_RESOURCE_ATTRIBUTE_ENCRYPTED
> > in the latest PI PI_Spec_1_7_A_final_May1.pdf. Can you let me know which
> > spec defines it?
> EFI_RESOURCE_ATTRIBUTE_ENCRYPTED is deprecated. According to [TDVF]
> Table 7-1 private memory is distinguished with Unaccepted Memory by
> ResourceType (Private Mem is EFI_RESOURCE_SYSTEM_MEMORY, Unaccepted
> Mem is EFI_RESOURCE_MEMORY_UNACCEPTED).  There is a PR about
> EFI_RESOURCE_MEMORY_UNACCEPTED and the PR is approved.
> https://github.com/microsoft/mu_basecore/pull/66
> So in the next version EFI_RESOURCE_ATTRIBUTE_ENCRYPTED will be deleted.
> 
> Thanks
> Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87122): https://edk2.groups.io/g/devel/message/87122
Mute This Topic: https://groups.io/mt/89470838/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