KVM RISC-V SBI v0.3 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | RISC-V: KVM: Upgrade SBI spec version to v0.3arch/ | +1 | 1 reply | |
| 2/6 | RISC-V: KVM: Add common kvm_riscv_vcpu_sbi_system_reset() functionarch/ arch/ arch/ | +22 | 1 reply | |
| 3/6 | RISC-V: KVM: Implement SBI v0.3 SRST extensionarch/ arch/ | +46 | 1 reply | |
| 4/6 | RISC-V: Add SBI HSM suspend related definesarch/ arch/ arch/ | +25 | 1 reply | |
| 5/6 | RISC-V: KVM: Add common kvm_riscv_vcpu_wfi() functionarch/ arch/ | +17 | 1 reply | |
| 6/6 | RISC-V: KVM: Implement SBI HSM suspend callarch/ | +14 | 1 reply |
Reviews trailers per patch
All 6 patches have a Reviewed-by or Acked-by.
| Patch | Atish Patra |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] KVM RISC-V SBI v0.3 support
This series adds initial support for SBI v0.3 which includes:
1) SBI SRST support for Guest
2) SBI HSM suspend for Guest
The SBI PMU support is intentionally left out and will be added as a separate patch series.
These patches can also be found in riscv_kvm_sbi_v03_v1 branch at:
https://github.com/avpatel/linux.git
Anup Patel (6):
RISC-V: KVM: Upgrade SBI spec version to v0.3
RISC-V: KVM: Add common kvm_riscv_vcpu_sbi_system_reset() function
RISC-V: KVM: Implement SBI v0.3 SRST extension
RISC-V: Add SBI HSM suspend related defines
RISC-V: KVM: Add common kvm_riscv_vcpu_wfi() function
RISC-V: KVM: Implement SBI HSM suspend call
arch/riscv/include/asm/kvm_host.h | 1 + arch/riscv/include/asm/kvm_vcpu_sbi.h | 5 ++- arch/riscv/include/asm/sbi.h | 27 +++++++++++++--- arch/riscv/kernel/cpu_ops_sbi.c | 2 +- arch/riscv/kvm/vcpu_exit.c | 22 ++++++++++---- arch/riscv/kvm/vcpu_sbi.c | 19 ++++++++++++ arch/riscv/kvm/vcpu_sbi_hsm.c | 18 +++++++++-- arch/riscv/kvm/vcpu_sbi_replace.c | 44 +++++++++++++++++++++++++++ arch/riscv/kvm/vcpu_sbi_v01.c | 18 ++--------- 9 files changed, 125 insertions(+), 31 deletions(-)
Signature · 1 line
2.25.1