coreboot/src
Alper Nebi Yasak 39e592aaaa mainboard/qemu-aarch64: Map entire RAM space as read-write memory
Commit 977b8e83cb ("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>
2024-02-15 14:21:32 +00:00
..
acpi acpi/acpi: Pass struct device to acpi_create_srat_gia_pci 2024-02-09 13:47:00 +00:00
arch arch/riscv/boot.c: Comment OpenSBI Supervisor mode switch 2024-02-10 17:28:47 +00:00
commonlib commonlib: Change GCD function to always use 64 bits 2024-02-08 13:13:58 +00:00
console lib,console,sbom: Rename Makefiles from .inc to .mk 2024-01-24 10:12:57 +00:00
cpu cpu/x86/64bit: Turn jumping to long mode into a macro 2024-02-08 13:11:59 +00:00
device device/device.h: Fix spelling mistake 2024-01-31 10:36:49 +00:00
drivers drv/gfx/generic: Add Intel ACPI Backlight funcs for LCD devices 2024-02-14 22:05:57 +00:00
ec ec/starlabs/merlin: Remove the call to pc_keyboard_init 2024-02-14 21:58:47 +00:00
include include/device/device: drop unused soft_reserved_ram_resource macro 2024-02-14 23:00:00 +00:00
lib lib: Move IP checksum to commonlib 2024-02-02 22:48:27 +00:00
mainboard mainboard/qemu-aarch64: Map entire RAM space as read-write memory 2024-02-15 14:21:32 +00:00
northbridge tree; Remove unused <lib.h> 2024-02-14 01:07:27 +00:00
sbom src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
security drivers/pc80/tpm: probe for TPM family of a device 2024-02-07 12:20:25 +00:00
soc tree; Remove unused <lib.h> 2024-02-14 01:07:27 +00:00
southbridge sb/intel/i82371eb/isa: make IOAPIC ID const 2024-02-06 16:28:49 +00:00
superio device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
vendorcode vc/amd/fsp/picasso: Bring picasso inline with other AMD SoC 2024-02-12 13:58:10 +00:00
Kconfig src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00