On Tue, 20 Feb 2024 at 10:06, Gerd Hoffmann <kra...@redhat.com> wrote: > > Patch #1 + #2 fix MdeModulePkg/DxeIplPeim to not assert in case a > 5-level enabled build runs in 4-level paging mode. > > Patch #2 - #4 update OvmfPkg ResetVector, adding support for 5-level > paging (setup 5-level page tables in case both la57 and gigabyte pages > are supported by the vCPU). > > Patch #5 updates PlatformInitLib for 5-level paging support (update > PhysBits calculation). > > Known issues / limitations: > - BaseMemEncryptSevLib must be updated to also support 5-level > paging for full 5-level paging support in SEV mode. > > The patch series does *not* enable 5-level paging by default. > Building with 5-level paging support can be done by compiling > OVMF with '--pcd PcdUse5LevelPageTable=TRUE'. > > v3: > - add resetvector fixes for sev and tdx > v2 changes: > - fix sev/tdx handling with 5-level paging. > - more comments for 5-level page table setup. > - improve PAGE_* naming (new patch #3). > - rename Page5LevelSupported to Page5LevelEnabled (new patch #2). > - pick up some review tags. > > Gerd Hoffmann (6): > MdeModulePkg/DxeIplPeim: fix PcdUse5LevelPageTable assert > MdeModulePkg/DxeIplPeim: rename variable > OvmfPkg/ResetVector: improve page table flag names > OvmfPkg/ResetVector: SEV: keep #vc handler installed longer > OvmfPkg/ResetVector: add 5-level paging support > OvmfPkg/PlatformInitLib: add 5-level paging support >
I'm fine with all this but I haven't looked in great detail, so Acked-by: Ard Biesheuvel <a...@kernel.org> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115726): https://edk2.groups.io/g/devel/message/115726 Mute This Topic: https://groups.io/mt/104464306/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-