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> |
||
|---|---|---|
| .. | ||
| arm | ||
| arm64 | ||
| mock | ||
| riscv | ||
| x86 | ||