]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RISC-V: KVM: Allow bfloat16 extension for Guest/VM
authorQuan Zhou <zhouquan@iscas.ac.cn>
Fri, 8 Aug 2025 10:18:51 +0000 (18:18 +0800)
committerAnup Patel <anup@brainfault.org>
Tue, 16 Sep 2025 05:23:43 +0000 (10:53 +0530)
commit44c3d084e4c8737cbef6fed262af21965d6adfb1
treeafada5972577553b52e647aea3e4efcc1622871a
parent0efd9a29c52d357088e190d0bf6c33dc8ed53d2d
RISC-V: KVM: Allow bfloat16 extension for Guest/VM

Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Zfbfmin/Zvfbfmin/Zvfbfwma extension for Guest/VM.

Signed-off-by: Quan Zhou <zhouquan@iscas.ac.cn>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Nutty Liu <nutty.liu@hotmail.com>
Reviewed-by: Nutty Liu <liujingqi@lanxincomputing.com>
Link: https://lore.kernel.org/r/f846cecd330ab9fc88211c55bc73126f903f8713.1754646071.git.zhouquan@iscas.ac.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c