summaryrefslogtreecommitdiff
path: root/Documentation/arch/riscv
diff options
context:
space:
mode:
authorNam Cao <namcao@linutronix.de>2024-05-26 14:01:04 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2024-05-30 19:42:52 +0300
commit7bed51617401dab2be930b13ed5aacf581f7c8ef (patch)
tree916ab0ce2a66d0baf806a5471db55b4d2e01dbf6 /Documentation/arch/riscv
parenta638b0461b58aa3205cd9d5f14d6f703d795b4af (diff)
downloadlinux-7bed51617401dab2be930b13ed5aacf581f7c8ef.tar.xz
riscv: enable HAVE_ARCH_HUGE_VMAP for XIP kernel
HAVE_ARCH_HUGE_VMAP also works on XIP kernel, so remove its dependency on !XIP_KERNEL. This also fixes a boot problem for XIP kernel introduced by the commit in "Fixes:". This commit used huge page mapping for vmemmap, but huge page vmap was not enabled for XIP kernel. Fixes: ff172d4818ad ("riscv: Use hugepage mappings for vmemmap") Signed-off-by: Nam Cao <namcao@linutronix.de> Cc: <stable@vger.kernel.org> Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com> Link: https://lore.kernel.org/r/20240526110104.470429-1-namcao@linutronix.de Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'Documentation/arch/riscv')
0 files changed, 0 insertions, 0 deletions