coreboot/payloads/libpayload/arch/arm64
Yidi Lin e705c39009 libpayload/arch/arm64/mmu: Add CB_MEM_TAG to usedmem_ranges
CB_MEM_TAG is considered as an reserved memory. But we want to mange
this region in the payload and release this region when MTE is inactive.
Add CB_MEM_TAG memory range to usedmem_ranges to get a page table
mapping and mark it as used.

BUG=b:438666196,b:474306129
TEST=Check the tag region is wiped out in DEV mode.

Change-Id: I498407cbd44b1cc70ef769a63b8e40665ea67b28
Signed-off-by: Yidi Lin <yidilin@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/90702
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2026-01-10 03:59:06 +00:00
..
cache.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
coreboot.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
cpu.S libpayload/arm64: Support FEAT_CCIDX 2024-06-05 11:09:16 +00:00
exception.c libpayload: arm64: Fix alignment for exception_state 2025-11-10 02:36:39 +00:00
exception_asm.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
gdb.c libpayload: arm64: Fix alignment for exception_state 2025-11-10 02:36:39 +00:00
head.S libpayload: arm64: Fix asynchronous exception routing in payload 2025-11-25 16:49:56 +00:00
Kconfig libpayload: Use Kconfig for architecture memcpy, not weak symbols 2025-05-22 19:27:24 +00:00
libpayload.ldscript libpayload: Move back the ttb_buffer section 2024-01-11 21:02:30 +00:00
main.c libpayload/arch/x86: Update API handling of CBTABLE handoff 2023-05-24 11:49:51 +00:00
Makefile.mk libpayload: Unify selfboot() implementations 2025-02-11 20:59:57 +00:00
memcpy.S libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
memmove.S libpayload: Add support for arm64 in libpayload 2015-01-09 07:04:28 +01:00
memset.S libpayload arm64: Remove the DONT_USE_DC macro 2015-03-21 13:35:58 +01:00
mmu.c libpayload/arch/arm64/mmu: Add CB_MEM_TAG to usedmem_ranges 2026-01-10 03:59:06 +00:00
sysinfo.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
timer.c treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
util.S treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
virtual.c payloads: Drop unneeded empty lines 2020-09-21 16:20:57 +00:00