coreboot/src/mainboard
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
..
51nb mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
acer mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
adlink
amd mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
aopen device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
apple mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
asrock mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
asus mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
biostar mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
bostentech mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
bytedance soc/intel/xeon_sp/smihandler: Lock SMM_FEATURE_CONTROL on all sockets 2024-02-06 08:21:05 +00:00
cavium src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
clevo mb/clevo/tgl-u: Use enum for AZALIA_PIN_CFG misc field 2024-02-13 20:05:01 +00:00
compulab mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
dell mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
emulation mainboard/qemu-aarch64: Map entire RAM space as read-write memory 2024-02-15 14:21:32 +00:00
example
facebook mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
foxconn mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
getac mb/51nb to mb/gigabyte: Rename Makefiles from .inc to .mk 2024-01-24 10:17:55 +00:00
gigabyte mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
google mb/google/dedede/Kconfig.name: Alphabetize board listing 2024-02-14 22:23:09 +00:00
hp mb/hp/snb_ivb_laptops: Add SMBIOS slot information 2024-01-25 14:53:29 +00:00
ibase device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
ibm soc/intel/xeon_sp/smihandler: Lock SMM_FEATURE_CONTROL on all sockets 2024-02-06 08:21:05 +00:00
intel mainboard: Enforce usage of AZALIA_ARRAY_SIZES 2024-02-13 20:11:24 +00:00
inventec soc/intel/xeon_sp/smihandler: Lock SMM_FEATURE_CONTROL on all sockets 2024-02-06 08:21:05 +00:00
kontron device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
lenovo mb/lenovo/x230: Disable the USB P8 port 2024-02-15 02:15:56 +00:00
libretrend mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
msi mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
ocp soc/intel/xeon_sp/smihandler: Lock SMM_FEATURE_CONTROL on all sockets 2024-02-06 08:21:05 +00:00
opencellular src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
packardbell mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
pcengines device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
pine64 mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
portwell mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
prodrive mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
protectli src, util: Clean up makefile.inc in text, help & comments 2024-01-26 20:15:18 +00:00
purism mb/purism/librem_cnl: Set edk2 boot timeout for Librem Mini 2024-01-26 15:11:21 +00:00
razer mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
roda device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
samsung mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
sapphire mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
siemens device/device.h: Rename busses for clarity 2024-01-31 10:36:39 +00:00
sifive mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
starlabs mb/starlabs/starbook/kbl: Remove tcc_offset entry 2024-02-14 21:59:23 +00:00
supermicro include/device/device.h: Remove CHIP_NAME() macro 2024-01-31 09:51:58 +00:00
system76 mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
ti mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
up mb/lenovo to mb/squared: Rename Makefiles from .inc to .mk 2024-01-24 11:54:40 +00:00
Kconfig mainboard/Kconfig: add 24MB ROM size 2024-01-22 12:15:11 +00:00