]> www.infradead.org Git - users/dwmw2/linux.git/commit
RISC-V: KVM: Allow Zcmop extension for Guest/VM
authorClément Léger <cleger@rivosinc.com>
Wed, 19 Jun 2024 11:35:25 +0000 (13:35 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Wed, 26 Jun 2024 14:54:59 +0000 (07:54 -0700)
commit29cf9b803e6e9f1421f090478e624ca4c637c835
tree515f2dc3afed2f10060bd12217d6da9452f0ed16
parentfc078ea317cc856c1e82997da7e8fd4d6da7aa29
RISC-V: KVM: Allow Zcmop extension for Guest/VM

Extend the KVM ISA extension ONE_REG interface to allow KVM user space
to detect and enable Zcmop 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-16-cleger@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu_onereg.c