diff options
author | Atish Patra <atish.patra@wdc.com> | 2021-11-18 00:39:09 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-01-06 14:57:16 +0530 |
commit | a046c2d8578c93b85ab9272a818c821c254931d0 (patch) | |
tree | 0b9eff449695ca49a9c6d2d73fa1a74e73ba2e00 /arch/riscv/kvm/Makefile | |
parent | cf70be9d214c3ba8dd228cb373f7dc0edfa8da6b (diff) |
RISC-V: KVM: Reorganize SBI code by moving SBI v0.1 to its own file
With SBI v0.2, there may be more SBI extensions in future. It makes more
sense to group related extensions in separate files. Guest kernel will
choose appropriate SBI version dynamically.
Move the existing implementation to a separate file so that it can be
removed in future without much conflict.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Signed-off-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'arch/riscv/kvm/Makefile')
-rw-r--r-- | arch/riscv/kvm/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kvm/Makefile b/arch/riscv/kvm/Makefile index 300590225348..892c60b07823 100644 --- a/arch/riscv/kvm/Makefile +++ b/arch/riscv/kvm/Makefile @@ -19,4 +19,5 @@ kvm-y += vcpu_exit.o kvm-y += vcpu_fp.o kvm-y += vcpu_switch.o kvm-y += vcpu_sbi.o +kvm-$(CONFIG_RISCV_SBI_V01) += vcpu_sbi_v01.o kvm-y += vcpu_timer.o |