Qemu v9.0.2: Boot failed qemu-arm with Linux next-20241017 tag.

Peter Maydell peter.maydell at linaro.org
Thu Oct 24 02:27:43 PDT 2024


On Wed, 23 Oct 2024 at 20:47, Alex Bennée <alex.bennee at linaro.org> wrote:
> Agreed. However I think we were masking a calling issue that:
>
>     /* Actual RAM size depends on initial RAM and device memory settings */
>     [VIRT_MEM] =                { GiB, LEGACY_RAMLIMIT_BYTES },
>
> And:
>
>   -m 4G
>
> make no sense with no ARM_LPAE (which the kernel didn't have)

QEMU can't tell if the guest the user wants to boot
understands LPAE or not; it just provides the 4GB
of RAM, PCIe window above 4GB, etc, and describes them
in the dtb. It's up to the guest kernel to correctly
handle the >32bit addresses in the dtb, i.e. if it is
non-LPAE to ignore those resources it can't access
because they're out of range.

-- PMM



More information about the linux-arm-kernel mailing list