Skip to content
Unverified Commit 310f541a authored by Liu Shixin's avatar Liu Shixin Committed by Palmer Dabbelt
Browse files

riscv: Enable HAVE_ARCH_HUGE_VMAP for 64BIT



This sets the HAVE_ARCH_HUGE_VMAP option, and defines the required page
table functions. With this feature, ioremap area will be mapped with
huge page granularity according to its actual size. This feature can be
disabled by kernel parameter "nohugeiomap".

Signed-off-by: default avatarLiu Shixin <liushixin2@huawei.com>
Reviewed-by: default avatarBjörn Töpel <bjorn@kernel.org>
Tested-by: default avatarBjörn Töpel <bjorn@kernel.org>
Link: https://lore.kernel.org/r/20221012120038.1034354-2-liushixin2@huawei.com


[Palmer: minor formatting]
Signed-off-by: default avatarPalmer Dabbelt <palmer@rivosinc.com>
parent 3558927f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment