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

Huacai Chen
2025-11-28T14:27:49Z

On Fri, Nov 28, 2025 at 9:57 PM Arnd Bergmann <arnd@arndb.de> wrote:
>
> 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.
Yes, 4KB is correct, thank you for pointing out.

Huacai
>
> arnd
>