diff options
author | Andrew Jones <ajones@ventanamicro.com> | 2023-12-20 19:00:22 +0300 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2023-12-30 08:56:38 +0300 |
commit | e9f12b5fff8ad0eefd0340273767d329ef65fd69 (patch) | |
tree | c15f725133659699d351f06b7fdbb9760a9c2165 /arch/riscv/kvm/Kconfig | |
parent | f61ce890b1f0742f17b3a5d1f8c72574a33ffeb2 (diff) | |
download | linux-e9f12b5fff8ad0eefd0340273767d329ef65fd69.tar.xz |
RISC-V: KVM: Implement SBI STA extension
Add a select SCHED_INFO to the KVM config in order to get run_delay
info. Then implement SBI STA's set-steal-time-shmem function and
kvm_riscv_vcpu_record_steal_time() to provide the steal-time info
to guests.
Reviewed-by: Anup Patel <anup@brainfault.org>
Reviewed-by: Atish Patra <atishp@rivosinc.com>
Signed-off-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'arch/riscv/kvm/Kconfig')
-rw-r--r-- | arch/riscv/kvm/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/riscv/kvm/Kconfig b/arch/riscv/kvm/Kconfig index dfc237d7875b..148e52b516cf 100644 --- a/arch/riscv/kvm/Kconfig +++ b/arch/riscv/kvm/Kconfig @@ -32,6 +32,7 @@ config KVM select KVM_XFER_TO_GUEST_WORK select MMU_NOTIFIER select PREEMPT_NOTIFIERS + select SCHED_INFO help Support hosting virtualized guest machines. |