]> git.ipfire.org Git - thirdparty/linux.git/commit
arm64: defconfig: Enable LPA2 support
authorArd Biesheuvel <ardb@kernel.org>
Wed, 14 Feb 2024 12:29:27 +0000 (13:29 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Fri, 16 Feb 2024 12:42:43 +0000 (12:42 +0000)
commit5d101654226d64ac0a6928019fbf476b46e9d14b
tree6ba4cdc780fccb85ad57f79fea6a60ce5195a2fb
parent352b0395b5053fca01b9dc60294235511f5f3d65
arm64: defconfig: Enable LPA2 support

We typically enable support in defconfig for all architectural features
for which we can detect at runtime if the hardware actually supports
them.

Now that we have implemented support for LPA2 based 52-bit virtual
addressing in a way that should not impact 48-bit operation on non-LPA2
CPU, we can do the same, and enable 52-bit virtual addressing by
default.

Catalin adds:

  Currently the "Virtual address space size" arch/arm64/Kconfig menu
  entry sets different defaults for each page size. However, all are
  overridden by the defconfig to 48 bits. Set the new default in
  Kconfig and remove the defconfig line.

[ardb: squash follow-up fix from Catalin]

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Link: https://lore.kernel.org/r/20240214122845.2033971-86-ardb+git@google.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/Kconfig
arch/arm64/configs/defconfig