riscv: KVM: Apply insn-def to hlv encodings
authorAndrew Jones <ajones@ventanamicro.com>
Sun, 2 Oct 2022 04:48:20 +0000 (10:18 +0530)
committerAnup Patel <anup@brainfault.org>
Sun, 2 Oct 2022 04:48:20 +0000 (10:18 +0530)
commit26b73f14933e9c0beb88bb2fcee69d93572558ef
tree32269fd6c317898595b40ba3eacdac4001389ec7
parentbb233a11dc6b3774fd46087242d7627ecf5293ed
riscv: KVM: Apply insn-def to hlv encodings

Introduce hlv instruction encodings and apply them to KVM's use.
We're careful not to introduce hlv.d to 32-bit builds. Indeed,
we ensure the build fails if someone tries to use it.

Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/include/asm/insn-def.h
arch/riscv/kvm/vcpu_exit.c