]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
RISC-V: KVM: Allow Zalasr extensions for Guest/VM
authorXu Lu <luxu.kernel@bytedance.com>
Mon, 20 Oct 2025 04:24:56 +0000 (12:24 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 6 Feb 2026 13:35:26 +0000 (19:05 +0530)
commit655d330c058f4e16de46d5c9b203008c630b59c8
tree731cea836f5d2a8993f42b6cb19e12cabc2cacfd
parent39ad809dd2579d9b7400bbc50a5b95d84527b75e
RISC-V: KVM: Allow Zalasr extensions for Guest/VM

Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Zalasr extensions for Guest/VM.

Signed-off-by: Xu Lu <luxu.kernel@bytedance.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20251020042457.30915-5-luxu.kernel@bytedance.com
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c