* [PATCH V0 RESEND] tools/perf: Add PVN for HX-C2000 CPU with Power8 Architecture
@ 2023-12-21 6:02 JiaLong.Yang
2023-12-21 10:11 ` Madhavan Srinivasan
0 siblings, 1 reply; 2+ messages in thread
From: JiaLong.Yang @ 2023-12-21 6:02 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Mark Rutland, Alexander Shishkin, Jiri Olsa, Namhyung Kim,
Ian Rogers, Adrian Hunter
Cc: shenghui.qu, ke.zhao, zhijie.ren, JiaLong.Yang, linux-perf-users,
linux-kernel
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.
Signed-off-by: JiaLong.Yang <jialong.yang@shingroup.cn>
---
Here tells detail info.
Link: https://lore.kernel.org/all/20231129075845.57976-1-ke.zhao@shingroup.cn/
tools/perf/pmu-events/arch/powerpc/mapfile.csv | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/perf/pmu-events/arch/powerpc/mapfile.csv b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
index f4908af7ad66..599a588dbeb4 100644
--- a/tools/perf/pmu-events/arch/powerpc/mapfile.csv
+++ b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
@@ -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
--
2.25.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH V0 RESEND] tools/perf: Add PVN for HX-C2000 CPU with Power8 Architecture
2023-12-21 6:02 [PATCH V0 RESEND] tools/perf: Add PVN for HX-C2000 CPU with Power8 Architecture JiaLong.Yang
@ 2023-12-21 10:11 ` Madhavan Srinivasan
0 siblings, 0 replies; 2+ messages in thread
From: Madhavan Srinivasan @ 2023-12-21 10:11 UTC (permalink / raw)
To: JiaLong.Yang, Peter Zijlstra, Ingo Molnar,
Arnaldo Carvalho de Melo, Mark Rutland, Alexander Shishkin,
Jiri Olsa, Namhyung Kim, Ian Rogers, Adrian Hunter
Cc: shenghui.qu, ke.zhao, zhijie.ren, linux-perf-users, linux-kernel
On 12/21/23 11:32 AM, JiaLong.Yang wrote:
> 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.
>
> Signed-off-by: JiaLong.Yang <jialong.yang@shingroup.cn>
Patch seems to be fine to me.
Reviewed-by: Madhavan Srinivasanan <maddy@linux.ibm.com>
> ---
> Here tells detail info.
> Link: https://lore.kernel.org/all/20231129075845.57976-1-ke.zhao@shingroup.cn/
>
> tools/perf/pmu-events/arch/powerpc/mapfile.csv | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/tools/perf/pmu-events/arch/powerpc/mapfile.csv b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> index f4908af7ad66..599a588dbeb4 100644
> --- a/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> +++ b/tools/perf/pmu-events/arch/powerpc/mapfile.csv
> @@ -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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-12-21 10:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21 6:02 [PATCH V0 RESEND] tools/perf: Add PVN for HX-C2000 CPU with Power8 Architecture JiaLong.Yang
2023-12-21 10:11 ` Madhavan Srinivasan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).