On Wed, Jan 19, 2022 at 05:03:30PM -0600, Brijesh Singh wrote: > This is the first of cleanup for SEV MemEncryptLib. The library uses > the CPUID followed by the MSR read to determine whether SEV is enabled. > > Now that we have a workarea concept, the logic can be simplified to > store the msr status in workarea and use that to build PCDs and then > later simply use the PCDs instead of going through the CPUID and RDMSR. > > The complete branch is available at > https://github.com/codomania/edk2/tree/sev-workarea-cleanup > > Brijesh Singh (2): > OvmfPkg/ResetVector: cache the SEV status MSR value in workarea > OvmfPkg/BaseMemEncryptLib: use the SEV_STATUS MSR value from workarea
Looks good to me. Acked-by: Gerd Hoffmann <kra...@redhat.com> take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#85894): https://edk2.groups.io/g/devel/message/85894 Mute This Topic: https://groups.io/mt/88547250/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-