On Wed, Oct 13, 2021 at 11:56:57AM -0500, Brijesh Singh wrote: > BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3275 > > The MemEncryptSevSnpPreValidateSystemRam() is used for pre-validating the > system RAM. As the boot progress, each phase validates a fixed region of > the RAM. In the PEI phase, the PlatformPei detects all the available RAM > and calls to pre-validate the detected system RAM. > > While validating the system RAM in PEI phase, we must skip previously > validated system RAM to avoid the double validation.
Hmm, I think long-term we need something better to track page state than coding up ad-hoc solutions like this. But I think we can defer that until we add support for lazy acceptance / validation. The memory core will have to track page state anyway. So once memory core is updated we should be able to just use that instead of inventing something new. Acked-by: Gerd Hoffmann <kra...@redhat.com> take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#81988): https://edk2.groups.io/g/devel/message/81988 Mute This Topic: https://groups.io/mt/86292902/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-