riscv: andes: Support specifying symbolic firmware and hardware raw events
authorLocus Wei-Han Chen <locus84@andestech.com>
Thu, 22 Feb 2024 08:39:46 +0000 (16:39 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Tue, 12 Mar 2024 14:13:19 +0000 (07:13 -0700)
commitf5102e31c209798cafd2d79463f5093771aadc12
treeeb57399825f6476e1b10e0e8a9ecf81815f50f7e
parent270fc77e7b0e38964635c2c5d87ad354dbd2cd34
riscv: andes: Support specifying symbolic firmware and hardware raw events

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>
tools/perf/pmu-events/arch/riscv/andes/ax45/firmware.json [new file with mode: 0644]
tools/perf/pmu-events/arch/riscv/andes/ax45/instructions.json [new file with mode: 0644]
tools/perf/pmu-events/arch/riscv/andes/ax45/memory.json [new file with mode: 0644]
tools/perf/pmu-events/arch/riscv/andes/ax45/microarch.json [new file with mode: 0644]
tools/perf/pmu-events/arch/riscv/mapfile.csv