Hi, On 04.12.24 14:50, Ard Biesheuvel wrote: > On Wed, 4 Dec 2024 at 14:42, Vincent Stehlé <vincent.ste...@arm.com> wrote: > ConvertPointer() is only used internally by firmware in the > implementation of SetVirtualAddressMap(). No OS is supposed to call > it, and so the fact that Linux does not call it is expected. > > SetVirtualAddressMap() is required for general OS compatibility. > However, it is a source of bugs and very difficult to implement > correctly. And at the risk of getting ahead of Ilias's pitch, it is a > security issue too. So IMHO, EBBR should not get in the way of sound > security practices, and at least allow SetVirtualAddressMap() to be > omitted.
I have been slowly working towards adding EFI loader support to barebox. I too would prefer that SetVirtualAddressMap is not mandated as to avoid the associated complexity. Thanks, Ahmad > _______________________________________________ > boot-architecture mailing list -- boot-architecture@lists.linaro.org > To unsubscribe send an email to boot-architecture-le...@lists.linaro.org -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ boot-architecture mailing list -- boot-architecture@lists.linaro.org To unsubscribe send an email to boot-architecture-le...@lists.linaro.org