Received: by 2002:a05:7412:d008:b0:f9:6acb:47ec with SMTP id bd8csp383438rdb; Tue, 19 Dec 2023 22:49:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5LISA8b5ZFfmyCskk7UHPIKEtYwnt1mzE+O+hbWU80h1Zi3Vq9ACwYr2t98Idz5LfQlVn X-Received: by 2002:a0c:c784:0:b0:67a:fd5:24a9 with SMTP id k4-20020a0cc784000000b0067a0fd524a9mr19104722qvj.19.1703054974974; Tue, 19 Dec 2023 22:49:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703054974; cv=none; d=google.com; s=arc-20160816; b=ZAum8PqpXTF81aIlR3xdYVudbkN166LKtNnk4u9AGv8zsR8C7VJ7tBTFsKrMauMYx7 Sutqr2H1ri+wTL2yEOoZSPHvOw/kTWrokCtugnoVPLwu8y9TuCq0EfembuKP9kdHC354 /J9ke4+LXasZ1B5q2Gl8EvySyeGfSFxr4AQSEJe/GyijG5+F7UNQw9fj+W9c+8kkxMka k06zl2VQ2npzQNTPPgPgKsUHv5DPdO9bfXHPFF/F3XpNS+/0or8U8H956+XjLBPcS6QO LCdCasNfSY0OQBkg5VnWp80fGLh5RiqJk8SKVF4aivzqUUaye5XhezLT3BcsYyRcX6s/ aKtw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=feedback-id:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=QVtkbt1aEuoD9kvuiW8yFy1liZI39Bu8NnNdm0MzaH8=; fh=FiT52zs6P7gIvXIPu7U+0pCifPioCuvOzlH55607FjM=; b=SivVJw+rTyC/Dw36D1NAreljLGUa+IkGtA9d6VCtePkhb4sDmnHawptsKsSY+O26ke P7P1OCeBC79GohPbHR9jI7vFey5lmG0S+p1tWai9vSFGQhQbqp56Esnypd9L5kX3BPQ1 62ShWz6N/mNSgD90O6wdvlsjjw7j0HyU7MOmqoP9J500ni919ev5i8HQmQLyBHvs6pzF ltoiQ8DFLWv6oVhAuotpc5eGgigc56d7O+/PQyss2yiKEsZ6oDCep+2qufZ965McBXhH pTJMsn2rPgYCQ+NZJYNGq39yPmXG9SUwlWjs4MfczO+PizM+zq/azvtxuwV4XMFbGlZ9 MmTQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6436-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6436-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id z12-20020a0cf00c000000b0067f29afb72fsi362656qvk.50.2023.12.19.22.49.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 Dec 2023 22:49:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-6436-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-6436-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-6436-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B98EB1C2571F for ; Wed, 20 Dec 2023 06:49:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9369A13ACF; Wed, 20 Dec 2023 06:49:27 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from bg5.exmail.qq.com (bg5.exmail.qq.com [43.154.197.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 06A97125DA; Wed, 20 Dec 2023 06:49:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=shingroup.cn Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=shingroup.cn X-QQ-mid: bizesmtp80t1703054733t6c8lpb8 Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 20 Dec 2023 14:45:31 +0800 (CST) X-QQ-SSF: A1400000000000B0B000000A0000000 X-QQ-FEAT: 4g9JbZ7lBbHk//+iFLQFeZT7naV0p2I3/OTu2SuW+MEM2i23F4cj5uzQ6v9NH ONfSW+jaJuU/YsDFttbpPfosiGMkuHDbhGRH77alkM6iRj5390UDG/tNlhN5JC9fEQ5a18h bhrHc34X6RKFmagfpyMKH5sY3NG/lqVu/6+c5hNuDU/EfpGk+00gIZ7nfMGt4SYtBr7DpgC kS4IiR7b1KEnSpHRtoBvN7YXFxxr9R+PqLU8h2BDS6nVfvdt4I8+mfE4CjlvBdlmMP3MRG0 wLuS/i18dspWhnu7byy6DIJqFMUZ/bTIcgxRihlAKBc4zNl9zcirZslWA2ZZia64b3/Y/pb 9lo8gkrwRXPDBUKxnwq19QVhfU0h9tc5whuNGmnPqXiFk6ZDlPx0bqevlOakZIUgZ4kcEaF x/yAXMtJA0V5PzXNtKOM1w== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 4118759023636609196 From: "JiaLong.Yang" To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter Cc: 2738078698@qq.com, "JiaLong.Yang" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] tools/perf: PVN for HX-C2000 CPU with Power8 Architecture Date: Wed, 20 Dec 2023 14:45:17 +0800 Message-Id: <20231220064518.16285-1-jialong.yang@shingroup.cn> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz6a-1 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 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