Re: [edk2-devel] [PATCH V2 14/28] OvmfPkg: Update SecEntry.nasm to support Tdx

2021-10-13 Thread Gerd Hoffmann
On Thu, Oct 14, 2021 at 12:55:22AM +, Xu, Min M wrote: > On October 12, 2021 6:39 PM, Gerd Hoffmann wrote: > > Hi, > > > > > - AcceptPages: > > >To mitigate the performance impact of accepting pages in SEC phase on > > >BSP, BSP will parse memory resources and assign each AP the tas

Re: [edk2-devel] [PATCH V2 14/28] OvmfPkg: Update SecEntry.nasm to support Tdx

2021-10-13 Thread Min Xu
On October 12, 2021 6:39 PM, Gerd Hoffmann wrote: > Hi, > > > - AcceptPages: > >To mitigate the performance impact of accepting pages in SEC phase on > >BSP, BSP will parse memory resources and assign each AP the task of > >accepting a subset of pages. This command may be called sev

Re: [edk2-devel] [PATCH V2 14/28] OvmfPkg: Update SecEntry.nasm to support Tdx

2021-10-12 Thread Gerd Hoffmann
Hi, > - AcceptPages: >To mitigate the performance impact of accepting pages in SEC phase on >BSP, BSP will parse memory resources and assign each AP the task of >accepting a subset of pages. This command may be called several times >until all memory resources are processed. In a

[edk2-devel] [PATCH V2 14/28] OvmfPkg: Update SecEntry.nasm to support Tdx

2021-10-04 Thread Min Xu
RFC: https://bugzilla.tianocore.org/show_bug.cgi?id=3429 In TDX BSP and APs goes to the same entry point in SecEntry.nasm. BSP initialize the temporary stack and then jumps to SecMain, just as legacy Ovmf does. APs spin in a modified mailbox loop using initial mailbox structure. Its structure de