target/riscv/kvm/kvm-cpu.c | 3 +++ 1 file changed, 3 insertions(+)
Expose zilsd, zclsd and zalasr.
Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
Acked-by: Alistair Francis <alistair.francis@wdc.com>
---
Changes in v2:
- Rebase on https://github.com/alistair23/qemu/tree/riscv-to-apply.next
---
target/riscv/kvm/kvm-cpu.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c
index f0de5c3071..707b992d55 100644
--- a/target/riscv/kvm/kvm-cpu.c
+++ b/target/riscv/kvm/kvm-cpu.c
@@ -304,10 +304,13 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = {
KVM_EXT_CFG("zihintntl", ext_zihintntl, KVM_RISCV_ISA_EXT_ZIHINTNTL),
KVM_EXT_CFG("zihintpause", ext_zihintpause, KVM_RISCV_ISA_EXT_ZIHINTPAUSE),
KVM_EXT_CFG("zihpm", ext_zihpm, KVM_RISCV_ISA_EXT_ZIHPM),
+ KVM_EXT_CFG("zilsd", ext_zilsd, KVM_RISCV_ISA_EXT_ZILSD),
KVM_EXT_CFG("zimop", ext_zimop, KVM_RISCV_ISA_EXT_ZIMOP),
KVM_EXT_CFG("zcmop", ext_zcmop, KVM_RISCV_ISA_EXT_ZCMOP),
+ KVM_EXT_CFG("zclsd", ext_zclsd, KVM_RISCV_ISA_EXT_ZCLSD),
KVM_EXT_CFG("zabha", ext_zabha, KVM_RISCV_ISA_EXT_ZABHA),
KVM_EXT_CFG("zacas", ext_zacas, KVM_RISCV_ISA_EXT_ZACAS),
+ KVM_EXT_CFG("zalasr", ext_zalasr, KVM_RISCV_ISA_EXT_ZALASR),
KVM_EXT_CFG("zawrs", ext_zawrs, KVM_RISCV_ISA_EXT_ZAWRS),
KVM_EXT_CFG("zfa", ext_zfa, KVM_RISCV_ISA_EXT_ZFA),
KVM_EXT_CFG("zfbfmin", ext_zfbfmin, KVM_RISCV_ISA_EXT_ZFBFMIN),
--
2.43.5
On Mon, Jun 22, 2026 at 4:59 PM Wang Yechao <wang.yechao255@zte.com.cn> wrote:
>
> Expose zilsd, zclsd and zalasr.
>
> Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
> Acked-by: Alistair Francis <alistair.francis@wdc.com>
Thanks!
Applied to riscv-to-apply.next
Alistair
> ---
> Changes in v2:
> - Rebase on https://github.com/alistair23/qemu/tree/riscv-to-apply.next
>
> ---
> target/riscv/kvm/kvm-cpu.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c
> index f0de5c3071..707b992d55 100644
> --- a/target/riscv/kvm/kvm-cpu.c
> +++ b/target/riscv/kvm/kvm-cpu.c
> @@ -304,10 +304,13 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = {
> KVM_EXT_CFG("zihintntl", ext_zihintntl, KVM_RISCV_ISA_EXT_ZIHINTNTL),
> KVM_EXT_CFG("zihintpause", ext_zihintpause, KVM_RISCV_ISA_EXT_ZIHINTPAUSE),
> KVM_EXT_CFG("zihpm", ext_zihpm, KVM_RISCV_ISA_EXT_ZIHPM),
> + KVM_EXT_CFG("zilsd", ext_zilsd, KVM_RISCV_ISA_EXT_ZILSD),
> KVM_EXT_CFG("zimop", ext_zimop, KVM_RISCV_ISA_EXT_ZIMOP),
> KVM_EXT_CFG("zcmop", ext_zcmop, KVM_RISCV_ISA_EXT_ZCMOP),
> + KVM_EXT_CFG("zclsd", ext_zclsd, KVM_RISCV_ISA_EXT_ZCLSD),
> KVM_EXT_CFG("zabha", ext_zabha, KVM_RISCV_ISA_EXT_ZABHA),
> KVM_EXT_CFG("zacas", ext_zacas, KVM_RISCV_ISA_EXT_ZACAS),
> + KVM_EXT_CFG("zalasr", ext_zalasr, KVM_RISCV_ISA_EXT_ZALASR),
> KVM_EXT_CFG("zawrs", ext_zawrs, KVM_RISCV_ISA_EXT_ZAWRS),
> KVM_EXT_CFG("zfa", ext_zfa, KVM_RISCV_ISA_EXT_ZFA),
> KVM_EXT_CFG("zfbfmin", ext_zfbfmin, KVM_RISCV_ISA_EXT_ZFBFMIN),
> --
> 2.43.5
> On Mon, Jun 22, 2026 at 4:59 PM Wang Yechao <wang.yechao255@zte.com..cn> wrote:
> >
> > Expose zilsd, zclsd and zalasr.
> >
> > Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn>
> > Acked-by: Alistair Francis <alistair.francis@wdc.com>
>
> Thanks!
>
> Applied to riscv-to-apply.next
>
> Alistair
>
Hi Alistair, could you please confirm if this patch was applied to the
riscv-to-apply.next branch? I can't seem to find it.
Regards,
Yechao
>
> > ---
> > Changes in v2:
> > - Rebase on https://github.com/alistair23/qemu/tree/riscv-to-apply.next
> >
> > ---
> > target/riscv/kvm/kvm-cpu.c | 3 +++
> > 1 file changed, 3 insertions(+)
> >
> > diff --git a/target/riscv/kvm/kvm-cpu.c b/target/riscv/kvm/kvm-cpu.c
> > index f0de5c3071..707b992d55 100644
> > --- a/target/riscv/kvm/kvm-cpu.c
> > +++ b/target/riscv/kvm/kvm-cpu.c
> > @@ -304,10 +304,13 @@ static KVMCPUConfig kvm_multi_ext_cfgs[] = {
> > KVM_EXT_CFG("zihintntl", ext_zihintntl, KVM_RISCV_ISA_EXT_ZIHINTNTL),
> > KVM_EXT_CFG("zihintpause", ext_zihintpause, KVM_RISCV_ISA_EXT_ZIHINTPAUSE),
> > KVM_EXT_CFG("zihpm", ext_zihpm, KVM_RISCV_ISA_EXT_ZIHPM),
> > + KVM_EXT_CFG("zilsd", ext_zilsd, KVM_RISCV_ISA_EXT_ZILSD),
> > KVM_EXT_CFG("zimop", ext_zimop, KVM_RISCV_ISA_EXT_ZIMOP),
> > KVM_EXT_CFG("zcmop", ext_zcmop, KVM_RISCV_ISA_EXT_ZCMOP),
> > + KVM_EXT_CFG("zclsd", ext_zclsd, KVM_RISCV_ISA_EXT_ZCLSD),
> > KVM_EXT_CFG("zabha", ext_zabha, KVM_RISCV_ISA_EXT_ZABHA),
> > KVM_EXT_CFG("zacas", ext_zacas, KVM_RISCV_ISA_EXT_ZACAS),
> > + KVM_EXT_CFG("zalasr", ext_zalasr, KVM_RISCV_ISA_EXT_ZALASR),
> > KVM_EXT_CFG("zawrs", ext_zawrs, KVM_RISCV_ISA_EXT_ZAWRS),
> > KVM_EXT_CFG("zfa", ext_zfa, KVM_RISCV_ISA_EXT_ZFA),
> > KVM_EXT_CFG("zfbfmin", ext_zfbfmin, KVM_RISCV_ISA_EXT_ZFBFMIN),
> > --
> > 2.43.5
On Mon, Jul 6, 2026 at 4:06 PM <wang.yechao255@zte.com.cn> wrote: > > > On Mon, Jun 22, 2026 at 4:59 PM Wang Yechao <wang.yechao255@zte.com..cn> wrote: > > > > > > Expose zilsd, zclsd and zalasr. > > > > > > Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn> > > > Acked-by: Alistair Francis <alistair.francis@wdc.com> > > > > Thanks! > > > > Applied to riscv-to-apply.next > > > > Alistair > > > > Hi Alistair, could you please confirm if this patch was applied to the > riscv-to-apply.next branch? I can't seem to find it. Oh sorry, it didn't get applied. It doesn't seem to apply to master or my branch though, are you able to rebase it Alistair
> > > > > On Mon, Jun 22, 2026 at 4:59 PM Wang Yechao <wang.yechao255@zte..com..cn> wrote: > > > > > > > > Expose zilsd, zclsd and zalasr. > > > > > > > > Signed-off-by: Wang Yechao <wang.yechao255@zte.com.cn> > > > > Acked-by: Alistair Francis <alistair.francis@wdc.com> > > > > > > Thanks! > > > > > > Applied to riscv-to-apply.next > > > > > > Alistair > > > > > > > Hi Alistair, could you please confirm if this patch was applied to the > > riscv-to-apply.next branch? I can't seem to find it. > > Oh sorry, it didn't get applied. It doesn't seem to apply to master or > my branch though, are you able to rebase it > > Alistair Ok, I'll rebase on the newest branch riscv-to-apply.next and resend this patch. Regards, Yechao
© 2016 - 2026 Red Hat, Inc.