Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp4496039rdb; Tue, 12 Dec 2023 00:37:30 -0800 (PST) X-Google-Smtp-Source: AGHT+IHg8Ppo2CaKtpMKRhja58AsyyKW/pS5GEtyOg1eVbH9fqZiQNB5NIukUNAvRWfUQN0RTwJV X-Received: by 2002:a05:6e02:1948:b0:35d:5421:3588 with SMTP id x8-20020a056e02194800b0035d54213588mr9557132ilu.17.1702370250399; Tue, 12 Dec 2023 00:37:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702370250; cv=none; d=google.com; s=arc-20160816; b=CXzc/1JYnGJB+tpjGND33jd5SCHoxljdmYdQGfIv1OgQhd++8mXlesz4Xpyq7oJ/y7 lvQfzEHaT42Cz9+ceaKHQdOyAaAfygo2qQP0ASeQktkGFf11Z1lnGQt2wFWO0nXddQiW fRjZC2rnWEQdFwhDGoDj7wUv8l2R9zRHW5oUij0excy6sHw6Cjaat+EWEAsUpUf371Ll edpR2nz5P9TqIeYwgovhQpkIG41uKIeyIcLCfmwsOmSvO72zqILDHkt/UggDG19GsMOv PEec/qYKgg5YZgkPGSCA9c0FV+9q7VQR3paHyhJhm8i30LdXDI+bAk7gpkX7F5MTvP45 ZaVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=QVtkbt1aEuoD9kvuiW8yFy1liZI39Bu8NnNdm0MzaH8=; fh=1iqzonL4A8S1sp2/DGQJWA1B8b1lc0u5RM8IElgIzdQ=; b=kmG6Bj4ZPDcU5xuq3sRhQ95MRRvtjId+54gPtWSqr0YIuxJbUvuJDDBzLFfACZ2bIl 4RjRoI9vBJw88lrX5rF7VLXJR2HkuP7HsXwzZEcNZfN2pF0R/nmWOR8CsbSwo3RHf8WT V6DEtpaWJ+IzMUHI4mtVgVXe5znFvyjiG7i8JJEmXYwqgs69BIxGRHJJD8j0niJRyx49 oqUUcSh/5iFNmkGRsa30g3BULogGVyWFB2IBvg1LZiBYOeFbuQNI4E/X0CdzaaFayDU5 TaKpcrD+imRzhzsZRzhNWbUGhb3RshkVjiTuPJL8xfUuJBgB8yXfv3i6KbwUgVDFyMu7 aWcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id b11-20020a6567cb000000b005c605cdc2b5si7241588pgs.186.2023.12.12.00.37.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Dec 2023 00:37:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=shingroup.cn Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 45F7E804DD9F; Tue, 12 Dec 2023 00:37:29 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345814AbjLLIhM (ORCPT + 99 others); Tue, 12 Dec 2023 03:37:12 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34202 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235109AbjLLIhB (ORCPT ); Tue, 12 Dec 2023 03:37:01 -0500 X-Greylist: delayed 147 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 12 Dec 2023 00:35:43 PST Received: from bg5.exmail.qq.com (bg5.exmail.qq.com [43.155.80.173]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6EDC712E; Tue, 12 Dec 2023 00:35:43 -0800 (PST) X-QQ-mid: bizesmtp76t1702369740tggbgcmn Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 12 Dec 2023 16:28:58 +0800 (CST) X-QQ-SSF: 01400000000000B0B000000A0000000 X-QQ-FEAT: aBJFcW+uBGZOIRSRO8DCOUwTInVzTYjBETeL0cf/Z9l32nz/XJIwpk4Ia+x8O qSoY3kzIRnkTKft/UdrEKONsHv8i0Or+bOURHFN64urNRvsmkUYiTstYB9WkGUc0H4AyiI/ y5Rh/py1UY9vdgNj/u5P3AFZgvoZtTCBpUVdu8n191TWAQL6ipsp+/41OS5ss3hFNkDZVvw jUrNNFgxXp4FwK3YNa75dPjYtn/G4vA/xXaHiEZNoEgaqzTqdBRqfEPxMgSYYQT+FgXWyOR DX/rV+c55mDOnrzKDhMZmW49m5O2Y4kEod61nM1ZxfBK6UJsJZTSwEzO0ju9ZemGsREAAq8 sw5F3Gy2xGw/BNf1LHTTInBq+TG0/dHuHBFTLfPanexCat+VxxwF2G9MMomGnsaw6/O5wa3 60+RSDEeRCdPjtAel6CVXQ== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 2540312450627616497 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: "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: Tue, 12 Dec 2023 16:28:43 +0800 Message-Id: <20231212082843.9664-1-jialong.yang@shingroup.cn> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:shingroup.cn:qybglogicsvrgz:qybglogicsvrgz6a-1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 12 Dec 2023 00:37:29 -0800 (PST) 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