Re: [PATCH v8 13/22] RISC-V: perf: Add a mechanism to defined legacy event encoding
From: Charlie Jenkins
Date: Mon Jul 20 2026 - 03:28:47 EST
On Wed, 01 Jul 2026 01:47:01 -0700, Atish Patra <atish.patra@xxxxxxxxx> 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@xxxxxxxxx>
Tested-by: Charlie Jenkins <thecharlesjenkins@xxxxxxxxx>
--
- Charlie