Merge patch series "drivers: perf: fix crash with the legacy riscv driver"
authorPalmer Dabbelt <palmer@rivosinc.com>
Tue, 27 Feb 2024 20:55:47 +0000 (12:55 -0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 27 Feb 2024 21:26:19 +0000 (13:26 -0800)
commit325731481cea11f0d5e771f6d9ba78cf13f08407
treeaf68d3db4d06beac2d608afcb64e0df5d3c05dfb
parentd82f32202e0df7bf40d4b67c8a4ff9cea32df4d9
parent682dc133f83e0194796e6ea72eb642df1c03dfbe
Merge patch series "drivers: perf: fix crash with the legacy riscv driver"

Vadim Shakirov <vadim.shakirov@syntacore.com> says:

This series fix crash with the legacy riscv driver when configs:
CONFIG_RISCV_PMU_LEGACY=y and CONFIG_RISCV_PMU_SBI=n and you try
to perf record

* b4-shazam-lts:
  drivers: perf: ctr_get_width function for legacy is not defined
  drivers: perf: added capabilities for legacy PMU

Link: https://lore.kernel.org/r/20240227170002.188671-1-vadim.shakirov@syntacore.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>