]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01651e5bb1cd3b576e8570f6eb5b4f0411fc6b46
tree32269fd6c317898595b40ba3eacdac4001389ec7
parent6a97c906fc47d2448a4620ffdb9db8e3fe8b6f65
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