diff options
author | Alper Nebi Yasak <alpernebiyasak@gmail.com> | 2024-01-09 18:53:02 +0300 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2024-02-15 14:21:32 +0000 |
commit | 39e592aaaacd3509736bcdc130b3112d00404cc9 (patch) | |
tree | 0e509aadccf5977b46b849b461a8f1ad45dfdf05 /gnat.adc | |
parent | 21af2118072279c8ae1925e70ace9d358df8e416 (diff) |
mainboard/qemu-aarch64: Map entire RAM space as read-write memory
Commit 977b8e83cb0a ("mb/emulation/qemu-aarch64: Add MMU support") adds
MMU support for ARM64 QEMU VMs, but registers a limited 1GiB region for
the DRAM, with a note that ramstage should update it.
However on recent versions of QEMU "virt" VMs, accessing RAM outside
this registered region results in an exception even if the address is
backed by actual RAM. This interferes with RAM detection which catches
these exceptions, effectively limiting us to detecting a maximum 1GiB of
RAM even if more is available.
Register the entire RAM space to MMU instead of just the 1GiB, so that
probing RAM addresses can correctly detect how much RAM we have.
Change-Id: I3afbd27b91ab37304a29a62506f965ac3cfb1c06
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80321
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin L Roth <gaumless@gmail.com>
Diffstat (limited to 'gnat.adc')
0 files changed, 0 insertions, 0 deletions