arch/riscv/include/asm/kvm_nacl.h
0 → 100644
+239
−0
+1
−0
+49
−2
arch/riscv/kvm/nacl.c
0 → 100644
+152
−0
Loading
Add a common nested acceleration support which will be shared by all parts of KVM RISC-V. This nested acceleration support detects and enables SBI NACL extension usage based on static keys which ensures minimum impact on the non-nested scenario. Signed-off-by:Anup Patel <apatel@ventanamicro.com> Reviewed-by:
Atish Patra <atishp@rivosinc.com> Link: https://lore.kernel.org/r/20241020194734.58686-9-apatel@ventanamicro.com Signed-off-by:
Anup Patel <anup@brainfault.org>