When FEAT_LPA2 is implemented the hardware supports increasing the
physical address space from 48-bit to 52-bit.
As older kernels only support a 48-bit physical address space limit
where the kernel is loaded to this.
Sponsored by: Arm Ltd
Differential D46625
stand/efi: Limit where we load the arm64 kernel andrew on Sep 10 2024, 2:41 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event Timeline
Comment Actions Is there any way that we can know if the kernel supports higher loading? Otherwise we'll have this weird quirk forever... Comment Actions We need to start tagging arm64 kernels that can run about 48 bits so we don't have this workaround around forever
Comment Actions Not currently as no kernels support it. We could add an elf note when we support LPA2 in locore.S to tell loader the kernel supports executing from a higher address.
Comment Actions For amd64, when I needed to mark kernel as supporting load at arbitrary address below 4G (as opposed of 2M), I check for presence of the magic symbol 'kernphys'. |