]> 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)
commit10c291726ceba8a2244d6d22e9d6d5b2a8371c3c
tree51d7b34b37b2be81d906d65122978d91a40b786b
parentdaea8fc017564851cb81a1892a7aae62e08a9436
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