Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp512491rwb; Thu, 10 Nov 2022 04:06:27 -0800 (PST) X-Google-Smtp-Source: AA0mqf6o62GWHa2DYXZZ7gdnmZXrB5Rvy215EyDw2k8fdBGFnQd+GLrRN3CDcSEsFLdpdkNthWUf X-Received: by 2002:a63:5c14:0:b0:470:5b0d:b5a8 with SMTP id q20-20020a635c14000000b004705b0db5a8mr2010440pgb.152.1668081987004; Thu, 10 Nov 2022 04:06:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668081986; cv=none; d=google.com; s=arc-20160816; b=g5+LNGgTFlQ+pALMGHUl8coWhAO8BEREaXWLuseT7hBK99FdCh4XiHd6vcbAJI5dFd g7bHuU4l69rykfYlkX3yQr26epAkHGlN4HJ+krwUvplkcJ7/Wa41ZOWB9vUMzLvBcGfe hP5i+SintG1//RLZ2lDldJE1CjGSXLBNrxr/g4QEBYAeCJDTLXbqqOa+tu3AKfiyU/VT AZUzcd8LlxM+njL5AikY34jjGucXzSzd3WrZp8KLkBXuy5UeTl8Ih6mgabJPxoWc7YfN EghG85nMiR7PrlFfU/vRB+syVU+kRPjweDzcCa4lXMMewEXr+csz5M9S7eNwQBI4htYV xYEw== 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:subject:user-agent:mime-version:date:message-id; bh=8ZwNNr3SOOfqCp6DyzCL8UqEfim258Vv8lBtlGuJ+3U=; b=GnYOYX7Eu9/ErgipI3Md5kZvtV75oO2pnZK6h9hGz7yaa7I868463tTzICblvCfod4 Nn1QAH6vrALFk20N4LuRgDguv9oFZ38kn/1frmBao0aMoz1Z/amzTTrdcOyRzGfzj+j1 k0BN/tJzbzY4QI8socelJM53zKeaW329DqnzU109XntSXzpi6vp+lcFJ+4U8SyBMogUI pKR7m0k5T2VqQ2pocdqqhakOJIPN8exmN0+DVRTkjlpF+qTarqNTVd50n1EqW/QeeM63 kvdW1FyPxd5N1Kblgqz6KcbFS+mzx1axa0AABbhAUiW5BsLezS4f+IINJorduH1vskNk sBBw== 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 u16-20020a056a00159000b0056e2b019411si23402887pfk.146.2022.11.10.04.05.50; Thu, 10 Nov 2022 04:06:26 -0800 (PST) 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 S230252AbiKJKwv (ORCPT + 92 others); Thu, 10 Nov 2022 05:52:51 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230235AbiKJKwt (ORCPT ); Thu, 10 Nov 2022 05:52:49 -0500 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id B1FF85EF94; Thu, 10 Nov 2022 02:52:48 -0800 (PST) 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 A49C71FB; Thu, 10 Nov 2022 02:52:54 -0800 (PST) Received: from [10.57.3.204] (unknown [10.57.3.204]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 56BA33F534; Thu, 10 Nov 2022 02:52:46 -0800 (PST) Message-ID: Date: Thu, 10 Nov 2022 10:52:44 +0000 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.13.1 Subject: Re: [PATCH] perf vendor events: Add Arm Neoverse V2 PMU events To: James Clark , linux-perf-users@vger.kernel.org, john.garry@huawei.com, acme@kernel.org Cc: linux-kernel@vger.kernel.org, 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 References: <20221020134512.1345013-1-james.clark@arm.com> From: Nick Forrington In-Reply-To: <20221020134512.1345013-1-james.clark@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE 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 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 Reviewed-by: Nick Forrington