RISC-V: KVM: Treat SBI HFENCE calls as NOPs
authorAnup Patel <apatel@ventanamicro.com>
Mon, 9 May 2022 05:13:46 +0000 (10:43 +0530)
committerAnup Patel <anup@brainfault.org>
Fri, 20 May 2022 03:39:06 +0000 (09:09 +0530)
commitc7fa3c48de86053b0f1949fa5532082544e30fce
tree51d7b34b37b2be81d906d65122978d91a40b786b
parentb4bbb95ea6c41a616385902df81a66293f4b744c
RISC-V: KVM: Treat SBI HFENCE calls as NOPs

We should treat SBI HFENCE calls as NOPs until nested virtualization
is supported by KVM RISC-V. This will help us test booting a hypervisor
under KVM RISC-V.

Signed-off-by: Anup Patel <apatel@ventanamicro.com>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
arch/riscv/kvm/vcpu_sbi_replace.c