Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp868425rwe; Thu, 1 Sep 2022 08:47:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR4bXS7xIs87gEb9aWpRKfWvUCRzHUJfS7ahEBGF6PoJ0BxLS6jjRd7OgJ5javlsiMQEz6zy X-Received: by 2002:a63:5d4e:0:b0:41d:dcc3:aa85 with SMTP id o14-20020a635d4e000000b0041ddcc3aa85mr26578136pgm.324.1662047274563; Thu, 01 Sep 2022 08:47:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662047274; cv=none; d=google.com; s=arc-20160816; b=ORWYarwco3zSqW3ugAVt+IHmSRRi8hx6w9LHpWYT93fZjUz/pDQDBPnf9UMXqmMfwU Qx8ybirnM+99tOa+sx3D8LInunfgFDW+6sjPM0EnmtkrvMMgyeQe0ebtSw168b02c2jM E1UhxJr2HtEKdp9dDaCefeod0KuOUYX/HNSjObs0AWpddtGRC72Ok9RwcPLywbpqMHy4 +egMs/w2GcELPy8/yiQFrY/9Yv8hPd29xbciXPW3aEn/f+CwVlJ7jkgbkV8ZP10j7Bhc zTZ1/z8w9NVApJ3jP0ReqSAhLKUMWzvV3eHNx43WM57ypeZHrW5DWwEakIG+pqOCCDUG Cumw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=8jkz/TBfkGs66U705tB0jXWRN8wgA0XMbBTjo3KWnlc=; b=NvbnlaC6cBhQXBVUJ+pD5mJmZ3qkHZt4H7Zy4L6eOga1qG+wQZr9haMud36xD7QTwj I6DN3A3MwmNWVhlLsL1+2uzwEDPNvINy8pF+zlp/euvfBzXJbMB/lltjnxgHeneME29+ mUs1LYxhhOY82ZFVHY3Z9jQiB8e3pAW8bk2y0xXgXwtghxwDA5X9DDjUupggSOKxSp+p MJW1tu7NI9JohtuKSovoKd0iHPIBnEMtA11IYQuCBdKYOXqpo5NGHX01yJ5Z8uUNKKKZ kp1+BNie/YYBaUBZxCpumPqQ93DRANstqLVBwIFQkNHjB32tgHL4HY1FWnNP5/u4jh3o fxnQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u15-20020a056a00124f00b0052b206007bcsi8132125pfi.237.2022.09.01.08.47.39; Thu, 01 Sep 2022 08:47:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233397AbiIAPTZ (ORCPT + 99 others); Thu, 1 Sep 2022 11:19:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232790AbiIAPTY (ORCPT ); Thu, 1 Sep 2022 11:19:24 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D59A583F0D; Thu, 1 Sep 2022 08:19:22 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C5F20ED1; Thu, 1 Sep 2022 08:19:28 -0700 (PDT) Received: from hype-n1-sdp.warwick.arm.com (hype-n1-sdp.warwick.arm.com [10.32.32.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id AEBB63F766; Thu, 1 Sep 2022 08:19:20 -0700 (PDT) From: Nick Forrington To: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, acme@kernel.org Cc: Nick Forrington , John Garry , Will Deacon , James Clark , Mike Leach , Leo Yan , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org Subject: [PATCH] perf vendor events: Add missing Neoverse V1 events Date: Thu, 1 Sep 2022 16:18:04 +0100 Message-Id: <20220901151804.294823-1-nick.forrington@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_NONE,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 Based on updated data from: https://github.com/ARM-software/data/blob/master/pmu/neoverse-v1.json which is based on PMU event descriptions from the Arm Neoverse V1 Technical Reference Manual. This adds the following missing events: ASE_INST_SPEC SVE_INST_SPEC SVE_PRED_SPEC SVE_PRED_EMPTY_SPEC SVE_PRED_FULL_SPEC SVE_PRED_PARTIAL_SPEC SVE_LDFF_SPEC SVE_LDFF_FAULT_SPEC FP_SCALE_OPS_SPEC FP_FIXED_OPS_SPEC It also moves REMOTE_ACCESS from other.json to memory.json. Signed-off-by: Nick Forrington --- .../arm64/arm/neoverse-v1/instruction.json | 30 +++++++++++++++++++ .../arch/arm64/arm/neoverse-v1/memory.json | 3 ++ .../arch/arm64/arm/neoverse-v1/other.json | 5 ---- 3 files changed, 33 insertions(+), 5 deletions(-) delete mode 100644 tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json index 25825e14c535..e29b88fb7f24 100644 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json +++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/instruction.json @@ -85,5 +85,35 @@ }, { "ArchStdEvent": "RC_ST_SPEC" + }, + { + "ArchStdEvent": "ASE_INST_SPEC" + }, + { + "ArchStdEvent": "SVE_INST_SPEC" + }, + { + "ArchStdEvent": "SVE_PRED_SPEC" + }, + { + "ArchStdEvent": "SVE_PRED_EMPTY_SPEC" + }, + { + "ArchStdEvent": "SVE_PRED_FULL_SPEC" + }, + { + "ArchStdEvent": "SVE_PRED_PARTIAL_SPEC" + }, + { + "ArchStdEvent": "SVE_LDFF_SPEC" + }, + { + "ArchStdEvent": "SVE_LDFF_FAULT_SPEC" + }, + { + "ArchStdEvent": "FP_SCALE_OPS_SPEC" + }, + { + "ArchStdEvent": "FP_FIXED_OPS_SPEC" } ] diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json index e3d08f1f7c92..5aff6e93c1ad 100644 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json +++ b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/memory.json @@ -2,6 +2,9 @@ { "ArchStdEvent": "MEM_ACCESS" }, + { + "ArchStdEvent": "REMOTE_ACCESS" + }, { "ArchStdEvent": "MEM_ACCESS_RD" }, diff --git a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json b/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json deleted file mode 100644 index 20d8365756c5..000000000000 --- a/tools/perf/pmu-events/arch/arm64/arm/neoverse-v1/other.json +++ /dev/null @@ -1,5 +0,0 @@ -[ - { - "ArchStdEvent": "REMOTE_ACCESS" - } -] -- 2.25.1