perf vendor events powerpc: Add PVN for HX-C2000 CPU with Power8 Architecture

HX-C2000 is a new CPU made by HEXIN Technologies Co., Ltd. And a new PVN
0x0066 has been applied from the OpenPower Community for this CPU.

Here is a patch to make perf tool run in the CPU.

Reviewed-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Signed-off-by: JiaLong.Yang <jialong.yang@shingroup.cn>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: shenghui.qu@shingroup.cn
Cc: Zhao Ke <ke.zhao@shingroup.cn>
Cc: zhijie.ren@shingroup.cn
Link: https://lore.kernel.org/r/20231221060242.4532-1-jialong.yang@shingroup.cn
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
JiaLong.Yang 2023-12-21 14:02:41 +08:00 committed by Arnaldo Carvalho de Melo
parent 457caadce7
commit ac254dfb98

View file

@ -11,8 +11,7 @@
#
# Multiple PVRs could map to a single JSON file.
#
# Power8 entries
0x004[bcd][[:xdigit:]]{4},1,power8,core
0x0066[[:xdigit:]]{4},1,power8,core
0x004e[[:xdigit:]]{4},1,power9,core
0x0080[[:xdigit:]]{4},1,power10,core

1 # Format:
11 #
12 # Multiple PVRs could map to a single JSON file.
13 #
# Power8 entries
0x004[bcd][[:xdigit:]]{4},1,power8,core
14 0x004e[[:xdigit:]]{4},1,power9,core 0x004[bcd][[:xdigit:]]{4},1,power8,core
15 0x0066[[:xdigit:]]{4},1,power8,core
16 0x0080[[:xdigit:]]{4},1,power10,core 0x004e[[:xdigit:]]{4},1,power9,core
17 0x0080[[:xdigit:]]{4},1,power10,core