Skip to content

Commit c2df7d4

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 05e6b07 commit c2df7d4

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
@@ -1367,7 +1367,7 @@ config ARM64_VA_BITS_48
13671367

13681368
config ARM64_VA_BITS_52
13691369
bool "52-bit"
1370-
depends on ARM64_PAN || !ARM64_SW_TTBR0_PAN
1370+
depends on ARM64_64K_PAGES && (ARM64_PAN || !ARM64_SW_TTBR0_PAN)
13711371
help
13721372
Enable 52-bit virtual addressing for userspace when explicitly
13731373
requested via a hint to mmap(). The kernel will also use 52-bit
@@ -1414,11 +1414,10 @@ choice
14141414

14151415
config ARM64_PA_BITS_48
14161416
bool "48-bit"
1417-
depends on ARM64_64K_PAGES || !ARM64_VA_BITS_52
14181417

14191418
config ARM64_PA_BITS_52
1420-
bool "52-bit"
1421-
depends on ARM64_64K_PAGES || ARM64_VA_BITS_52
1419+
bool "52-bit (ARMv8.2)"
1420+
depends on ARM64_64K_PAGES
14221421
depends on ARM64_PAN || !ARM64_SW_TTBR0_PAN
14231422
help
14241423
Enable support for a 52-bit physical address space, introduced as

0 commit comments

Comments
 (0)