[edk2-devel] managing memory attributes in PEI

Ard Biesheuvel ardb at kernel.org
Tue May 23 14:58:47 UTC 2023


On Tue, 23 May 2023 at 16:49, Kinney, Michael D
<michael.d.kinney at intel.com> wrote:
>
> Ard,
>
> I would prefer to keep the IA32 PEI support for OVMF.
>

Sure. But does that imply that all enhancements regarding memory
protections should be introduced there as well?

If so, could you help figure out whether or not running IA32 PEI in
32-bit compatible long mode with 4 level page tables would be
feasible? That would greatly reduce the complexity, given that PEI and
DXE will be able to share page tables, and will only need one version
of the page table logic.

> Ray had proposed an idea to introduce a library class to help
> with the DXEIPL complexity.  Perhaps that can be combines with
> this effort.
>

Indeed. But the problem remains that creating a set of page tables
that are incompatible with the present execution mode is highly
specific to IA32 PEI + X64 DXE, and this impacts the code for all
other architectures.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#105196): https://edk2.groups.io/g/devel/message/105196
Mute This Topic: https://groups.io/mt/99062463/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list