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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5E905C433FE for ; Fri, 21 Oct 2022 10:47:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229711AbiJUKr3 (ORCPT ); Fri, 21 Oct 2022 06:47:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229576AbiJUKr0 (ORCPT ); Fri, 21 Oct 2022 06:47:26 -0400 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA40B25F1E4; Fri, 21 Oct 2022 03:47:20 -0700 (PDT) Received: from frapeml500004.china.huawei.com (unknown [172.18.147.201]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4Mv1Mb2jFBz688Yy; Fri, 21 Oct 2022 18:45:31 +0800 (CST) Received: from lhrpeml500003.china.huawei.com (7.191.162.67) by frapeml500004.china.huawei.com (7.182.85.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 21 Oct 2022 12:47:18 +0200 Received: from [10.126.168.107] (10.126.168.107) by lhrpeml500003.china.huawei.com (7.191.162.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Fri, 21 Oct 2022 11:47:17 +0100 Message-ID: Date: Fri, 21 Oct 2022 11:47:18 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: [PATCH] perf vendor events: Add Arm Neoverse V2 PMU events To: James Clark , , CC: , , , Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , "Namhyung Kim" , References: <20221020134512.1345013-1-james.clark@arm.com> From: John Garry In-Reply-To: <20221020134512.1345013-1-james.clark@arm.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.126.168.107] X-ClientProxiedBy: lhrpeml500002.china.huawei.com (7.191.160.78) To lhrpeml500003.china.huawei.com (7.191.162.67) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, John