Merge patch series "Add SBI v3.0 PMU enhancements" Atish Patra <atishp@rivosinc.com> says: SBI v3.0 specification[1] added two new improvements to the PMU chaper. 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 [4]. This series will conflict with counter delegation patch series[4]. This series is gated on SBI v3.0 freeze requirement while counter delegation series is very early. I will rebase one of them on the other as we gather more reviews and closer to merge. [1] https://github.com/riscv-non-isa/riscv-sbi-doc/releases/download/vv3.0-rc2/riscv-sbi.pdf [2] https://github.com/riscv/riscv-isa-manual/issues/1578 [3] https://github.com/atishp04/linux/tree/b4/pmu_event_info_v2 [4] https://lore.kernel.org/kvm/20250114-counter_delegation-v2-0-8ba74cdb851b@rivosinc.com/ * patches from https://lore.kernel.org/r/20250115-pmu_event_info-v2-0-84815b70383b@rivosinc.com: RISC-V: KVM: Upgrade the supported SBI version to 3.0 RISC-V: KVM: Implement get event info function RISC-V: KVM: Use the new gpa range validate helper function KVM: Add a helper function to validate vcpu gpa range drivers/perf: riscv: Export PMU event info function drivers/perf: riscv: Implement PMU event info function RISC-V: KVM: Add support for Raw event v2 drivers/perf: riscv: Add raw event v2 support drivers/perf: riscv: Add SBI v3.0 flag Link: https://lore.kernel.org/r/20250115-pmu_event_info-v2-0-84815b70383b@rivosinc.com Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>