[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAAhSdy1jAmCeqWoPi7QpuzW4stH6U-Z0pSHmyC93jBYbSr6_xw@mail.gmail.com>
Date: Mon, 8 Sep 2025 09:21:00 +0530
From: Anup Patel <anup@...infault.org>
To: Anup Patel <apatel@...tanamicro.com>
Cc: Atish Patra <atish.patra@...ux.dev>, Palmer Dabbelt <palmer@...belt.com>,
Paul Walmsley <paul.walmsley@...ive.com>, Alexandre Ghiti <alex@...ti.fr>,
Andrew Jones <ajones@...tanamicro.com>, Paolo Bonzini <pbonzini@...hat.com>,
Shuah Khan <shuah@...nel.org>, kvm@...r.kernel.org, kvm-riscv@...ts.infradead.org,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH v3 0/6] ONE_REG interface for SBI FWFT extension
On Sat, Aug 23, 2025 at 9:30 PM Anup Patel <apatel@...tanamicro.com> wrote:
>
> This series adds ONE_REG interface for SBI FWFT extension implemented
> by KVM RISC-V. This was missed out in accepted SBI FWFT patches for
> KVM RISC-V.
>
> These patches can also be found in the riscv_kvm_fwft_one_reg_v3 branch
> at: https://github.com/avpatel/linux.git
>
> Changes since v2:
> - Re-based on latest KVM RISC-V queue
> - Improved FWFT ONE_REG interface to allow enabling/disabling each
> FWFT feature from KVM userspace
>
> Changes since v1:
> - Dropped have_state in PATCH4 as suggested by Drew
> - Added Drew's Reviewed-by in appropriate patches
>
> Anup Patel (6):
> RISC-V: KVM: Set initial value of hedeleg in kvm_arch_vcpu_create()
> RISC-V: KVM: Introduce feature specific reset for SBI FWFT
> RISC-V: KVM: Introduce optional ONE_REG callbacks for SBI extensions
> RISC-V: KVM: Move copy_sbi_ext_reg_indices() to SBI implementation
> RISC-V: KVM: Implement ONE_REG interface for SBI FWFT state
> KVM: riscv: selftests: Add SBI FWFT to get-reg-list test
Queued this series for Linux-6.18
Regards,
Anup
>
> arch/riscv/include/asm/kvm_vcpu_sbi.h | 22 +-
> arch/riscv/include/asm/kvm_vcpu_sbi_fwft.h | 1 +
> arch/riscv/include/uapi/asm/kvm.h | 15 ++
> arch/riscv/kvm/vcpu.c | 3 +-
> arch/riscv/kvm/vcpu_onereg.c | 60 +----
> arch/riscv/kvm/vcpu_sbi.c | 172 +++++++++++--
> arch/riscv/kvm/vcpu_sbi_fwft.c | 227 ++++++++++++++++--
> arch/riscv/kvm/vcpu_sbi_sta.c | 63 +++--
> .../selftests/kvm/riscv/get-reg-list.c | 32 +++
> 9 files changed, 467 insertions(+), 128 deletions(-)
>
> --
> 2.43.0
>
Powered by blists - more mailing lists