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

Arnd Bergmann
2025-11-28T13:57:48Z

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