[PATCH v8 13/22] RISC-V: perf: Add a mechanism to defined legacy event encoding
Charlie Jenkins
thecharlesjenkins at gmail.com
Mon Jul 20 00:21:59 PDT 2026
On Wed, 01 Jul 2026 01:47:01 -0700, Atish Patra <atish.patra at linux.dev> wrote:
> RISC-V ISA doesn't define any standard event encodings or specify
> any event to counter mapping. Thus, event encoding information
> and corresponding counter mapping fot those events needs to be
> provided in the driver for each vendor.
>
> Add a framework to support that. The individual platform events
> will be added later.
>
> [...]
Reviewed-by: Charlie Jenkins <thecharlesjenkins at gmail.com>
Tested-by: Charlie Jenkins <thecharlesjenkins at gmail.com>
--
- Charlie
More information about the linux-riscv
mailing list