Re: [PATCH V4 14/14] LoongArch: Adjust build infrastructure for 32BIT/64BIT

From: Arnd Bergmann

Date: Fri Nov 28 2025 - 08:57:48 EST


On Thu, Nov 27, 2025, at 16:48, Huacai Chen wrote:
>
> +config 4KB_2LEVEL
> + bool "4KB with 2 levels"
> + select HAVE_PAGE_SIZE_4KB
> + select PGTABLE_2LEVEL
> + help
> + This option selects 16KB page size with 2 level page tables, which
> + support a maximum of 32 bits of application virtual memory.
> +

I just noticed this inconsistency: the text says 16KB pages, the
option says 4KB, so one of them is wrong. Usually 4KB pages have
a 32-bit address space (using 32-bit descriptors), so I assume
this one is correct.

arnd