riscv: enable mseal sysmap for RV64
authorJisheng Zhang <jszhang@kernel.org>
Sat, 26 Apr 2025 13:59:54 +0000 (21:59 +0800)
committerPalmer Dabbelt <palmer@dabbelt.com>
Thu, 5 Jun 2025 21:03:08 +0000 (14:03 -0700)
commita869b8c29f864b9530a6473a30c09546333b571a
tree1dc9285111c469e74203a6bc21a86ab7dca5fd58
parent6093faaf9593fca92f96f165c95ff4b53353b1f4
riscv: enable mseal sysmap for RV64

Provide support for CONFIG_MSEAL_SYSTEM_MAPPINGS for RV64, covering the
vdso, vvar.

Passed sysmap_is_sealed and mseal_test self tests.
Passed booting a buildroot rootfs image and a cli debian rootfs image.

Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Cc: Jeff Xu <jeffxu@chromium.org>
Link: https://lore.kernel.org/r/20250426135954.5614-1-jszhang@kernel.org
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
arch/riscv/Kconfig
arch/riscv/kernel/vdso.c