summaryrefslogtreecommitdiff
path: root/drivers/perf/riscv_pmu.c
diff options
context:
space:
mode:
authorVadim Shakirov <vadim.shakirov@syntacore.com>2024-02-27 20:00:01 +0300
committerPalmer Dabbelt <palmer@rivosinc.com>2024-02-27 23:55:35 +0300
commit65730fe8f4fb039683d76fa8ea7e8d18a53c6cc6 (patch)
tree015e38ede61a399d6c847e4c3666f24c8e85850b /drivers/perf/riscv_pmu.c
parent6613476e225e090cc9aad49be7fa504e290dd33d (diff)
downloadlinux-65730fe8f4fb039683d76fa8ea7e8d18a53c6cc6.tar.xz
drivers: perf: added capabilities for legacy PMU
Added the PERF_PMU_CAP_NO_INTERRUPT flag because the legacy pmu driver does not provide sampling capabilities Added the PERF_PMU_CAP_NO_EXCLUDE flag because the legacy pmu driver does not provide the ability to disable counter incrementation in different privilege modes Suggested-by: Atish Patra <atishp@rivosinc.com> Signed-off-by: Vadim Shakirov <vadim.shakirov@syntacore.com> Reviewed-by: Atish Patra <atishp@rivosinc.com> Fixes: 9b3e150e310e ("RISC-V: Add a simple platform driver for RISC-V legacy perf") Link: https://lore.kernel.org/r/20240227170002.188671-2-vadim.shakirov@syntacore.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'drivers/perf/riscv_pmu.c')
0 files changed, 0 insertions, 0 deletions