]> git.dujemihanovic.xyz Git - linux.git/commitdiff
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)
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>

Trivial merge