From d57a6da542b9d6810992a980f09abfe7da47e1b7 Mon Sep 17 00:00:00 2001 From: Neil Armstrong Date: Fri, 9 Aug 2024 01:59:26 +0200 Subject: [PATCH] mach-snapdragon: use 1MiB for get_page_table_size() With 14+ entries in the memory map, we need quite a bit more space for the page tables. Signed-off-by: Neil Armstrong Signed-off-by: Caleb Connolly --- arch/arm/mach-snapdragon/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c index 93de516d9e..3b9178925c 100644 --- a/arch/arm/mach-snapdragon/board.c +++ b/arch/arm/mach-snapdragon/board.c @@ -414,7 +414,7 @@ static void build_mem_map(void) u64 get_page_table_size(void) { - return SZ_64K; + return SZ_1M; } static int fdt_cmp_res(const void *v1, const void *v2) -- 2.39.5