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 accepting pages, PageLevel
>    may fall back to smaller one if SIZE_MISMATCH error is returned.

Why add an assembler version of this?  There already is a C version (in
TdxLib, patch #2).  When adding lazy accept at some point in the future
we will stop accepting all pages in the SEC phase anyway.  There is Mp
support (patch #14) so you can distribute the load to all CPUs in PEI /
DXE phase if you want (although the benefits of parallel accept will be
much smaller once lazy accept is there).

take care,
  Gerd



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#83221): https://edk2.groups.io/g/devel/message/83221
Mute This Topic: https://groups.io/mt/86739864/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to