From: Anshul Dalal Date: Fri, 17 Oct 2025 13:15:33 +0000 (+0530) Subject: arm: mach-k3: reserve space for page table entries X-Git-Tag: v2026.01-rc1~11^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=342fd918b1bf2f00f52216297d5fe22272e8c7ca;p=thirdparty%2Fu-boot.git arm: mach-k3: reserve space for page table entries With the memory map configuration being done dynamically, reserve extra space during U-Boot relocation to ensure we have enough for the fixups. Reviewed-by: Dhruva Gole Signed-off-by: Anshul Dalal --- diff --git a/arch/arm/mach-k3/arm64/arm64-mmu.c b/arch/arm/mach-k3/arm64/arm64-mmu.c index 479451452a2..f999af143fb 100644 --- a/arch/arm/mach-k3/arm64/arm64-mmu.c +++ b/arch/arm/mach-k3/arm64/arm64-mmu.c @@ -41,3 +41,8 @@ struct mm_region k3_mem_map[K3_MEM_MAP_LEN] = { }; struct mm_region *mem_map = k3_mem_map; + +u64 get_page_table_size(void) +{ + return SZ_128K; +}