Hi Tom, The following changes since commit 9805321dfdeb5225fe5c5e0721abf49c0875637e:
Kconfig: Introduce CONFIG_WERROR (2025-03-13 14:23:11 -0600) are available in the Git repository at: https://source.denx.de/u-boot/custodians/u-boot-tpm/ tags/mmu-next-14032025 for you to fetch changes up to fb553201b67aededdc794f3a0880e386771cbd58: arm64: Enable RW, RX and RO mappings for the relocated binary (2025-03-14 13:37:54 +0200) This is identical to the v4 posted here [0] but with Andre's comments addressed. I skipped sending a v5 since the number of recipients are large and most of the patches were already reviewed. The CI at https://source.denx.de/u-boot/custodians/u-boot-tpm/-/pipelines/25152 showed no issues. Please pull! [0] https://lore.kernel.org/u-boot/[email protected]/ ---------------------------------------------------------------- Up to now we configure the entire memory space for U-Boot as RWX. For modern architectures and security requirements, it's better to map the memory properly. This pull request adds basics support for mapping the U-Boot binary with proper (RO, RW, RW^X) memory permissions on aarch64 right after we relocate U-Boot in the top of DRAM. It's worrth noting that the linker script annotations are only added for the aarch64 architecture. We can, in the future, try to unify the linker -- at least for the architectures that have enough in common and expand this ---------------------------------------------------------------- Ilias Apalodimas (6): meminfo: add memory details for armv8 doc: update meminfo with arch specific information arm: Prepare linker scripts for memory permissions arm64: mmu_change_region_attr() add an option not to break PTEs treewide: Add a function to change page permissions arm64: Enable RW, RX and RO mappings for the relocated binary arch/arc/lib/cache.c | 6 +++ arch/arm/cpu/arm926ejs/cache.c | 6 +++ arch/arm/cpu/armv7/cache_v7.c | 6 +++ arch/arm/cpu/armv7m/cache.c | 6 +++ arch/arm/cpu/armv8/cache_v8.c | 99 ++++++++++++++++++++++++++++++---------- arch/arm/cpu/armv8/u-boot.lds | 59 ++++++++++++++++-------- arch/arm/include/asm/armv8/mmu.h | 2 + arch/arm/include/asm/system.h | 18 ++++++++ arch/arm/lib/cache.c | 6 +++ arch/m68k/lib/cache.c | 6 +++ arch/nios2/lib/cache.c | 6 +++ arch/powerpc/lib/cache.c | 6 +++ arch/riscv/lib/cache.c | 6 +++ arch/sh/cpu/sh4/cache.c | 6 +++ arch/xtensa/lib/cache.c | 6 +++ cmd/meminfo.c | 6 +++ common/Kconfig | 13 ++++++ common/board_r.c | 20 ++++++++ doc/usage/cmd/meminfo.rst | 71 ++++++++++++++++++++-------- include/asm-generic/sections.h | 2 + include/cpu_func.h | 17 +++++++ 21 files changed, 313 insertions(+), 60 deletions(-)

