diff options
| author | Atish Patra <atish.patra@wdc.com> | 2021-11-18 00:39:12 -0800 |
|---|---|---|
| committer | Anup Patel <anup@brainfault.org> | 2022-01-06 15:12:47 +0530 |
| commit | 3e1d86569c210ec64398091bd035e539f0e26e81 (patch) | |
| tree | 1ecb3115039784c60c92d0d9ea9194166b28af61 /arch/riscv/kvm/Makefile | |
| parent | 5f862df5585cf9d74b97ecaf3078243591f1009f (diff) | |
| download | lwn-3e1d86569c210ec64398091bd035e539f0e26e81.tar.gz lwn-3e1d86569c210ec64398091bd035e539f0e26e81.zip | |
RISC-V: KVM: Add SBI HSM extension in KVM
SBI HSM extension allows OS to start/stop harts any time. It also allows
ordered booting of harts instead of random booting.
Implement SBI HSM exntesion and designate the vcpu 0 as the boot vcpu id.
All other non-zero non-booting vcpus should be brought up by the OS
implementing HSM extension. If the guest OS doesn't implement HSM
extension, only single vcpu will be available to OS.
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 7fd9fc184ae9..e5c56182f48f 100644 --- a/arch/riscv/kvm/Makefile +++ b/arch/riscv/kvm/Makefile @@ -22,4 +22,5 @@ kvm-y += vcpu_sbi.o kvm-$(CONFIG_RISCV_SBI_V01) += vcpu_sbi_v01.o kvm-y += vcpu_sbi_base.o kvm-y += vcpu_sbi_replace.o +kvm-y += vcpu_sbi_hsm.o kvm-y += vcpu_timer.o |
