diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2022-08-12 00:04:02 +0200 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-08-12 16:17:38 +0200 |
commit | 9801002f76c63327cae6e90097d3d0afb1e1b562 (patch) | |
tree | 5ed9a44c151cb710b7c7e8343cb2e59e27443f8d /drivers/perf/riscv_pmu.c | |
parent | RISC-V: Add Sstc extension support (diff) | |
parent | RISC-V: Improve SBI definitions (diff) | |
download | linux-9801002f76c63327cae6e90097d3d0afb1e1b562.tar.xz linux-9801002f76c63327cae6e90097d3d0afb1e1b562.zip |
perf: riscv_pmu{,_sbi}: Miscallenous improvement & fixes
A series of mostly-independent fixes and cleanups for the RISC-V PMU
drivers.
Link: https://lore.kernel.org/lkml/CAAhSdy23vE8+HxU5Jxy2rBMjy3rBTrJt_4sriuROac_sEESSVw@mail.gmail.com/T/#m9de15aef1b65ae6155fa33ea1239578ef463c2a2
* palmer/riscv-pmu:
RISC-V: Improve SBI definitions
RISC-V: Move counter info definition to sbi header file
RISC-V: Fix SBI PMU calls for RV32
RISC-V: Update user page mapping only once during start
RISC-V: Fix counter restart during overflow for RV32
Diffstat (limited to 'drivers/perf/riscv_pmu.c')
-rw-r--r-- | drivers/perf/riscv_pmu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/perf/riscv_pmu.c b/drivers/perf/riscv_pmu.c index 2c961839903d..ebca5eab9c9b 100644 --- a/drivers/perf/riscv_pmu.c +++ b/drivers/perf/riscv_pmu.c @@ -170,7 +170,6 @@ int riscv_pmu_event_set_period(struct perf_event *event) left = (max_period >> 1); local64_set(&hwc->prev_count, (u64)-left); - perf_event_update_userpage(event); return overflow; } |