]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf5a638a5d16402f576b1fd7592e9f6301e64958e
tree51d7b34b37b2be81d906d65122978d91a40b786b
parentb06d5ac52ebe35837a1346e126da9aa916a79b6f
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