Received: by 2002:a05:7412:a9a3:b0:f9:93eb:408e with SMTP id o35csp40287rdh; Wed, 20 Dec 2023 22:05:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IE4Tbm+aeNkszVW9MdGeu9p8LF6RtDx4aEhIwlQ2XSMBwlIPgxjBisS8tCclxOQ1I0bGwRR X-Received: by 2002:a05:622a:312:b0:427:95fa:5a40 with SMTP id q18-20020a05622a031200b0042795fa5a40mr1261003qtw.124.1703138723439; Wed, 20 Dec 2023 22:05:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703138723; cv=none; d=google.com; s=arc-20160816; b=04h+3pMJe5Fm4Ivo4hKBDjhlXrtnsYw+D0GHMivKCXbFMgOfXbQ3iV5u2chE+IfoEl S1zGWtq35IAcwBHT7zvlv3oVpBeE/lOXeoVaawkGVIUYrAKXEf4ffN+sUW0fgVweevJ3 XuLNXu6WR5E1FHWT2z6gUaktIy44vRTWmJ/0vi43UesQyVpooRmtn6WkalJ8HVm+bxnC 61vfLMT3Mll8OKsVWPk5FTDr5EIxhQkeU/TXusa0JEwnYgDtuxP4XrXLkKbmlGJtDbFd hELdCu6EkgD+QFdyZFY5gU+vxg9CKezDrv7PHb8nafuMDUen8JX9KxLkU3i9YttQYPzU h7gw== 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=u6E3yw/lLuXgPkPdmmKF3orpNZKYDjKt5x1rEl8RH0w=; fh=R2XZAnw9NZFQb4grRMjw202rSv31REc/67VP+ZIM0m8=; b=KVggyptK07V2YeDg4PeGjnhzQ87kOmE1hRCFpszHiuj6lpdQ669aiHMD6ANfzl12Os tEmYDc7ydJspA6Yo+sjYNVY1qp3xo0EL6rgUVMjBseZdw1aLaVYozZHjPrVkrBNNdK8I PX2HG047hBc9zc3fqaC6K9wmPEuoEs1cTMI778jO+VIW3VjamOdPEW3QmkmbAG69VyPu t3JOMLY+QkERtyiUx5tBL+5N6m6fQVeY/DG4cXT8YQVkybJs6bALEH+saeK0HYMDyBn6 uSx6S8HBXagAhz9WxDTilMSK3An7LUXz+wOak40gLC36Hh6NZkJdVlne2cT957Ik+tKK dn9g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7879-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. [147.75.199.223]) by mx.google.com with ESMTPS id o18-20020a05622a009200b004259f6d6ed4si1441108qtw.203.2023.12.20.22.05.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 22:05:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-7879-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7879-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 383371C22571 for ; Thu, 21 Dec 2023 06:05:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A827BB654; Thu, 21 Dec 2023 06:05:16 +0000 (UTC) X-Original-To: linux-kernel@vger.kernel.org Received: from smtpbgeu1.qq.com (smtpbgeu1.qq.com [52.59.177.22]) (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 D544DBA29; Thu, 21 Dec 2023 06:05:11 +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: bizesmtp89t1703138658te87spac Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 21 Dec 2023 14:04:16 +0800 (CST) X-QQ-SSF: 01400000000000B0B000000A0000000 X-QQ-FEAT: J5JfekO1Wsjz5NyORLhPTRxZaCE3ofmeLpw7waOCn0XanAKdVpbp6hjumU7+6 9tm+uoKbGjbWvocQsCJQqDgCb6NdSwtUoXMRpF0EUIhsTAekCAhL43wbcyg11T6OLZFBJWy 7LFfKCTEAFaCKUdAxRVtF8Rg3D00GuLvJvCbFeG1pQTebdrOBp3RRKEUibkaMx1JtQaMGhI L5kNuPOoBudZBpYBfWj7mXMQN+dYU77jMzQjTn5rSRyTG1jrGEdDq9hQODtoX1v/oRauH5L 8DWsXqbDttDtBfccK3cGTpqKd36Mag8FRuqGWA+J3cQXBNcNB9rtJKX9Qi3fxCE3QYuub9B c4O8w/eGUdq/ZIrtVbstgRJ9OSnEtx8qggpf5zB7FxrplQVnAyI/pgwd4oskx4QuAiz99w/ FcaZnt1NLoeDIQvLrrB4fQ== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 4835634459533132483 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: shenghui.qu@shingroup.cn, ke.zhao@shingroup.cn, zhijie.ren@shingroup.cn, "JiaLong.Yang" , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH V0 RESEND] tools/perf: Add PVN for HX-C2000 CPU with Power8 Architecture Date: Thu, 21 Dec 2023 14:02:41 +0800 Message-Id: <20231221060242.4532-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 --- 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