Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arm64: Kconfig: Add support for LSUI

Since Armv9.6, FEAT_LSUI supplies the load/store instructions for
previleged level to access to access user memory without clearing
PSTATE.PAN bit.

Add Kconfig option entry for FEAT_LSUI.

Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

authored by

Yeoreum Yun and committed by
Catalin Marinas
377609ae 16dbe77a

+20
+20
arch/arm64/Kconfig
··· 2215 2215 2216 2216 endmenu # "ARMv9.4 architectural features" 2217 2217 2218 + config AS_HAS_LSUI 2219 + def_bool $(as-instr,.arch_extension lsui) 2220 + help 2221 + Supported by LLVM 20+ and binutils 2.45+. 2222 + 2223 + menu "ARMv9.6 architectural features" 2224 + 2225 + config ARM64_LSUI 2226 + bool "Support Unprivileged Load Store Instructions (LSUI)" 2227 + default y 2228 + depends on AS_HAS_LSUI && !CPU_BIG_ENDIAN 2229 + help 2230 + The Unprivileged Load Store Instructions (LSUI) provides 2231 + variants load/store instructions that access user-space memory 2232 + from the kernel without clearing PSTATE.PAN bit. 2233 + 2234 + This feature is supported by LLVM 20+ and binutils 2.45+. 2235 + 2236 + endmenu # "ARMv9.6 architectural feature" 2237 + 2218 2238 config ARM64_SVE 2219 2239 bool "ARM Scalable Vector Extension support" 2220 2240 default y