]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM
authorPincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Tue, 26 Aug 2025 16:29:38 +0000 (00:29 +0800)
committerAnup Patel <anup@brainfault.org>
Fri, 6 Feb 2026 13:35:17 +0000 (19:05 +0530)
commitf326e846ff89c82083c09fa495457442c252983e
tree754ad9cd04a3231948cdb6d2f9c6a131521fc7f7
parent003b9dae53ae795930c54945e0b0a41bbd527b44
riscv: KVM: allow Zilsd and Zclsd extensions for Guest/VM

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

Signed-off-by: Pincheng Wang <pincheng.plct@isrc.iscas.ac.cn>
Reviewed-by: Nutty Liu <nutty.liu@hotmail.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20250826162939.1494021-5-pincheng.plct@isrc.iscas.ac.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c