From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B8454C433DB for ; Fri, 5 Mar 2021 10:19:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 7BA4864F5B for ; Fri, 5 Mar 2021 10:19:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbhCEKTC (ORCPT ); Fri, 5 Mar 2021 05:19:02 -0500 Received: from esa1.hc1455-7.c3s2.iphmx.com ([207.54.90.47]:24447 "EHLO esa1.hc1455-7.c3s2.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229637AbhCEKSz (ORCPT ); Fri, 5 Mar 2021 05:18:55 -0500 IronPort-SDR: aw7dUhUnKHhPu7UajICRhwh5h4WDj0qFF+JtkDXw10agTElOvQRQsPRolse4WvQ3MloQjX/ErR mcNBzC5n0Z3NFoiLiXzEKaSytqq/yVmz1pIJigIANjNTUZWiB4vwrSvylQQKA/cKVjtLTSjhNI wK5QqiKGcOAjay3HPoIGdTJXT9E8aeiOmSG+GsLhq6DBTjKCcfHsjj3G5fh0aRePAyU3cuaBh/ 7a4GqLpMSonVAL8vbnQfI3P7wnBfx590YyZln4BAfIDVA/Qb+4L76CG7iCi0zGO1p86o9gghYW V54= X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="21791537" X-IronPort-AV: E=Sophos;i="5.81,224,1610377200"; d="scan'208";a="21791537" Received: from unknown (HELO yto-r2.gw.nic.fujitsu.com) ([218.44.52.218]) by esa1.hc1455-7.c3s2.iphmx.com with ESMTP; 05 Mar 2021 19:18:54 +0900 Received: from yto-m1.gw.nic.fujitsu.com (yto-nat-yto-m1.gw.nic.fujitsu.com [192.168.83.64]) by yto-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 3A6FEA80C6 for ; Fri, 5 Mar 2021 19:18:52 +0900 (JST) Received: from oym-om4.fujitsu.com (oym-om4.o.css.fujitsu.com [10.85.58.164]) by yto-m1.gw.nic.fujitsu.com (Postfix) with ESMTP id 87E77E165B for ; Fri, 5 Mar 2021 19:18:51 +0900 (JST) Received: from pumpkin.openstacklocal (pumpkin.fct.css.fujitsu.com [10.130.70.189]) by oym-om4.fujitsu.com (Postfix) with ESMTP id 238514023702A; Fri, 5 Mar 2021 19:18:51 +0900 (JST) From: Shunsuke Nakamura To: john.garry@huawei.com, will@kernel.org, mathieu.poirier@linaro.org, leo.yan@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 0/3] perf vendor events: Support PMU events for A64FX Date: Fri, 5 Mar 2021 19:18:38 +0900 Message-Id: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series supports A64FX PMU event v1.2. The first patch add more common and microarchitecture events. This patch is based on john's patch [1]. The second patch adds PMU events for A64FX. The third patch adds "_" to the event name, which starts with a number. Changes in v7: - Rename an event name that starts with a number. - Drop 'perf tools: Add lexical definition of event name'. - Drop 'perf test: Add test for event name starting with a number'. Changes in v6: - Add test to the second patch. - Add Acked-by tag to the third patch. - Add Reviewed-by tag to the third patch. Changes in v5: - Removed john's patch [1] from this patch series. - Added the missing Reviewed-by tag to the patch. - Fixed the base of the patch series.[2] - Changed subject from fix to added. Changes in v4: - Add arm64 to the subjects of the second and fourth patches. - Add reference URLs to the body of the second patch. Changes in v3: - Add linux-arm-kernel mailing list to cc. Changes in v2: - Added armv8-common-and-microarch based on John's patch.[1] - Fixed A64FX Json to refer to standard events in armv8-common-and-microarch. [1] https://lore.kernel.org/lkml/1611835236-34696-3-git-send-email-john.garry@huawei.com/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core Shunsuke Nakamura (3): perf vendor events arm64: Add more common and uarch events perf vendor events arm64: Add Fujitsu A64FX pmu event perf vendor events arm64: Add "_" to the event name, which starts with a number .../arm64/armv8-common-and-microarch.json | 228 ++++++++++++++++++ .../arch/arm64/fujitsu/a64fx/branch.json | 8 + .../arch/arm64/fujitsu/a64fx/bus.json | 62 +++++ .../arch/arm64/fujitsu/a64fx/cache.json | 128 ++++++++++ .../arch/arm64/fujitsu/a64fx/cycle.json | 5 + .../arch/arm64/fujitsu/a64fx/exception.json | 29 +++ .../arch/arm64/fujitsu/a64fx/instruction.json | 131 ++++++++++ .../arch/arm64/fujitsu/a64fx/memory.json | 8 + .../arch/arm64/fujitsu/a64fx/other.json | 188 +++++++++++++++ .../arch/arm64/fujitsu/a64fx/pipeline.json | 194 +++++++++++++++ .../arch/arm64/fujitsu/a64fx/sve.json | 110 +++++++++ tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 + 12 files changed, 1092 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/branch.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/bus.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/cache.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/cycle.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/exception.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/instruction.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/memory.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/pipeline.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/sve.json -- 2.25.1 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 92A71C433E0 for ; Fri, 5 Mar 2021 10:21:25 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2933864F76 for ; Fri, 5 Mar 2021 10:21:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2933864F76 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=fujitsu.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=cg01JPgTrqdl70y1RnxN25aQzEAaVeKk/zLQxAzzQeE=; b=dQKC+rOjKQ1Zvotvn8lGphbTNU tgHN5p9ZEGtcnDgcJt0VBbD879HVyC+v5s+XmV/BeLBQwAZ81IgshMa1xaTDa4Ya8NP9MH43Ko2DA 6rXDFdAROel4ru7pJMH+3Dc4OIzzgahUck/HW0i0NnbuHZPNW4eEbRB+gXY8UA0L8hA3OQ0vsRAiP AWyWyIu9ROQtF6he/JKYWcPfOHUc6EehlQF1qZ8cMaG2qAdT2FEr60OGKMcIxgnxG4p7DGydIygax 0TwiPF3jQidMnraf8/i2Di5B5ZhWidZcTMJUjJPH6dlH/OuDZFnykJn0B48PlwKqGmRw0DrISe5ES Exly2tmA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lI7YH-00EVez-LV; Fri, 05 Mar 2021 10:19:24 +0000 Received: from esa4.hc1455-7.c3s2.iphmx.com ([68.232.139.117]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lI7Xq-00EVXR-VO for linux-arm-kernel@lists.infradead.org; Fri, 05 Mar 2021 10:18:59 +0000 IronPort-SDR: IQWWIvF17Zi0GVCU6LeA3bRtzHBJ629l4sA5nqR++krB5bp0XmT/3wOHrH5AaUIwZmvsEnswuO 0ijBTzNwQ9zImd8f+h7W5elrqObVOxRu4DzIsvIK/LdYRH9f+4M5ouIhesGIKZ+dR3YEFvUmiY BLuCYgNaSKWOrRAJBSsLWKCC6GrXhu/ELzOdR5cEk/OfOhB35zevV7PeSGFz5IjYugQlU6CcGX Su4e/+cTft9eqwwjdSHCFqY+U5rD7JldU0o3VK4we1Vyh5KSysu0m2EwHJPjwjgJ8f8Kxz6JJd rBw= X-IronPort-AV: E=McAfee;i="6000,8403,9913"; a="21772031" X-IronPort-AV: E=Sophos;i="5.81,224,1610377200"; d="scan'208";a="21772031" Received: from unknown (HELO yto-r2.gw.nic.fujitsu.com) ([218.44.52.218]) by esa4.hc1455-7.c3s2.iphmx.com with ESMTP; 05 Mar 2021 19:18:54 +0900 Received: from yto-m3.gw.nic.fujitsu.com (yto-nat-yto-m3.gw.nic.fujitsu.com [192.168.83.66]) by yto-r2.gw.nic.fujitsu.com (Postfix) with ESMTP id 42238A80C7 for ; Fri, 5 Mar 2021 19:18:52 +0900 (JST) Received: from oym-om4.fujitsu.com (oym-om4.o.css.fujitsu.com [10.85.58.164]) by yto-m3.gw.nic.fujitsu.com (Postfix) with ESMTP id 87FC856F8C for ; Fri, 5 Mar 2021 19:18:51 +0900 (JST) Received: from pumpkin.openstacklocal (pumpkin.fct.css.fujitsu.com [10.130.70.189]) by oym-om4.fujitsu.com (Postfix) with ESMTP id 238514023702A; Fri, 5 Mar 2021 19:18:51 +0900 (JST) From: Shunsuke Nakamura To: john.garry@huawei.com, will@kernel.org, mathieu.poirier@linaro.org, leo.yan@linaro.org, peterz@infradead.org, mingo@redhat.com, acme@kernel.org, mark.rutland@arm.com, alexander.shishkin@linux.intel.com, jolsa@redhat.com, namhyung@kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 0/3] perf vendor events: Support PMU events for A64FX Date: Fri, 5 Mar 2021 19:18:38 +0900 Message-Id: <20210305101841.3133721-1-nakamura.shun@fujitsu.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210305_101857_784408_297DC38F X-CRM114-Status: GOOD ( 15.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series supports A64FX PMU event v1.2. The first patch add more common and microarchitecture events. This patch is based on john's patch [1]. The second patch adds PMU events for A64FX. The third patch adds "_" to the event name, which starts with a number. Changes in v7: - Rename an event name that starts with a number. - Drop 'perf tools: Add lexical definition of event name'. - Drop 'perf test: Add test for event name starting with a number'. Changes in v6: - Add test to the second patch. - Add Acked-by tag to the third patch. - Add Reviewed-by tag to the third patch. Changes in v5: - Removed john's patch [1] from this patch series. - Added the missing Reviewed-by tag to the patch. - Fixed the base of the patch series.[2] - Changed subject from fix to added. Changes in v4: - Add arm64 to the subjects of the second and fourth patches. - Add reference URLs to the body of the second patch. Changes in v3: - Add linux-arm-kernel mailing list to cc. Changes in v2: - Added armv8-common-and-microarch based on John's patch.[1] - Fixed A64FX Json to refer to standard events in armv8-common-and-microarch. [1] https://lore.kernel.org/lkml/1611835236-34696-3-git-send-email-john.garry@huawei.com/ [2] https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git perf/core Shunsuke Nakamura (3): perf vendor events arm64: Add more common and uarch events perf vendor events arm64: Add Fujitsu A64FX pmu event perf vendor events arm64: Add "_" to the event name, which starts with a number .../arm64/armv8-common-and-microarch.json | 228 ++++++++++++++++++ .../arch/arm64/fujitsu/a64fx/branch.json | 8 + .../arch/arm64/fujitsu/a64fx/bus.json | 62 +++++ .../arch/arm64/fujitsu/a64fx/cache.json | 128 ++++++++++ .../arch/arm64/fujitsu/a64fx/cycle.json | 5 + .../arch/arm64/fujitsu/a64fx/exception.json | 29 +++ .../arch/arm64/fujitsu/a64fx/instruction.json | 131 ++++++++++ .../arch/arm64/fujitsu/a64fx/memory.json | 8 + .../arch/arm64/fujitsu/a64fx/other.json | 188 +++++++++++++++ .../arch/arm64/fujitsu/a64fx/pipeline.json | 194 +++++++++++++++ .../arch/arm64/fujitsu/a64fx/sve.json | 110 +++++++++ tools/perf/pmu-events/arch/arm64/mapfile.csv | 1 + 12 files changed, 1092 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/branch.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/bus.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/cache.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/cycle.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/exception.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/instruction.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/memory.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/other.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/pipeline.json create mode 100644 tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/sve.json -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel