Hi, > > Tom Lendacky's suggestion for SEV-SNP is to pre-accept all memory under > > 4GB to make all that complexity go away. Only this approach worked in my > > own testing. With the MMIO hole it's just validating 3GB of memory. > Accepting all memory under 4GB will make the things much simpler. In this way > I think the accept-on-demand maybe not needed. > A question: is there some performance impact when accepting all memory under > 4GB?
That would certainly be easiest when it is acceptable from a performance point of view. Will also simplify the code because you don't have to split the low memory block into accepted/unaccepted parts. It'll be 3G (-machine pc) or 2G (-machine q35) of memory. Is it possible to accept gigabyte pages btw? And, yes, this might be enough that accept-on-demand is not needed any more. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#90544): https://edk2.groups.io/g/devel/message/90544 Mute This Topic: https://groups.io/mt/91570202/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-