On 10/4/23 1:46 AM, Gerd Hoffmann wrote:
On Fri, Sep 29, 2023 at 12:52:35PM -0700, Taylor Beebe wrote:
I can also update ArmVirtPkg to disable execution protection
for EfiLoaderData by default until fw_cfg parsing
support is added to ArmVirtPkg. Let me know if you think
this is necessary.
With MemoryProtectionConfigLib adding fw_cfg parsing support to
ArmVirtPkg should be easy, so maybe just do that?

From what I see, the QemuFwCfgLib instance compatible with Arm requires

UefiBootServicesTableLib so fw_cfg cannot be parsed early enough to set

the memory protection policy on ArmVirt.


An Arm compatible PEIM instance of QemuFwCfgLib will need to be created.

I'm happy to look into it, but I don't want to hang up this patch series on

that addition. Instead, I'll set the protection policy for ArmVirtPkg to the

equivalent of the new GrubCompat profile in this series.


Please let me know if I'm missing an obvious route to PEI fw_cfg

parsing on Arm.


-Taylor



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109328): https://edk2.groups.io/g/devel/message/109328
Mute This Topic: https://groups.io/mt/101469960/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to