[edk2-devel] [PATCH 1/1] OvmfPkg: Store PageTablePool in TdxWorkArea

Yao, Jiewen jiewen.yao at intel.com
Tue Sep 27 03:00:33 UTC 2022


My feeling is that this mPageTablePool is an driver *internal* data.
It is not the best idea to expose an internal data structure to *public* space.

Can we have a way to move mPageTablePool to stack instead of global data area? such as input as function parameter?

Thank you
Yao Jiewen


> -----Original Message-----
> From: Gerd Hoffmann <kraxel at redhat.com>
> Sent: Friday, September 23, 2022 1:44 PM
> To: Xu, Min M <min.m.xu at intel.com>
> Cc: devel at edk2.groups.io; Aktas, Erdem <erdemaktas at google.com>;
> James Bottomley <jejb at linux.ibm.com>; Yao, Jiewen
> <jiewen.yao at intel.com>; Tom Lendacky <thomas.lendacky at amd.com>
> Subject: Re: [edk2-devel] [PATCH 1/1] OvmfPkg: Store PageTablePool in
> TdxWorkArea
> 
> On Thu, Sep 22, 2022 at 04:43:04AM +0000, Xu, Min M wrote:
> > Hi, Gerd
> > Do you have any comments on this patch?
> 
> Looks ok to me.
> 
> But I'm increasingly wondering whenever it actually was that a smart
> move to ditch the PEI phase for the IntelTdx builds.  Anything which
> can't be handled in DXE must be done in SEC, and the SEC restrictions
> seem to be a constant struggle.
> 
> We had that when adding tdx measurement support which required sha*
> hash support for SEC.  And this looks like another case ...
> 
> take care,
>   Gerd



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