diff mbox series

[03/11] mach-snapdragon: use 1MiB for get_page_table_size()

Message ID 20240809-b4-snapdragon-improvements-v1-3-7c353f3e8f74@linaro.org
State New
Headers show
Series mach-snapdragon: various improvements for newer boards | expand

Commit Message

Caleb Connolly Aug. 8, 2024, 11:59 p.m. UTC
From: Neil Armstrong <neil.armstrong@linaro.org>

With 14+ entries in the memory map, we need quite a bit more space for
the page tables.

Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
---
 arch/arm/mach-snapdragon/board.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Caleb Connolly Aug. 9, 2024, 12:04 a.m. UTC | #1
On 09/08/2024 01:59, Caleb Connolly wrote:
> From: Neil Armstrong <neil.armstrong@linaro.org>
> 
> With 14+ entries in the memory map, we need quite a bit more space for
> the page tables.
> 
> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>

Forgot my SoB
> ---
>   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 8947cf913dff..0e8234a62b28 100644
> --- a/arch/arm/mach-snapdragon/board.c
> +++ b/arch/arm/mach-snapdragon/board.c
> @@ -416,9 +416,9 @@ 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)
>   {
>
diff mbox series

Patch

diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
index 8947cf913dff..0e8234a62b28 100644
--- a/arch/arm/mach-snapdragon/board.c
+++ b/arch/arm/mach-snapdragon/board.c
@@ -416,9 +416,9 @@  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)
 {