Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2320125rdb; Thu, 17 Aug 2023 18:37:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFtR/H/G/czjUEasLRM6XgPnqaC9AYFWLU/zG8a1K6uJFarXjB4LocAAPsE/9qh53qb6AaS X-Received: by 2002:a05:6808:208f:b0:3a7:5557:16c2 with SMTP id s15-20020a056808208f00b003a7555716c2mr1716038oiw.0.1692322640574; Thu, 17 Aug 2023 18:37:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692322640; cv=none; d=google.com; s=arc-20160816; b=GENOEfyCVH8wQF5GB+3MXjjHpq/6gZ2HSeriljT7OIMz1vVgUERlWXTm6hn4xAb/TR i2CLazJVYM2TUDp1g5nLmPI7z17IvG+Psq2FKlT62gte9TVVOSH+Fq5T9h9Li+3GeuM+ kjUMiqN5EzR3sNrRhzuweg9lwkZQvCSZfSILdPQoU0s25GmpZ1RBaWekus13TxYt6AOE Q4qtJsxfTD0NHusrYNaBg4QYz1+exkwaE5lFzAzsHTA8374yVdF2fGmDP7L55n1EfMd/ Lvfs0bOlP9aFj5hPxON3L7/AHUE/0NFrdxCQneehnTzM4cxM0gfzqzXbuv39w0grOGr6 DghA== 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=/3NFX/8mUrhLVcHZNTsIuh+NS63HzYfMHt7/F/BxyNo=; fh=7EDKq17f6ACrSV54SyiiS5HYb6gcv2s5t+TZW9PboKU=; b=N4MzX1UJVT7nYQ7xz+F06pgYIVzia7IP5kvCOuxxc7C0mvIuGo36du0jg5Bq1WrBVB XH7Yjf5E7n+Su+8cHPVQMpMBi3uihMoHVD1f+ABocHucZd9bol6VSQDHM2UIEilkZ4RF 4iONdveJPYmM8LTYl8kVkptx23yt27+ZjXiGaBwO+ClEDHu1V0iNPxVnwphaJiOxGwM4 ImkOsb9rV6Vl/s1uoNGOEKT/rQkqj07Af/Il9w0+Gh9Cp42bi3tvknUl0QmGyRuffM8x jm8Vb7/oh2N5lNukZ/1pBndnwY6HyuUC/TqAlmvKsO/HheuWccIVlmPzJMwobfvcV0Sg /qGQ== 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 h6-20020a636c06000000b005693de6061bsi479747pgc.483.2023.08.17.18.37.01; Thu, 17 Aug 2023 18:37:20 -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 S1352298AbjHQOvd (ORCPT + 99 others); Thu, 17 Aug 2023 10:51:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42356 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1352295AbjHQOvC (ORCPT ); Thu, 17 Aug 2023 10:51:02 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 667A494; Thu, 17 Aug 2023 07:51:01 -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 62C38D75; Thu, 17 Aug 2023 07:42:05 -0700 (PDT) Received: from [192.168.1.3] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C0BBA3F6C4; Thu, 17 Aug 2023 07:41:20 -0700 (PDT) Message-ID: <43e5d3e9-fe5f-655d-a6d3-44d47081e1a4@arm.com> Date: Thu, 17 Aug 2023 15:41:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v6 6/6] perf vendor events arm64: Update N2 and V2 metrics and events using Arm telemetry repo Content-Language: en-US To: John Garry Cc: Will Deacon , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Kajol Jain , Haixin Yu , Nick Forrington , Kan Liang , Andrii Nakryiko , Eduard Zingerman , Sohom Datta , Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, irogers@google.com, renyu.zj@linux.alibaba.com, acme@kernel.org References: <20230816114841.1679234-1-james.clark@arm.com> <20230816114841.1679234-7-james.clark@arm.com> <81e404fb-0eae-e4b8-299a-54ac860fd1dd@oracle.com> From: James Clark In-Reply-To: <81e404fb-0eae-e4b8-299a-54ac860fd1dd@oracle.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-8.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 17/08/2023 12:09, John Garry wrote: > On 16/08/2023 12:47, James Clark wrote: >> Apart from some slight naming and grouping differences, the new metrics >> are functionally the same as the existing ones. Any missing metrics were >> manually appended to the end of the auto generated file. >> >> For the events, the new data includes descriptions that may have product >> specific details and new groupings that will be consistent with other >> products. >> >> After generating the metrics from the telemetry repo [1], the following >> manual steps were performed: >> >>   * Change the topdown expressions to compare on CPUID and use >>     #slots so that the same data can be shared between N2 and V2. Apart >>     from these modifications, the expressions now match more closely with >>     the Arm telemetry data which will hopefully make future updates >>     easier. >> >>   * Append some metrics from the old N2/V2 data that aren't present in >>     the telemetry data. These will possibly be added to the >>     telemetry-solution repo at a later time: >> >>      l3d_cache_mpki, l3d_cache_miss_rate, branch_pki, ipc_rate, spec_ipc, >>      retired_rate, wasted_rate, branch_immed_spec_rate, >>      branch_return_spec_rate, branch_indirect_spec_rate >> >> [1]:https://urldefense.com/v3/__https://gitlab.arm.com/telemetry-solution/telemetry-solution/-/blob/main/data/pmu/cpu/neoverse/neoverse-n2.json__;!!ACWV5N9M2RV99hQ!NW7DYe7T69u8RFn9WLyiCcoHm-8BtlxNK3PRw19udocwlwv0vQpjcSDT5XqGbWzvPQyFrG-eRkuu_VZt7cO8-Q$  >> Signed-off-by: James Clark > > Reviewed-by: John Garry Thanks for the reviews!