[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20220201082227.361967-1-apatel@ventanamicro.com>
Date: Tue, 1 Feb 2022 13:52:21 +0530
From: Anup Patel <apatel@...tanamicro.com>
To: Paolo Bonzini <pbonzini@...hat.com>,
Atish Patra <atishp@...shpatra.org>
Cc: Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Albert Ou <aou@...s.berkeley.edu>,
Alistair Francis <Alistair.Francis@....com>,
Anup Patel <anup@...infault.org>, kvm@...r.kernel.org,
kvm-riscv@...ts.infradead.org, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org, Anup Patel <apatel@...tanamicro.com>
Subject: [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(-)
--
2.25.1
Powered by blists - more mailing lists