diff mbox series

[RFC,v2,19/21] riscv: Kconfig: Adjust mmap rnd bits for 64K Page

Message ID 20241205103729.14798-20-luxu.kernel@bytedance.com (mailing list archive)
State New
Headers show
Series riscv: Introduce 64K base page | expand

Checks

Context Check Description
conchuod/vmtest-for-next-PR fail PR summary
conchuod/patch-19-test-1 success .github/scripts/patches/tests/build_rv32_defconfig.sh took 208.74s
conchuod/patch-19-test-2 success .github/scripts/patches/tests/build_rv64_clang_allmodconfig.sh took 1336.00s
conchuod/patch-19-test-3 success .github/scripts/patches/tests/build_rv64_gcc_allmodconfig.sh took 1530.57s
conchuod/patch-19-test-4 success .github/scripts/patches/tests/build_rv64_nommu_k210_defconfig.sh took 79.95s
conchuod/patch-19-test-5 success .github/scripts/patches/tests/build_rv64_nommu_virt_defconfig.sh took 81.37s
conchuod/patch-19-test-6 warning .github/scripts/patches/tests/checkpatch.sh took 0.43s
conchuod/patch-19-test-7 success .github/scripts/patches/tests/dtb_warn_rv64.sh took 48.78s
conchuod/patch-19-test-8 success .github/scripts/patches/tests/header_inline.sh took 0.01s
conchuod/patch-19-test-9 success .github/scripts/patches/tests/kdoc.sh took 0.65s
conchuod/patch-19-test-10 success .github/scripts/patches/tests/module_param.sh took 0.02s
conchuod/patch-19-test-11 success .github/scripts/patches/tests/verify_fixes.sh took 0.00s
conchuod/patch-19-test-12 success .github/scripts/patches/tests/verify_signedoff.sh took 0.04s
conchuod/vmtest-fixes-PR fail merge-conflict

Commit Message

Xu Lu Dec. 5, 2024, 10:37 a.m. UTC
Signed-off-by: Xu Lu <luxu.kernel@bytedance.com>
---
 arch/riscv/Kconfig | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig
index 592eb5766029..9dfe95a12890 100644
--- a/arch/riscv/Kconfig
+++ b/arch/riscv/Kconfig
@@ -253,6 +253,7 @@  config ARCH_MMAP_RND_COMPAT_BITS_MIN
 # max bits determined by the following formula:
 #  VA_BITS - PAGE_SHIFT - 3
 config ARCH_MMAP_RND_BITS_MAX
+	default 20 if 64BIT && RISCV_64K_PAGES # SV39 based
 	default 24 if 64BIT # SV39 based
 	default 17