RISC-V: KVM: Add SBI STA extension skeleton
authorAndrew Jones <ajones@ventanamicro.com>
Wed, 20 Dec 2023 16:00:17 +0000 (17:00 +0100)
committerAnup Patel <anup@brainfault.org>
Sat, 30 Dec 2023 05:56:20 +0000 (11:26 +0530)
commit5fed84a800e6048656c17be6e921787db2b5c6c0
tree141aacca524078853cbe36c1194739c785fa1076
parentfdf68acccfc6af9497c34ee411d89af13b6516ed
RISC-V: KVM: Add SBI STA extension skeleton

Add the files and functions needed to support the SBI STA
(steal-time accounting) extension. In the next patches we'll
complete the functions to fully enable SBI STA support.

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>
arch/riscv/include/asm/kvm_vcpu_sbi.h
arch/riscv/include/uapi/asm/kvm.h
arch/riscv/kvm/Makefile
arch/riscv/kvm/vcpu_sbi.c
arch/riscv/kvm/vcpu_sbi_sta.c [new file with mode: 0644]