]> git.baikalelectronics.ru Git - kernel.git/commit
RISC-V: KVM: Allow Guest use Zihintpause extension
authorMayuresh Chitale <mchitale@ventanamicro.com>
Sun, 2 Oct 2022 04:48:48 +0000 (10:18 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 2 Oct 2022 04:48:48 +0000 (10:18 +0530)
commit531bf60844f2564450d2f94d1fb1f345577b7976
tree54f18936f62aaff4d25e0a1710abea45b5fc1f41
parent38c7dabe8d025d5ef3e778b5f337b6a38e1843e4
RISC-V: KVM: Allow Guest use Zihintpause extension

We should advertise Zihintpause ISA extension to KVM user-space whenever
host supports it. This will allow KVM user-space (i.e. QEMU or KVMTOOL)
to pass on this information to Guest via ISA string.

Signed-off-by: Mayuresh Chitale <mchitale@ventanamicro.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/vcpu.c