]> www.infradead.org Git - users/willy/xarray.git/commit
RISC-V: KVM: Allow Zimop extension for Guest/VM
authorClément Léger <cleger@rivosinc.com>
Wed, 19 Jun 2024 11:35:14 +0000 (13:35 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Jun 2024 14:54:48 +0000 (07:54 -0700)
commitfb2a3d63efefe6bd3718201daba479f4339bb4bf
tree55f59e6656fbfff81c69c4b40a5180445d411dea
parent36f8960de887a5e2811c5d1c0517cfa6f419c1c4
RISC-V: KVM: Allow Zimop extension for Guest/VM

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

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Acked-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20240619113529.676940-5-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c