Skip to content

Commit 1c117da

Browse files
marcanjannau
authored andcommitted
Partial revert "arm64: Enable 52-bit virtual addressing for 4k and 16k granule configs"
This reverts commit 352b039. FEAT_LPA2 support is broken.
1 parent 19b059e commit 1c117da

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

arch/arm64/Kconfig

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1307,7 +1307,7 @@ config ARM64_VA_BITS_48
13071307

13081308
config ARM64_VA_BITS_52
13091309
bool "52-bit"
1310-
depends on ARM64_PAN || !ARM64_SW_TTBR0_PAN
1310+
depends on ARM64_64K_PAGES && (ARM64_PAN || !ARM64_SW_TTBR0_PAN)
13111311
help
13121312
Enable 52-bit virtual addressing for userspace when explicitly
13131313
requested via a hint to mmap(). The kernel will also use 52-bit
@@ -1354,11 +1354,10 @@ choice
13541354

13551355
config ARM64_PA_BITS_48
13561356
bool "48-bit"
1357-
depends on ARM64_64K_PAGES || !ARM64_VA_BITS_52
13581357

13591358
config ARM64_PA_BITS_52
1360-
bool "52-bit"
1361-
depends on ARM64_64K_PAGES || ARM64_VA_BITS_52
1359+
bool "52-bit (ARMv8.2)"
1360+
depends on ARM64_64K_PAGES
13621361
depends on ARM64_PAN || !ARM64_SW_TTBR0_PAN
13631362
help
13641363
Enable support for a 52-bit physical address space, introduced as

0 commit comments

Comments
 (0)