Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2486208rwi; Fri, 21 Oct 2022 04:33:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5hkHChppjkv+AV4IFIgkHDNYYpvBWrbWo/vQsqC7+aPBpr/OzM0tnsjqADt9H+nHzr7W4v X-Received: by 2002:a63:87c2:0:b0:46e:9bab:3064 with SMTP id i185-20020a6387c2000000b0046e9bab3064mr7020566pge.255.1666352018220; Fri, 21 Oct 2022 04:33:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666352018; cv=none; d=google.com; s=arc-20160816; b=CDITpzjc48+oMPAaHp2jkzjeVoUvLOh4EfizBbe/YzbSvYyStlNCgEdzBNM/dlLaBv 507A2dIIeWkpUG7Ooadj+lhslsqrYcy+s0fIJ7ar871Cm1GxO1/4ySrRxmwLV0PhmHb2 STi/bZS357NtuBEhcp/xnwNC0lWJcuEcK2OldDoaksdQOwtHotBLOisq7jfYQUp7l3df Gm33wnzsOE+B9sJrMwxrAW16UqQ1chEDotr7Ldo8YCpeCs9PuFhbK+S2Q/5s6WXysgH7 Se7mYuiuFjByAJRVMWAW1Z9W7WYqDsVPHhNt309eDQtA5zE4mW1ym4KvjI5nS+sypeSw wgaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=EUUFbsVZTA0uE9S3TwgIBr9STxw037IJ4cL3yFJAmC8=; b=nbMPceRYg9R6wOUPQYus869vYLFVKsachMuW3cAISPVnAJM+Of8a09/Xsxf/h9RrJD /AKj6g5cferKMw9CHkTUVEpJy/BdJNylXG9TbHjza8Rvi2EpLMbfRk715DMHJcuHmfzM +TUvHeadc+hWPScr8Peekscw1vWXJsnPMYeyr7NUvU33uN1bZevWJacO/+O2TVFljkWR 9rixXhzC5ql1M7/uDAHMiyOy4CyhKrYJaF137TrJ7DZhFJ5pQgtVZGGh696/3b8Hb3ZU +Y8yBd3NISjtGsZ49acLrvtMPsmJqTLND36C+KJlO+FX9+eAQwhGYHB17fnviNPjUwOz 7Vgw== 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 b4-20020a170903228400b0016bea2a8b16si29812144plh.364.2022.10.21.04.33.25; Fri, 21 Oct 2022 04:33:38 -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 S229908AbiJUK7g (ORCPT + 99 others); Fri, 21 Oct 2022 06:59:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229695AbiJUK7f (ORCPT ); Fri, 21 Oct 2022 06:59:35 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 8068915A27; Fri, 21 Oct 2022 03:59:32 -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 CF9C71063; Fri, 21 Oct 2022 03:59:37 -0700 (PDT) Received: from [10.57.2.49] (unknown [10.57.2.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 6AFEE3F792; Fri, 21 Oct 2022 03:59:29 -0700 (PDT) Message-ID: <39c5a7cb-076a-a6ba-df27-7dee7d98a2a5@arm.com> Date: Fri, 21 Oct 2022 11:59:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Subject: Re: [PATCH] perf vendor events: Add Arm Neoverse V2 PMU events Content-Language: en-US To: John Garry Cc: linux-kernel@vger.kernel.org, nick.forrington@arm.com, al.grant@arm.com, Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, acme@kernel.org References: <20221020134512.1345013-1-james.clark@arm.com> From: James Clark In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,URIBL_BLOCKED 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 On 21/10/2022 11:47, John Garry wrote: > On 20/10/2022 14:45, James Clark wrote: >> Rename the neoverse-n2 folder to make it clear that it includes V2, and >> add V2 to mapfile.csv. V2 has the same events as N2, visible by running >> the following command in the ARM-software/data github repo [1]: >> >>    diff pmu/neoverse-v2.json pmu/neoverse-n2.json | grep code >> >> Testing: >> >>    $ perf test pmu >> >>    10: PMU events                                           : >>    10.1: PMU event table sanity                             : Ok >>    10.2: PMU event map aliases                              : Ok >>    10.3: Parsing of PMU event table metrics                 : Ok >>    10.4: Parsing of PMU event table metrics with fake PMUs  : Ok >> >> [1]:https://github.com/ARM-software/data >> >> Signed-off-by: James Clark >> --- > > This looks ok. Out of curiosity, do you know how the naming works for > these neoverse cores? Were "n" a predecessor to "v"? Thanks for the review. No, they're more like different product lines than predecessors. From the image on this article [1], N are focused on performance per watt and V are high performance. [1]: https://www.arm.com/company/news/2022/09/redefining-the-global-computing-infrastructure-with-next-generation-arm-neoverse-platforms > > thanks, > John