[PATCH 0/2] SBI PMU event related fixes

Atish Patra atishp at rivosinc.com
Mon Dec 9 16:04:44 PST 2024


Here are two minor improvement/fixes in the PMU event path. The first patch
was part of the series[1]. The 2nd patch was suggested during the series
review. 

While the series can only be merged once SBI v3.0 is frozen, these two
patches can be independent of SBI v3.0 and can be merged sooner. Hence, these
two patches are sent as a separate series.
 
[1] https://lore.kernel.org/kvm/20241119-pmu_event_info-v1-7-a4f9691421f8@rivosinc.com/T/#u

To: Paul Walmsley <paul.walmsley at sifive.com>
To: Palmer Dabbelt <palmer at dabbelt.com>
To: Atish Patra <atishp at atishpatra.org>
To: Anup Patel <anup at brainfault.org>
To: Will Deacon <will at kernel.org>
To: Mark Rutland <mark.rutland at arm.com>
To: Mayuresh Chitale <mchitale at ventanamicro.com>
To: Samuel Holland <samuel.holland at sifive.com>
Cc: Palmer Dabbelt <palmer at rivosinc.com>
Cc: linux-riscv at lists.infradead.org
Cc: linux-kernel at vger.kernel.org

Signed-off-by: Atish Patra <atishp at rivosinc.com>
---
Atish Patra (2):
      drivers/perf: riscv: Fix Platform firmware event data
      drivers/perf: riscv: Do not allow invalid raw event config

 arch/riscv/include/asm/sbi.h |  1 +
 drivers/perf/riscv_pmu_sbi.c | 20 ++++++++++----------
 2 files changed, 11 insertions(+), 10 deletions(-)
---
base-commit: fac04efc5c793dccbd07e2d59af9f90b7fc0dca4
change-id: 20241209-pmu_event_fixes-72cd448624a8
--
Regards,
Atish patra




More information about the linux-riscv mailing list