Re: [PATCH v6 0/8] Add SBI v3.0 PMU enhancements
From: Paul Walmsley <pjw@kernel.org>
Date: 2025-09-15 06:25:52
Also in:
kvm, kvm-riscv, linux-riscv, lkml
From: Paul Walmsley <pjw@kernel.org>
Date: 2025-09-15 06:25:52
Also in:
kvm, kvm-riscv, linux-riscv, lkml
On Tue, 9 Sep 2025, Atish Patra wrote:
SBI v3.0 specification[1] added two new improvements to the PMU chaper. The SBI v3.0 specification is frozen and under public review phase as per the RISC-V International guidelines. 1. Added an additional get_event_info function to query event availablity in bulk instead of individual SBI calls for each event. This helps in improving the boot time. 2. Raw event width allowed by the platform is widened to have 56 bits with RAW event v2 as per new clarification in the priv ISA[2]. Apart from implementing these new features, this series improves the gpa range check in KVM and updates the kvm SBI implementation to SBI v3.0. The opensbi patches have been merged. This series can be found at [3]. [1] https://github.com/riscv-non-isa/riscv-sbi-doc/releases/download/v3.0-rc7/riscv-sbi.pdf [2] https://github.com/riscv/riscv-isa-manual/issues/1578 [3] https://github.com/atishp04/linux/tree/b4/pmu_event_info_v6 Signed-off-by: Atish Patra <redacted>
For the series: Acked-by: Paul Walmsley <pjw@kernel.org> - Paul