On 9/16/21 3:33 AM, Gerd Hoffmann wrote: > On Mon, Sep 13, 2021 at 01:19:21PM -0500, Brijesh Singh wrote: >> BZ: >> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbugzilla.tianocore.org%2Fshow_bug.cgi%3Fid%3D3275&data=04%7C01%7Cbrijesh.singh%40amd.com%7C6495c28531da4bc30ce508d978ecab93%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637673780170202032%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=6AyBzL6AReYjbKGIrU%2FnaoPp6UGS09wQu%2FwONhcu9iA%3D&reserved=0 >> >> The SEV-SNP guest requires that GHCB GPA must be registered before using. >> See the GHCB specification section 2.3.2 for more details. > Already done in SEC phase (patch #9), why again in PEI?
The SEC begins with a fixed GHCB page; During the PEI phase, we allocate and switch to new per-CPU GHCB page and thus need to registration for the new GHCB. Please see the commit 449a6e493418c337752b68e4f199bd2d7d39af9f. thanks -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#80779): https://edk2.groups.io/g/devel/message/80779 Mute This Topic: https://groups.io/mt/85582699/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-