mirror of
https://github.com/torvalds/linux.git
synced 2026-04-30 20:42:33 -04:00
Add the Andes AX45 JSON files that allows specifying symbolic event names for the raw PMU events. Signed-off-by: Locus Wei-Han Chen <locus84@andestech.com> Reviewed-by: Yu Chien Peter Lin <peterlin@andestech.com> Reviewed-by: Charles Ci-Jyun Wu <dminus@andestech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com> Tested-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> Acked-by: Atish Patra <atishp@rivosinc.com> Acked-by: Ian Rogers <irogers@google.com> Link: https://lore.kernel.org/r/20240222083946.3977135-11-peterlin@andestech.com Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
736 B
736 B
| 1 | # Format: |
|---|---|
| 2 | # MVENDORID-MARCHID-MIMPID,Version,JSON/file/pathname,Type |
| 3 | # |
| 4 | # where |
| 5 | # MVENDORID JEDEC code of the core provider |
| 6 | # MARCHID base microarchitecture of the hart |
| 7 | # MIMPID unique encoding of the version |
| 8 | # of the processor implementation |
| 9 | # Version could be used to track version of JSON file |
| 10 | # but currently unused. |
| 11 | # JSON/file/pathname is the path to JSON file, relative |
| 12 | # to tools/perf/pmu-events/arch/riscv/. |
| 13 | # Type is core, uncore etc |
| 14 | # |
| 15 | # |
| 16 | #MVENDORID-MARCHID-MIMPID,Version,Filename,EventType |
| 17 | 0x489-0x8000000000000007-0x[[:xdigit:]]+,v1,sifive/u74,core |
| 18 | 0x5b7-0x0-0x0,v1,thead/c900-legacy,core |
| 19 | 0x67e-0x80000000db0000[89]0-0x[[:xdigit:]]+,v1,starfive/dubhe-80,core |
| 20 | 0x31e-0x8000000000008a45-0x[[:xdigit:]]+,v1,andes/ax45,core |