Re: [PATCH 0/2] RISC-V: KVM: Allow Zicclsm, Ziccamoa, Ziccif, Za64rs in guest

From: Anup Patel

Date: Thu Oct 22 2026 - 02:28:15 EST


On Thu, Oct 15, 2026 at 4:12 AM Heinrich Schuchardt
<heinrich.schuchardt@xxxxxxxxxxxxx> wrote:
>
> Extend the KVM ISA extension array to allow KVM userspace to
> detect Zicclsm, Ziccamoa, Ziccif, Za64rs.
>
> This is just notifying of hardware provided capabilities.
> No KVM specific support is needed.
>
> Add the extensions to the get-reg-list test.
>
> Heinrich Schuchardt (2):
> RISC-V: KVM: Allow Zicclsm, Ziccamoa, Ziccif, Za64rs in guest
> KVM: riscv: selftest: add Zicclsm, Ziccamoa, Ziccif, Za64rs

LGTM.

Reviewed-by: Anup Patel <anup@xxxxxxxxxxxxxx>

Queued this series for Linux-7.4

Thanks,
Anup

>
> arch/riscv/include/uapi/asm/kvm.h | 4 ++++
> arch/riscv/kvm/isa.c | 8 ++++++++
> tools/testing/selftests/kvm/riscv/get-reg-list.c | 16 ++++++++++++++++
> 3 files changed, 28 insertions(+)
>
> --
> 2.55.0
>