coreboot/payloads/libpayload/arch
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
..
arm libpayload: Use Kconfig for architecture memcpy, not weak symbols 2025-05-22 19:27:24 +00:00
arm64 libpayload/arch/arm64/mmu: Add CB_MEM_TAG to usedmem_ranges 2026-01-10 03:59:06 +00:00
mock libpayload/arch/mock: Select ARCH_HAS_NDELAY for ARCH_MOCK 2025-05-28 00:15:29 +00:00
riscv payloads/libpayload: Add support for RISC-V 64-bit architecture 2026-01-07 00:31:24 +00:00
x86 libpayload: Use Kconfig instead of weak symbol for arch_ndelay() 2025-05-22 19:27:30 +00:00