On Mon, Nov 16, 2026 at 1:49 PM Arnd Bergmann <[email protected]> wrote:

> From: Arnd Bergmann <[email protected]>
>
> Unlike x86 and powerpc, there is currently no option to use exactly 2GiB
> of lowmem on Arm. Since 2GiB is still a relatively common configuration
> on embedded systems, it makes sense to allow this to be used in
> non-highmem builds.
>
> Add the Kconfig option and make this the default for non-LPAE builds
> with highmem enabled instead of CONFIG_VMSPLIT_2G.  LPAE still requires
> the vmsplit to be on a gigabyte boundary, so this is only available for
> classic pagetables at the moment, same as CONFIG_VMSPLIT_3G_OPT.
> Keep ARCH_MMAP_RND_BITS_MAX at 15 for this.
>
> Tested in qemu -M virt, both with and without HIGHMEM enabled.
>
> Acked-by: Mike Rapoport (Microsoft) <[email protected]>
> Acked-by: Lorenzo Stoakes (ARM) <[email protected]>
> Signed-off-by: Arnd Bergmann <[email protected]>

Reviewed-by: Linus Walleij <[email protected]>

Yours,
Linus Walleij

Reply via email to