Received: by 2002:a05:7412:b112:b0:f9:3106:f1c0 with SMTP id az18csp19081rdb; Sun, 17 Dec 2023 18:48:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IHLNOLo/QKv5sratY07mdcbluVhEGzwRtA113s4Y7PaaqGn4Cgch+yYjQtqP0YHpeHbWRJi X-Received: by 2002:a05:620a:880f:b0:77d:85cd:fa6b with SMTP id qj15-20020a05620a880f00b0077d85cdfa6bmr13395210qkn.78.1702867735809; Sun, 17 Dec 2023 18:48:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702867735; cv=none; d=google.com; s=arc-20160816; b=Axh2H4XDrz+Z8OaAnAhqU2UO/3CPtrXseUloGNSK7nzDPTly0gJ2NhYFNVUX9N78nv 1mBHnAPDLrWQHnv5b+0qDUN75c4B6bnsXx/RnsWvlED/q5zcJwDJH525+gMFfAmh+mTG jXJyGrAWAAWXDeigohm6danaqMOCvOPOG45180BfrSVJgmAgvl0H75iQVoXusvGQrDvP xtK5Rfi0EhZ3jdZE5J/Ox1Vp8w7MpM0ac4MfH4qM00sYUCa8r1WKzynczfr2lVx8NOLW 8QnpW0z8YKSqUkY8V03/RLtRR802urFuj+y0au2Pi9rUDYP+3zpOsgLNoGCE9q0LLgHD SJ8A== 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=QaTme3MRRTqtgXgiJrRyqOfL/D2dVCQhjfaBgFXYc4k=; b=jIVQ35lRAcdT4dRAB0l6JmrO1z40eUOqJ5O/6OACql1lkhnerP+cpdkXVIcPzmHwn+ CvncuTMHVgxFYHov5Ai6CYqZVJo4qXlaQP0sAXSb5GqHspjPbCBy6Vd5zDve3vTvsISR sM/qy6xKe5cWEpyZmzRWHOqd349+2kq2hUdsnyjGXom3PfNoUavpFQ5/PRMKf+VLs9Ak 79EVPU346Ypi9eE4yA0takwvTcDgVt/GqMSOBUA0eL2SgtZ7eNe3yT8y/GcBmUAenZlq y9EBH1kkpJQzotiFqqbjepHdTW6ePxWLDaQv3fvoowfFYU8Nk/g7tcsi1gKPtxNrYVcC 77tA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel+bounces-2943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2943-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 x11-20020a05620a448b00b007759f9416easi23437752qkp.635.2023.12.17.18.48.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 18:48:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2943-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-2943-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2943-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 4298F1C2214A for ; Mon, 18 Dec 2023 02:48:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4277525A; Mon, 18 Dec 2023 02:48:22 +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 3D13B1FCA; Mon, 18 Dec 2023 02:48:16 +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: bizesmtp71t1702867627tx88g6ua Received: from HX01040022.powercore.com.cn ( [223.112.234.130]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 18 Dec 2023 10:47:04 +0800 (CST) X-QQ-SSF: 01400000000000B0B000000A0000000 X-QQ-FEAT: r9wZAFwAeIhsT0p6iQDTCfhqVkKzHRN8P5N/1o9jgGyFAadu1hH7lhKVcGC9B BRIl3J4Fwxlm82r903iSnPJ1GkXFoJdG/HNfW240HFXoaAOvDeRfP3+5nd0fAICI6hlx3VH dBCzp2YoOLGwzM1FhidQYA0yGdQIcp/gGI/lBYcZsGAEopdOSX89zMJQc94mETZUpVLtS98 akstqJgMGCRc0CXBk+F+GO9ao7rLmJveUPbNeAQg7zv139vtx4J797/lDVy0Nu5vxaq0y/b MoEqsl0AT/A1kOO1IDbxc7Pe2ZkfHcn+I7ELXfAQePl868gli13uxCV0cMZZC6bOkRuW+8T UBYyBbNu2HbmnWeW6LoxDqUKehChVRk+S2udVzMzx43es85tyONAcYwRMCUf1tKjHIlBXsZ WNZOjZeeqUC8cpsDfWCwnA== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 609347166627549979 From: "JiaLong.Yang" To: shenghui.qu@shingroup.cn, ke.zhao@shingroup.cn, 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: Mon, 18 Dec 2023 10:47:03 +0800 Message-Id: <20231218024704.962-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