From patchwork Thu Aug 3 21:13:28 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 130873 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1437887vqx; Thu, 3 Aug 2023 15:20:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlGvyhUQF5ASnfA34tqftr16C943rvjGiW6q3+YhN+w27YxaAy2v0AUW5RlwwsopNubFfA14 X-Received: by 2002:a05:6a00:2d23:b0:67f:8ef5:2643 with SMTP id fa35-20020a056a002d2300b0067f8ef52643mr17771435pfb.2.1691101206240; Thu, 03 Aug 2023 15:20:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691101206; cv=pass; d=google.com; s=arc-20160816; b=rSFyFHgM1DPrmP55cOEQdaXCohNn2jsLV/EfFmosX0JcJUCUV6E2qvD/K2fLf1ShgU X7L8TTOAj1p09jud+rcneeNHX7v+kw2BKRWX1XlCwbT5WG9Cd98Ubmb5fzfnCykaFSEg DBQlHTRP37LsVWzAZyuxPPiD5ZbalgrNaTdC4P36xphKuofd+42267Dtky8ut/w0Zxrs gDBsNV34skDEVLfVlatOgLPM4ovhHAK+QozwnK6nH0DXkQp4wzrt9GOebnyZYmIipfnj dfrBGQz0l87wMmp8aIKzIABBgLUYm7WYsxZcLvnEA+5I6rTcPJ7KC/IngR6ZSUnJRC6h t5dA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=v+noMXr/uwU33h6hP/EjN9EZSjDbRJo9mpYzNp13WN0=; fh=y/Q+fm44QmqbhqhywLeXYhRMDGtmOisRwbQezgRqi+8=; b=idv6MF2BtyPrIMbK+gnNiCXEOP5dj4zcNrUDztSivB2Hq3UauoaNMqLABsbLybxPcz 60j6r+KOw1ingfBE6+bRP9e/NvBhNBe5TKWROk2j4Xsjdbp3ttiDPNTUhGQhKNpjL831 JmDdMkQsq5E76W8+kJwiNYM+aBuSj+uXCi+e8bCLNnOuEynHiL3Pn/qntcMSAV7SJ2iA XPM2Xcs6OLm48yVFxnwBZ51mm3ORaq++SFG37B14kiVb5qaWCnK0NHBVsQE9PtVKzyDy YbRdpcW/IDwFeLYLDEkIQh27fQ+virEvqC1ulMrW2pS48YAEcUlgYlBoWQeQFTY95xeN wIqQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b="i/jk6ZmN"; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c4-20020a056a00248400b0067af445c0f0si654095pfv.291.2023.08.03.15.19.53; Thu, 03 Aug 2023 15:20:06 -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; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b="i/jk6ZmN"; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230233AbjHCVOf (ORCPT + 99 others); Thu, 3 Aug 2023 17:14:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37674 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbjHCVOa (ORCPT ); Thu, 3 Aug 2023 17:14:30 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07DCE211E; Thu, 3 Aug 2023 14:14:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=E1yvcKsScEWc8DEnfci170o6udQ3o66wHdG+K604lp9ChCpG+gRBsnb48N9Punzt4KG6/8HeDTNhcZcHtNqwzf17gRpQ7hvO5RaBwOhvyHqvV6t4E/jZOz8z07blGUsTVm5cWh3ybk/+nPtaepVLSK8oUgaS/KnQDnGgsdKtQK5FUIHUF6F25N7DXR5aDBzUDCEfEe8PvKszzkKvj/vh4nu8mMeKhH/0IItN1rd/xOHyOQMz51Pow0HZ7d5c/TpxzP9h5DySiQDRDoxpT98PhdE8VePSooXbEFj3WcTxURlIVZIRRPRIfXE0y6DAMmOI7uZ3fH9qDem+Oi44Dqc/RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=v+noMXr/uwU33h6hP/EjN9EZSjDbRJo9mpYzNp13WN0=; b=VycSRnxDHXEh+eLLhzlFnzNala1nS0uXgZzbsB2rrRLTOCJWmUjxWnkvGPPh3nvNnwivRqnBOAS7wTbuwDLEdo0TGDPKgVrDVrbyBCFKUXOMX8pagbHTJ2p2vFLXLAnHfn1RuMUP3+Tz3IjFqEvlQePhvgmt4X2AH+XImEOGbKv+lGMEkhF2/4dcRuQz8gxjs1zOQzFLdos5QN3+rW7s8Sy9YUsYpcGjqMmVviMWzZAh3arkIN0w36i4g+UEY7TUv+cL8GCUOKOPAkWl5n8kB7AcfEvAPx8G9UEXjsqD1c7BrSaVEz8V77C5zhjs/CwD9o+IpiuvYBg7hYfNQJhFog== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v+noMXr/uwU33h6hP/EjN9EZSjDbRJo9mpYzNp13WN0=; b=i/jk6ZmNsFOIe7fXrOwyClArZweT8smcYeDA59Uk+RV3FqGwm/4LsvnrtPx5rGha4prHqf+OOG7gdODNE/2slpdTrchlbJnlulAtUMidNimJ2RtCAXxm3cm0bkJ98+FmuTqvY6YybU092K3Ysg4Ec/A908RrwbKb1SfwJKqBhMw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) by SA3PR01MB8502.prod.exchangelabs.com (2603:10b6:806:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 21:14:26 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e%6]) with mapi id 15.20.6631.046; Thu, 3 Aug 2023 21:14:26 +0000 From: Ilkka Koskinen To: John Garry , Ian Rogers , Arnaldo Carvalho de Melo Cc: Will Deacon , James Clark , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Ilkka Koskinen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Dave Kleikamp Subject: [PATCH 1/4] perf vendor events arm64: Remove L1D_CACHE_LMISS from AmpereOne list Date: Thu, 3 Aug 2023 14:13:28 -0700 Message-Id: <20230803211331.140553-2-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803211331.140553-1-ilkka@os.amperecomputing.com> References: <20230803211331.140553-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH2PR15CA0006.namprd15.prod.outlook.com (2603:10b6:610:51::16) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0102MB3590:EE_|SA3PR01MB8502:EE_ X-MS-Office365-Filtering-Correlation-Id: 5f8f917b-25cb-4cfb-bd57-08db94669e43 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: BMpCub7a0PSMjSGHPQI+0p1kyIRoEXYypeIlsrp27hF9gYd71StYvZ7hHM8r5BrVAt7P7QRExvb3Afc0FoIhIQ97U4tnjGpbnugpAGmh6GxOATU7q1yZX0sj8sYkQ2mQdsicbyG+zxzBEm8JLgfBr9XyrUM8/5jb0tTVv2V/1rZ0AQjgAxmy0QTepjwyz/xde1SPGDptvGOjJAcOKWpatgfpvLx5ItxIS+v348jEOcVrPcSz5cbgI5kstlCYWlk0UeDDDcUKFIzAS+cyHrjhxe++cX8RgxBP5JgKb0a6rsFI0RcQG3DF0KViGRuREINw2yeEyBvLix+ERIzeaq4McsHaPUPhoS45/EEap/SXH2eCfQ2dMA5ZFVIh0pcClSEjYOd0qNjIayip8T3Cb9NJDDvepKrgmclSpWUQypJ690K0qqhHkaUZzfPFGThRq9q6hoRjGtdJttmQI6OC6eb7mvT3bwPztKU0vjqq/fQVuxJGVsMvfDRCXvUynrUjml3Q9BDEhT+f8V8HVyh+A4ra+QCuxjMfLbz6BmE+YLIiMDCNgyHTaLoszbpVervbTb1VEG6QWCeCYNE+/ILlsh9fjS11bcnlrFJ8t8Kjc6p725k= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR0102MB3590.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39850400004)(396003)(366004)(376002)(136003)(346002)(186005)(451199021)(86362001)(52116002)(54906003)(478600001)(110136005)(38100700002)(38350700002)(8676002)(1076003)(2616005)(6506007)(83380400001)(26005)(41300700001)(7416002)(8936002)(6486002)(6512007)(966005)(2906002)(316002)(66556008)(66476007)(5660300002)(4326008)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: /Q0jBy+1xxmyhqiW7vSx2v7c9wi5lnoCpjfl/kEXz1Cu37jdZhFfx5lK9pj5HsNWXxACMOM/PxOmg3TPlx0T7QQZ3L+Qjj5Mm+CM7au7e0Se8KYxv7fr2Sg0wzykrNwGGMu0NVbMNmy7E0YAJ9aJs9kfkG3hPwBYip08WgsOR4bOmWWKLNml5+A1Fa3LWMf9bY1RiLfs61UbsvQ+BW/rZtzn8aTFEUpF6G5GEOqaeL92mMSto9mqweYrfRI7HQv5+7ECEQS1xKoW6KO+nkygOClwnEkW8OiX7AG8SgstAwiRyQgpHcAgYOqrjt8+4ZcJqP88jgZ2wu7p2cQFChdCYtW4+4lTnDHJPX9ptdV1g723s6QL8XyG49B7tDOyBuLN11eSP7PNjP00niTjS5p++HGajrWFcXMXnAVnfeVgt4YiSzFjmV5Y8ZbymvYGogVaqvEMoCr20N7d8ft+2Sc9pH2+0zGZr/+ZofeaGiYA2OEiKuPEzz4jiM67rltpOynmKZJH7Rf/xcWHieddvN5AgoQ6F7HY9z+wyOfk6L9tCHBWjyS/WSrub8CHd/yJEtJ9gLgPKmYzIQ+SUSFIvlAs0cBUAZo/YfBZseq+8eEv9GqAzaQm3/q5o7ePZQIS9qMUdZTDCfcB/G69hTZDTsOZdwYAHALxYA7uzOvmSENc1obuuOwTgb+/VfxkHJtTXSVyHDfb10iPlM65R720D9lO5QAKZnOuvZ+qfoPTDPej+3cLQ6wHUY8dcsjqkR30mWrLIHL0MKjelPYgTu+B8I4Ue0q++7BpzZ2rfRGieml4FnHAY8j8XPLdcX+uYnnA4SX9ITcTm9qkOQNmPMJBhXovZpI/J1UW7//zSWA+HLS34YTLOUwUAtpdMSN+/JPI8q3LCqin9/GcEeBxacDHCP8lD5xvvyglw1zic6gpfzMpcXTvGd3hXlnBhixSZdGMKc+G5vt2bNOp1fP41jzBL6cCBb4wdBl6H0L6TX/LaZMLNPXopWAjqPkCnaApuXucNgtHAdUX+XLtpRy8DEdLGtHTq8nv8/Jbeb6mfojt4nsQypNEC1piEVhFVP6Tool9zQ15M/UXHfwpSiLZoUCKKKL+DQiUhIOrDr1sBSr91Z5ll1YaVfkU72A+OnQ9ZkESrGaMTerIpOrcK3qR7fiOO2UoZfILZt6UH0LkI+xO8dyC7HrKe5wGHR/VMCL2lICpBfh8JpjFn1oY7zP9LfT8KCo8K/oPCxS7bmk5BMELB3oagO5dE6TW5U0NI6asJVfC1kdq5CEQqks4Jd/gj7VZ7xV8lbTVYbxVb7hWzquOLgY4LLDmg2JVTjZg0Ggks3Ts9Q3bx+0HVUn790JR6x7w7EFXhNNFk5E5TlqWA7tXMLZ7vjCjM2hDR2iIrmQAEshz9nGEPS/ZHK3/+p9i/QCt1rMeMkkxxtO4y+OYap4DfDjCkinK5sGyLf2IUsIxjQh0VKTUng6dAAGu9rhbDPUp3EO1bbnVMXXi0bMLGWjdDf5BbWGBHouEUdcT3SopISfH9vVLK/jK+CXh0numEbVtWCH4svfAS1U7ISwu25IQpEiWP13m/skVn7mjABJZ/eD7uOxYaxGwLvOqKfCn4uzgH6wQ1Q== X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5f8f917b-25cb-4cfb-bd57-08db94669e43 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 21:14:26.7395 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: bMeyP6hxOpk0z7PVgWfP4FBa1SXrHL9oNGOxkRSyf/p4x3dLEEtWpY8qld1NO9+YYsvl/6F4J1DlTJlFataHetJySv703+U9dVOfy0yI6URnuhJij/qyjfsZZFjGOnAI X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR01MB8502 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773248138354999298 X-GMAIL-MSGID: 1773248138354999298 amperene/cache.json file tried to include L1D_CACHE_LMISS while it doesn't exist in common-and-microarch.json. While this bug doesn't seem to cause issue in newer kernels with jevents.py script, it prevents building older perf tools with the backported patch. Fixes: a9650b7f6fc0 ("perf vendor events arm64: Add AmpereOne core PMU events") Reported-by: Dave Kleikamp Closes: https://lore.kernel.org/all/76bb2e47-ce44-76ae-838e-53279047084d@oracle.com/ Signed-off-by: Ilkka Koskinen Reviewed-by: John Garry --- tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json index fc0633054211..7a2b7b200f14 100644 --- a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json +++ b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/cache.json @@ -92,9 +92,6 @@ { "ArchStdEvent": "L1D_CACHE_LMISS_RD" }, - { - "ArchStdEvent": "L1D_CACHE_LMISS" - }, { "ArchStdEvent": "L1I_CACHE_LMISS" }, From patchwork Thu Aug 3 21:13:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 130869 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1423677vqx; Thu, 3 Aug 2023 14:47:23 -0700 (PDT) X-Google-Smtp-Source: APBJJlEd0pt76DnqM7h/ay8jYSCT9DYgWAugCBdeoXMxsKPBLjDkmlfH9XVAwN5OZgb3yLNdPtOt X-Received: by 2002:a05:6a00:2814:b0:66f:3fc5:6167 with SMTP id bl20-20020a056a00281400b0066f3fc56167mr17915717pfb.1.1691099243515; Thu, 03 Aug 2023 14:47:23 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691099243; cv=pass; d=google.com; s=arc-20160816; b=LMu+JOFAi1aD002RNOP8P24gfQPKulFPuDrwtxC6khh8YE0pcnFFoiobYQ8qhMAXkt fzdYp1YxtbU41lblPVG4laioetbA+KffcCF3mleL+okm0CZxMCW7fEVBn88PvoTPyE1D 5V0muzRVui9D9SFXs0BoY5I7zd+rtra6uPxQnrJ/081AqYZEcFsKpdF4I9FiSJEaVYr+ FWOLWE52ubYvR93yGr1TNT47nNdar5LivVG1xROGvmnnDcxs73SLp3C4YXwkVhoT/8eh s9/Uxj0naW0HtNCmFI2wHpOptGo+dFv4acRsfvV5B9gFV8ztWBEzAzZO9FcquxhtIqgE dQYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NZ9nVi/nQybEaUJ3rIvf1+6iPaw0gj7xaLmG0L2IcJk=; fh=y/Q+fm44QmqbhqhywLeXYhRMDGtmOisRwbQezgRqi+8=; b=G6nnsFNhqeRJm2j3/mFC7SE8iPeuthVehBBZoF8MqncyxChOP6mJ1BZHCJRjc6KzML wBP3jyB8MOmzOjXq1kvR708sGrxDXIZCRXZ4s/qg1MpcO8+K8k6cMFxBgLjafC+rUeQt TcMWdtiLAviyCVrdA5z4RqZ09qCCCD+kOVK59j9nYPRUhJDnja/B4/skIoHI/BXUx1bc Bpf7v1p9dkmtBmxDGz7/FNHShwQfVeFqSdYmdarg2UO0EcR+Ss0v+Aqq0d6b1dx6+6K1 Oj7eDMYFp0HuW/BB/wi/bgVbguKvS+ltm6EGXss5xxelyXn5GyIyHmQLFKAnQnVzHR6L jwuQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=j8I8Vb5l; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q12-20020a056a00088c00b00687071384a7si593911pfj.152.2023.08.03.14.47.10; Thu, 03 Aug 2023 14:47:23 -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; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=j8I8Vb5l; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231761AbjHCVOi (ORCPT + 99 others); Thu, 3 Aug 2023 17:14:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37708 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbjHCVOd (ORCPT ); Thu, 3 Aug 2023 17:14:33 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0D4426A0; Thu, 3 Aug 2023 14:14:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=famxl+p1BA78/WQbM2ntTed117x/hSygpDxK4L1ubSLrooXqVM+XvjVOFv7Wl5IYdWPVyK8N02NbbG++WIckl9lGQ3SH1cSjwUPONpsYwpVQfGGeYzdzTXid8j+3EqNA2koD5AmmMTnIc8zjrLEAUfKes5VvkYv15fgl6qIFLCMuXfPsxnRQtUsasrLgWaxNrNoZlzNwrZmO2PEaF7aQIwKbMHGwwHb/b45RKVTlxNn38gR7RjmZkIJTYFmwNognI/qyCbNb7WyvKIMpxx54rHXYo+5r10frZvRnRjPv1/2d5MbKUQP8cPMs0ga1uYQGOw2ER9GD7w1s1K0Wd6UB0A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NZ9nVi/nQybEaUJ3rIvf1+6iPaw0gj7xaLmG0L2IcJk=; b=LoFjl2UrozCCzCvZICi2tm9t3zzw38LiYx8VUPo7PM680x867lQ0TUK2tabWQFCNu1kYpd0OmyCs+soNm316lCa4zipNdN7FhTPfsGPJhP2IR8RLI/WfCQXgPvUfeIre6APwT+S+mW7dZx+5RtV2siPH4biCHgacEY5ObLc1A30et0OHtHt6mrelMUSuVHmm8VHg675PmUMwFUZDyd5rYSXq2zSWlLOWZLT6iIaPVgNyfP/DdY4DqS0+0kYzFI0ooJXLC/sMrvsi9kAwDIFMSkM11PX/zDUa13c7p7CXOUOPMbjJlBvrj+y+qNvaXIBTtm9xqB1hzVJAyb7OFqbxvA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NZ9nVi/nQybEaUJ3rIvf1+6iPaw0gj7xaLmG0L2IcJk=; b=j8I8Vb5l6G3/zmQN0rK3w0+IJSwWWof1CMOCJR3K7IzmVYgcXuuAUotrVM4yArj8Yw2y8bDKM0e/GrJg6t3kYHJKYJJRT/KKVkQbXsmV9OCTA+W8Tzf4zBL4m5nDqXt42HOYhdPVoU65eu8jIMHMNhtFsaUA8w67M1gv4gHh3jE= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) by SA3PR01MB8502.prod.exchangelabs.com (2603:10b6:806:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 21:14:29 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e%6]) with mapi id 15.20.6631.046; Thu, 3 Aug 2023 21:14:29 +0000 From: Ilkka Koskinen To: John Garry , Ian Rogers , Arnaldo Carvalho de Melo Cc: Will Deacon , James Clark , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Ilkka Koskinen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Dave Kleikamp Subject: [PATCH 2/4] perf vendor events arm64: AmpereOne: Mark affected STALL_* events impacted by errata Date: Thu, 3 Aug 2023 14:13:29 -0700 Message-Id: <20230803211331.140553-3-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803211331.140553-1-ilkka@os.amperecomputing.com> References: <20230803211331.140553-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH2PR15CA0006.namprd15.prod.outlook.com (2603:10b6:610:51::16) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0102MB3590:EE_|SA3PR01MB8502:EE_ X-MS-Office365-Filtering-Correlation-Id: 0e00ca48-a099-40f5-cc2c-08db94669fdd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 50mH6WjJ567yzn/ea8l+24q5R2wRR0OiRcJJqaGuWDXgJmMmLp6luvZnOlq7Qe2OSmVkj5ppJxXqluBFwM1oFQFemlZdvW6GrzcnZaPnCj4RqqF9C87Cow/hQRRGLRf/fz7y5Gsqd5d4SvCuNCrczNFUahbnJxWfadfg1DjH6ceuAH4kOUFG/MEFyXTRdWtx1hXoXfOY4GaQEhCCuqp0NWCO2n9R1t4ywUCkYGNmanmq3BYCCSFyhjSaTE6883oWp87GiwzslCBzJauORLLZyyKZDkkv2lynF0mOSLbl29sB6c0JSRDn6ERffjQAh/LnOdK18AYT4KOJWSsa2OKZFzIbIamQkOyrkviVSuGL693RBlfgSttjNZjgw3iGcZbUMRL+e9j8KPgW0V5ORIqphodSAPQLMEBz56Do6e81S+00Avfr21WWkUgvnQxgdz0g9T0aVxOR3fYwjoK5NBwnLFP6OeUwfNZnqCM4f0JzBGYPFb/6hfRo+E50twMiVEk0lwYm6PR7phRjOF5+3u5VA/51/4puWzdmV4QTmvDUXgjjNLXgNij0hQFxLcaaXnYwiRM6/cmorRSJxpweizDIxSjXJ1hBB/EBGsKIKH201VQuzev0RsyjMic3GOKPt0GO X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR0102MB3590.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39850400004)(396003)(366004)(376002)(136003)(346002)(186005)(451199021)(86362001)(52116002)(54906003)(478600001)(110136005)(38100700002)(38350700002)(8676002)(1076003)(2616005)(6506007)(83380400001)(26005)(41300700001)(7416002)(8936002)(6486002)(6512007)(2906002)(316002)(66556008)(66476007)(5660300002)(4326008)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OjQdgp6OimcL9dGuDwoZNuW6kcmBR4/9WRuyn2KL9NzcG2ajuiXeGebR7pATBsaclU/bjWvufZdAY+F4pOLGJKq9x7wDHnVfczYxQNnydcF8gn8vIQa8BqYuVTEqMElAxTs8lDwYCllp/HfwwnNkUUiaK69BunKVerlZ0KUQkj6ojp+/+wH6hQaKvND6NVsdzIrnVzjWYgMhO9w6lT1Tr8od2x2yzdXz7XLbRylQqpyq+qzUb1Q6KV+VJd8/ifEBdDbU8zJxif1B7ZbmLSjePLsvXpZQRVWMwq07ZklEwjCAZrb/zwQj+ZG4jJZn1NtxojVP37u5BoDG2ToIQGAop0plk5edcKO6UsjNNOQh598g2OTy/F9wHwd/akJHIfH7hj7LEtij1wvwK/8zlMq0MdDKAhq9SX8p/WzqB77gcqtEFWY769SROkGt1CvW3+yCjTid5AbDgAFicro6tb2PaqywK649d0P0nVxoZ9j+7nOaXrUldLZo2sm5ND8xxSxDpH1d/IvvkAwn+1gZYKfRRJ1TxR0yYrL+OzffDL6mdIpE/JTtDYkH272pmSrFxy4+3vw9oa9rFoPAHDfOLKG1bEFqQ7NmAI9tP5ErluqT4nFZwIAbYJ9ge9YN5ID5yS6sU56PCaa6m7a9N8In9JCvWaEM6hK3bOXakusql9+pcCd+7LHxPbzrjvJfzwQ58YYk4buEMGeCMJR4yD+Egd0Oowdo0hV0m5pwZ3QThVnbL/4xmvDzW6V2EZotlkznAWSDWPpl3gwaNBl4/e37RlwojS0rByUNL8HCVJBp0sfREeUC62Qr2sUeaTmj7OWBacEMSJr5OoSnFijCW+MHMdr3lehx/jT7FQ2lg1IjJQkmFPqQ4ZEa+Hz1RgjEr4FgOgH1jEIU6GnN36JU6o0W7VWpIlaC9C23bjnMFk75OIqndyk8h/Z0s8fDyTzxbKRKVMa6g9SzVNhcQGA0OKbtZlqNG+javTGcs/SX6gi6Z1N9Oc8NU6s7ynFFo3oH6yNs+mHl1Z2FSSQitRqp46nuigPBP153xGh8YerieHynLldlpJlGt3JJtebFL6wz5z/mZ66cBfAsPcynh/iX2YugZYJQn3eMQ1zgFZXIfrZ5Loys5N6ht2JyPb/Xba/8ploNeV4kUZjuuDcPaZ23+MIEogaf9RsxSQBq+5cxMTkwJTpg+ylPiRxWluSeCVLE+9QCvBISa8ykapdEsg4436GQyjPulM3yiDzDiRNPvZ4vZxCBn2DhjlPwDyT/KvWyotkSCztXClskF5cywdoEz3HLNXgKx+8X6mAX8WrbKTyUJoQwVZwX9VlNVz7rA8jiRiPQ9nCbJ9EHazyio1GwBL8ZyWrenYHu9TJ5tOR+5FarN7+Z5AhBkAU7xVavj5+tvOzQ4GGpeIdi+5vDTdZ/4bwtQvDF4q3X+ENOPz0kA1Mr6oLv3noww5Kzf3j8iwdihXg1R75kWcjIhK/NitRawdOIFUHgAu8bE4eYC1/IBjY9qBIFn4Vg1Uc/4NsFFptL2fHNezvJFIEJO4LCNWEoztd0nr6v5RKMut36clmyFNACKnvt2wv2hGOltqD5EkqkmjME8swgSQDB5BJpbEXLmPMRvw8kXA== X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0e00ca48-a099-40f5-cc2c-08db94669fdd X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 21:14:29.6774 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 62tDwYs24tIcbsOYgQkwTk5fJo/FMcom4xzc7hwvm7X82t3t5h6+kuX5+G4qdmHvTE2iObi0hNUWWVNwwSRW9pGd6ifMUFGEhJcLK7L9JZokEtkaQuWEbiLXzfns29+s X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR01MB8502 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773246080130893526 X-GMAIL-MSGID: 1773246080130893526 Per errata AC03_CPU_29, STALL_SLOT_FRONTEND, STALL_FRONTEND, and STALL events are not counting as expected. The follow up metrics patch will include correct way to calculate the impacted events. Signed-off-by: Ilkka Koskinen Reviewed-by: John Garry --- .../arch/arm64/ampere/ampereone/pipeline.json | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/pipeline.json b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/pipeline.json index f9fae15f7555..711028377f3e 100644 --- a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/pipeline.json +++ b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/pipeline.json @@ -1,18 +1,24 @@ [ { - "ArchStdEvent": "STALL_FRONTEND" + "ArchStdEvent": "STALL_FRONTEND", + "Errata": "Errata AC03_CPU_29", + "BriefDescription": "Impacted by errata, use metrics instead -" }, { "ArchStdEvent": "STALL_BACKEND" }, { - "ArchStdEvent": "STALL" + "ArchStdEvent": "STALL", + "Errata": "Errata AC03_CPU_29", + "BriefDescription": "Impacted by errata, use metrics instead -" }, { "ArchStdEvent": "STALL_SLOT_BACKEND" }, { - "ArchStdEvent": "STALL_SLOT_FRONTEND" + "ArchStdEvent": "STALL_SLOT_FRONTEND", + "Errata": "Errata AC03_CPU_29", + "BriefDescription": "Impacted by errata, use metrics instead -" }, { "ArchStdEvent": "STALL_SLOT" From patchwork Thu Aug 3 21:13:30 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 130876 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1449097vqx; Thu, 3 Aug 2023 15:50:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEdAlQLVRuQ/oL4cbFvaFMvnO41lHfsfLKFicziUNCGO0ybdqA7pgcxPO2kLQebgt24ojmN X-Received: by 2002:a05:6a20:8f29:b0:13f:9233:58d with SMTP id b41-20020a056a208f2900b0013f9233058dmr3158198pzk.2.1691103029503; Thu, 03 Aug 2023 15:50:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691103029; cv=pass; d=google.com; s=arc-20160816; b=H9Z49w7SufY41/voyDLU7m/leiTnmu8x/10nuRTgw8PCK+1nSI4S6S7fyJfgZiL6mr n5eBVLLvGrL6Ei9AdON3QnUxvwETXynSmzaQlVTQxxrvEO2C3+wC3wgNv0m32upyYmox zmyEttwXGb++KPM8A2dA1yAvCglyFdhL2So2avUebUCpbKwq1WzECto5mVIoIMS7r8Wi ICIUZB/HJm8xXRas+kvZOaeOZXR/woUL40OJzKD7VMDK/sbtb/cKXBAGzFZphZuFY6ZT ZrEsDXmbzPZ3yVqv2XJ21qhCwFLndzFQMHnJTqW3xCUX65ToabH6lehSU6di3HM2kIHD vl6g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NiN4aH0GHIR8aHZlBG4D1+YKJZO+xrmuq/QgXmKqykg=; fh=y/Q+fm44QmqbhqhywLeXYhRMDGtmOisRwbQezgRqi+8=; b=IrSduFfXd96Sj2mIhAt+XKrX0pxlIlrzVUgMsK3pcv+PCGSxVU0Z9B0X4SYber8hqq NlRpiwNUhvmRbMyONuNOCu/xoROaarRZiidnU89PlvcpE+kBpyAekJz/mFSY6+H+xj+X JcVYx1GFkBdw1EzD8urppSP1vvcCL/d7pOSSb72UmIzhJa0NSO1TSjClaktLZWmn7Cjz bgfYYrFtrjpvOAe2otaM2pUX0O+L3l06XjlrSKK8ia96WypM3/bBK1XsbAmpAupKLMVa JOXDBGSd45LNjXbY3/DL1FPJv39ewH17Hc8P69R5LoTvuMoW+UAsWm+zzdy3hMxpFaj5 e1Cw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=lqhhq00m; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bu13-20020a056a00410d00b0066733d71d01si605576pfb.317.2023.08.03.15.50.15; Thu, 03 Aug 2023 15:50:29 -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; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=lqhhq00m; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232633AbjHCVOo (ORCPT + 99 others); Thu, 3 Aug 2023 17:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37786 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230018AbjHCVOi (ORCPT ); Thu, 3 Aug 2023 17:14:38 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 144462D43; Thu, 3 Aug 2023 14:14:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XzGLWUAZWGyoE+sPwsmnIaViIdS3aewJjJYC85b01oTaZ7vgNKDx7nTUVv2qnVw6W03GWS6MNZYmDyq+dqID3C0dQiSM21+fVII4D6d7iioT6mG2i0Gr+Wp9U1BPVuBv5aGzUlUiBhiC1TBlmMbyjJ/3az/drIzd4NxfzlOoPD7l3xO7RLFEtmej2tQR71EZAv9ZzAJHoOKqJ+pjOvrQ9eIkceLRrDdfBOGIq2k/VuLOBEo2zC2h3sVibGfOLcIN7TyD7APvskwQE7YU+BIvcrvhr/pICpSGs/pemhyVwsTnjfEKHzlTWuactLVC+l33CHwyBtg4EnWAMqGhHxi+Kw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NiN4aH0GHIR8aHZlBG4D1+YKJZO+xrmuq/QgXmKqykg=; b=LwYotApUIW78XYGrKf6A2LyjH/jYuk20hsgfVaJP3FQsND0OajedL+60ReYZNWrGKwfwzhXAD5kUzmG7/mPC94Ib9ePIjCx5orc30GdYuRoxSKry1K+19TcOA79uvsrcHj1B/fEtZ/LqtsFqUyuoZFhNpXdNd94SovfUv0IjZ+Wg7fr9V8FmAWTRispxWZ/VVYC+cUpTg9jvVwxQwJo3Gjx6UwKIh7m3ixUKIACMdQAZXq5DCW+mm+1lIXQ+0ylvsn6MDL/sd00Oxy3IO93IEAKe/YX+IG4aslOIkB1izH1ibL+Y9CoRdkiUBbHUJj9LxYKROfpMk1BF2vl7kTFfTg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NiN4aH0GHIR8aHZlBG4D1+YKJZO+xrmuq/QgXmKqykg=; b=lqhhq00m8ZpIkrB5GCyNvvF8adj/d35UE8lu2rDtKgL5C8r2xIZzZGWo24vYsWgCBbR3VEC+GSHSjb/D+XVpveJuXhc2fDZt5/a5H/uxqq8x7JPPEJbb2vwD+23zTGMQSAAxwN62d0kzWQt9tjGebX+g1l0NuJlnkHfQvVyVCVI= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) by SA3PR01MB8502.prod.exchangelabs.com (2603:10b6:806:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 21:14:33 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e%6]) with mapi id 15.20.6631.046; Thu, 3 Aug 2023 21:14:33 +0000 From: Ilkka Koskinen To: John Garry , Ian Rogers , Arnaldo Carvalho de Melo Cc: Will Deacon , James Clark , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Ilkka Koskinen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Dave Kleikamp Subject: [PATCH 3/4] perf vendor events arm64: Add AmpereOne metrics Date: Thu, 3 Aug 2023 14:13:30 -0700 Message-Id: <20230803211331.140553-4-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803211331.140553-1-ilkka@os.amperecomputing.com> References: <20230803211331.140553-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH2PR15CA0006.namprd15.prod.outlook.com (2603:10b6:610:51::16) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0102MB3590:EE_|SA3PR01MB8502:EE_ X-MS-Office365-Filtering-Correlation-Id: f972a901-5d12-4c8a-cfdc-08db9466a231 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1UtkV8qanHgf5lObtgQQriLcOnrIBAG4dxs0Owkte1agcZ5Loau50QbcNiDZVxcqTYp9EVXfq+Estoyh4X+iCQ8echo4ojLGCJ7SQHgWcmer0wKhYu7socbWA1uaZTIMXzEweiKDtiOGSGxOdRUVTh8ReebwZltyhPLtUrqf30Iv/z5vewaCJwAzsqVSwWK/iGF/KTViC+xnC4ZTyXBb6fZ8sAlrgrofjZ/X98ye+oLuLekdOJ2iWgVKTIApjXYbgbhOtx+osmTOGvmeQ4vFxhGZN+JEJGT11/tBJckNE2i16A+wrbofpO448JDiG6oo7FgOgMMHsk23tBIW/JLWgKeERI4WjqnBobJzKtWNEISBWjx9AvK0ExX4HBYrwYkfKg5xWJ5xGh2hd8LIIEInKFFhrmkiunn0K1Mx6rIPXtzpI/FqMJztqtNHBhWAE6kS1Mz6dwcNhu9guYMVtkjccsYS4Zh/gZzRv5RF5eJmhY2ohaD+cr3vnla6u8qlnKHPskL9f5yTrbOScZS99MeGTVFZUXc4sE95H4ByZSa/CWPGbWo9953y4G9/Asnb9jXajouEVovb8nAlfoAWjhKTX3etMWhx2qJ3K0pgTUxcYWE1opQWhGzbaSYVoxgLFHvr X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR0102MB3590.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39850400004)(396003)(366004)(376002)(136003)(346002)(186005)(451199021)(86362001)(52116002)(54906003)(478600001)(110136005)(38100700002)(38350700002)(8676002)(1076003)(2616005)(6506007)(83380400001)(26005)(41300700001)(7416002)(8936002)(6486002)(6512007)(2906002)(316002)(66556008)(30864003)(66476007)(5660300002)(4326008)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: zvNb2XkB+Eo1bIRn/iOf4tPB+0V5MgA+GI/udqBJiAgN+Ia1Vy0eINVpD/C0JWS/S3JTBAmzvmwti5bPd30e2+sdtEu8s+Kw7HEjIpWkXAfDZdEUSB9RDAlFCFKtCx9Y1dc137V2K2xnrxdGkWnWnGzJkLF+82z/d8pv8eUXybuZC9gIpqsyKxGKBgrcG2ZqLDVB6GRtno4LMaCY7A+zMAYBuEguoA+rbUN4xoo6vnVOcIlFcEebUtCqBdM0lcO9pgddkVtU0lQPYeq5dzDpCq1nqlIuxvZkUI4AZFAP1Juk7F26AzSXScY1U0/TR49CdTIaDSJUW9PUTRhzYKnvc07iBUD/qA1kmyDafY0m+0vjv8FQX6akXBxVRVQyYgaUTleZegVJexi2tmHutC3tSE9N+9XLPoYo5lrsY7qm4q+GQqn3ReOeBinyTRj3/p3NvMKTsZpITKTlwhDCviXbfvNAIJPdLd8RSjTA3oDEL/nmhpLIqoO3+1Byx95lrTfzdAYwl4a5CQHyFZdFBdCXGjiKkl9DltqrD1Pik6kbZpmyWhkyHTIfZvrugmSR4uf71+I+q1pIxzMTDkEYgXULoEh2wMmEvp5ztCFkJF2K/EUwRtyBsokLLsCDqdem0aMAIx4POtXvicHthGleTCDgyi7kdwxYBLH7rLp5oTM8aQuZQqkGOM3q1bZUahQEELNJHuYak/XsU3tuTbeZrpCbHTyOUoUJ7T81b/OT/sDLJ1O0oRZqNH79UKKaTzE45prFfKJdjZH6Ktk6q+dekjSV4QmDg0nrv/oH27EFDUG1+X/HJy3S+TRx8GIawSLZGufzR178EYf0wOMf9uhj3kYJj0n3DZrrjeEcyu2/WuA19PM+qgfYt/uSMDq5zYC19661fxtdcXTWIMCX00fpbjpQO46LopQPDFbFsSpxdE/TPdj2u/mBq5eIeQVP+p6orqteTjePAuLoEZcwpemIb/I0tsPpUbDkz5XZYjBRRizGXEQw99GCxqOsAYz+1SAgAgp71zWzL6yY2E6QiFMnqCocfyIv6vj1/vseqrbA6kztMmG+h+RnZ4W2MbwexfTcPVRkdcls28NKzdlDYTBjH7Wp23FM2Zh0zlHQO7NCMOgmHNWhESsOzgGHBdXMVvvz0jH4RLsRus/Yd7ZNPP0HYT2M3dMucKmfe/Ya8SGO14cpld/JuGtKbvXrIoRPsttRc+YzGobVRSidWwXbVsc3i5GCEtQ6X5NURHuG/ibZXbNKZ4yBj5r+TZ5tgVMaV842X/RzL8SkUgPR4pmL+djIZUnQtdgo/DdZUWerwbcSa9W6G6LqJpiPisN1jPv/hPAdtTu6ogOHucGBxq74cIOPpXhDBedmYzwFINRbPy3AV5sVZt8Z/17h/dAfg68nnhgm9bnbigduGvcbpPoqwvwAHNR1nniMw68lV+tR9xJaeLqjer76TFOoEsnxPbb6db3wODC+L/vQZg1nRR6/T0LBf1Z2V1+x8qSxX4+UQIxgw47Y2G/Tt7t/dEeiWk7I3r+HS0uB3IGVG/OjdrGAECh5lQQhUqgRpluqCd5w4p+9Xg4k32ZeltV+n5hlrQBUIejJs+pYfQXaziONNrwlMupzokN7Ug== X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: f972a901-5d12-4c8a-cfdc-08db9466a231 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 21:14:33.3368 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Zjzv/ub6FLDbO0DHk5Ng+4X5dN1LRbAIGE+wzLbHosZEHdo2U0vVz/d6ZXvwUuTbCnWIAeVcpS0YNrQxegY3t/Evb+zccm+FO6s7LYR9iiOxvcSiwPjHDTalsQzWWqqN X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR01MB8502 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773250050229430889 X-GMAIL-MSGID: 1773250050229430889 This patch adds AmpereOne metrics. The metrics also work around the issue related to some of the events. Signed-off-by: Ilkka Koskinen --- .../arch/arm64/ampere/ampereone/metrics.json | 362 ++++++++++++++++++ 1 file changed, 362 insertions(+) create mode 100644 tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json diff --git a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json new file mode 100644 index 000000000000..1e7e8901a445 --- /dev/null +++ b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/metrics.json @@ -0,0 +1,362 @@ +[ + { + "MetricExpr": "BR_MIS_PRED / BR_PRED", + "BriefDescription": "Branch predictor misprediction rate. May not count branches that are never resolved because they are in the misprediction shadow of an earlier branch", + "MetricGroup": "Branch Prediction", + "MetricName": "Misprediction" + }, + { + "MetricExpr": "BR_MIS_PRED_RETIRED / BR_RETIRED", + "BriefDescription": "Branch predictor misprediction rate", + "MetricGroup": "Branch Prediction", + "MetricName": "Misprediction (retired)" + }, + { + "MetricExpr": "BUS_ACCESS / ( BUS_CYCLES * 1)", + "BriefDescription": "Core-to-uncore bus utilization", + "MetricGroup": "Bus", + "MetricName": "Bus utilization" + }, + { + "MetricExpr": "L1D_CACHE_REFILL / L1D_CACHE", + "BriefDescription": "L1D cache miss rate", + "MetricGroup": "Cache", + "MetricName": "L1D cache miss" + }, + { + "MetricExpr": "L1D_CACHE_LMISS_RD / L1D_CACHE_RD", + "BriefDescription": "L1D cache read miss rate", + "MetricGroup": "Cache", + "MetricName": "L1D cache read miss" + }, + { + "MetricExpr": "L1I_CACHE_REFILL / L1I_CACHE", + "BriefDescription": "L1I cache miss rate", + "MetricGroup": "Cache", + "MetricName": "L1I cache miss" + }, + { + "MetricExpr": "L2D_CACHE_REFILL / L2D_CACHE", + "BriefDescription": "L2 cache miss rate", + "MetricGroup": "Cache", + "MetricName": "L2 cache miss" + }, + { + "MetricExpr": "L1I_CACHE_LMISS / L1I_CACHE", + "BriefDescription": "L1I cache read miss rate", + "MetricGroup": "Cache", + "MetricName": "L1I cache read miss" + }, + { + "MetricExpr": "L2D_CACHE_LMISS_RD / L2D_CACHE_RD", + "BriefDescription": "L2 cache read miss rate", + "MetricGroup": "Cache", + "MetricName": "L2 cache read miss" + }, + { + "MetricExpr": "(L1D_CACHE_LMISS_RD * 1000) / INST_RETIRED", + "BriefDescription": "Misses per thousand instructions (data)", + "MetricGroup": "Cache", + "MetricName": "MPKI data" + }, + { + "MetricExpr": "(L1I_CACHE_LMISS * 1000) / INST_RETIRED", + "BriefDescription": "Misses per thousand instructions (instruction)", + "MetricGroup": "Cache", + "MetricName": "MPKI instruction" + }, + { + "MetricExpr": "ASE_SPEC / OP_SPEC", + "BriefDescription": "Proportion of advanced SIMD data processing operations (excluding DP_SPEC/LD_SPEC) operations", + "MetricGroup": "Instruction", + "MetricName": "ASE mix" + }, + { + "MetricExpr": "CRYPTO_SPEC / OP_SPEC", + "BriefDescription": "Proportion of crypto data processing operations", + "MetricGroup": "Instruction", + "MetricName": "Crypto mix" + }, + { + "MetricExpr": "VFP_SPEC / (duration_time *1000000000)", + "BriefDescription": "Giga-floating point operations per second", + "MetricGroup": "Instruction", + "MetricName": "GFLOPS_ISSUED" + }, + { + "MetricExpr": "DP_SPEC / OP_SPEC", + "BriefDescription": "Proportion of integer data processing operations", + "MetricGroup": "Instruction", + "MetricName": "Integer mix" + }, + { + "MetricExpr": "INST_RETIRED / CPU_CYCLES", + "BriefDescription": "Instructions per cycle", + "MetricGroup": "Instruction", + "MetricName": "IPC" + }, + { + "MetricExpr": "LD_SPEC / OP_SPEC", + "BriefDescription": "Proportion of load operations", + "MetricGroup": "Instruction", + "MetricName": "Load mix" + }, + { + "MetricExpr": "LDST_SPEC/ OP_SPEC", + "BriefDescription": "Proportion of load & store operations", + "MetricGroup": "Instruction", + "MetricName": "Load-store mix" + }, + { + "MetricExpr": "INST_RETIRED / (duration_time * 1000000)", + "BriefDescription": "Millions of instructions per second", + "MetricGroup": "Instruction", + "MetricName": "MIPS_RETIRED" + }, + { + "MetricExpr": "INST_SPEC / (duration_time * 1000000)", + "BriefDescription": "Millions of instructions per second", + "MetricGroup": "Instruction", + "MetricName": "MIPS_UTILIZATION" + }, + { + "MetricExpr": "PC_WRITE_SPEC / OP_SPEC", + "BriefDescription": "Proportion of software change of PC operations", + "MetricGroup": "Instruction", + "MetricName": "PC write mix" + }, + { + "MetricExpr": "ST_SPEC / OP_SPEC", + "BriefDescription": "Proportion of store operations", + "MetricGroup": "Instruction", + "MetricName": "Store mix" + }, + { + "MetricExpr": "VFP_SPEC / OP_SPEC", + "BriefDescription": "Proportion of FP operations", + "MetricGroup": "Instruction", + "MetricName": "VFP mix" + }, + { + "MetricExpr": "1 - (OP_RETIRED/ (CPU_CYCLES * 4))", + "BriefDescription": "Proportion of slots lost", + "MetricGroup": "Speculation / TDA", + "MetricName": "CPU lost" + }, + { + "MetricExpr": "OP_RETIRED/ (CPU_CYCLES * 4)", + "BriefDescription": "Proportion of slots retiring", + "MetricGroup": "Speculation / TDA", + "MetricName": "CPU utilization" + }, + { + "MetricExpr": "OP_RETIRED - OP_SPEC", + "BriefDescription": "Operations lost due to misspeculation", + "MetricGroup": "Speculation / TDA", + "MetricName": "Operations lost" + }, + { + "MetricExpr": "1 - (OP_RETIRED / OP_SPEC)", + "BriefDescription": "Proportion of operations lost", + "MetricGroup": "Speculation / TDA", + "MetricName": "Operations lost (ratio)" + }, + { + "MetricExpr": "OP_RETIRED / OP_SPEC", + "BriefDescription": "Proportion of operations retired", + "MetricGroup": "Speculation / TDA", + "MetricName": "Operations retired" + }, + { + "MetricExpr": "STALL_BACKEND_CACHE / CPU_CYCLES", + "BriefDescription": "Proportion of cycles stalled and no operations issued to backend and cache miss", + "MetricGroup": "Stall", + "MetricName": "Stall backend cache cycles" + }, + { + "MetricExpr": "STALL_BACKEND_RESOURCE / CPU_CYCLES", + "BriefDescription": "Proportion of cycles stalled and no operations issued to backend and resource full", + "MetricGroup": "Stall", + "MetricName": "Stall backend resource cycles" + }, + { + "MetricExpr": "STALL_BACKEND_TLB / CPU_CYCLES", + "BriefDescription": "Proportion of cycles stalled and no operations issued to backend and TLB miss", + "MetricGroup": "Stall", + "MetricName": "Stall backend tlb cycles" + }, + { + "MetricExpr": "STALL_FRONTEND_CACHE / CPU_CYCLES", + "BriefDescription": "Proportion of cycles stalled and no ops delivered from frontend and cache miss", + "MetricGroup": "Stall", + "MetricName": "Stall frontend cache cycles" + }, + { + "MetricExpr": "STALL_FRONTEND_TLB / CPU_CYCLES", + "BriefDescription": "Proportion of cycles stalled and no ops delivered from frontend and TLB miss", + "MetricGroup": "Stall", + "MetricName": "Stall frontend tlb cycles" + }, + { + "MetricExpr": "DTLB_WALK / L1D_TLB", + "BriefDescription": "D-side walk per d-side translation request", + "MetricGroup": "TLB", + "MetricName": "DTLB walks" + }, + { + "MetricExpr": "ITLB_WALK / L1I_TLB", + "BriefDescription": "I-side walk per i-side translation request", + "MetricGroup": "TLB", + "MetricName": "ITLB walks" + }, + { + "MetricExpr": "STALL_SLOT_BACKEND / (CPU_CYCLES * 4)", + "BriefDescription": "Fraction of slots backend bound", + "MetricGroup": "TopDownL1", + "MetricName": "backend" + }, + { + "MetricExpr": "1 - (retiring + lost + backend)", + "BriefDescription": "Fraction of slots frontend bound", + "MetricGroup": "TopDownL1", + "MetricName": "frontend" + }, + { + "MetricExpr": "((OP_SPEC - OP_RETIRED) / (CPU_CYCLES * 4))", + "BriefDescription": "Fraction of slots lost due to misspeculation", + "MetricGroup": "TopDownL1", + "MetricName": "lost" + }, + { + "MetricExpr": "(OP_RETIRED / (CPU_CYCLES * 4))", + "BriefDescription": "Fraction of slots retiring, useful work", + "MetricGroup": "TopDownL1", + "MetricName": "retiring" + }, + { + "MetricExpr": "backend - backend_memory", + "BriefDescription": "Fraction of slots the CPU was stalled due to backend non-memory subsystem issues", + "MetricGroup": "TopDownL2", + "MetricName": "backend_core" + }, + { + "MetricExpr": "(STALL_BACKEND_TLB + STALL_BACKEND_CACHE + STALL_BACKEND_MEM) / CPU_CYCLES ", + "BriefDescription": "Fraction of slots the CPU was stalled due to backend memory subsystem issues (cache/tlb miss)", + "MetricGroup": "TopDownL2", + "MetricName": "backend_memory" + }, + { + "MetricExpr": " (BR_MIS_PRED_RETIRED / GPC_FLUSH) * lost", + "BriefDescription": "Fraction of slots lost due to branch misprediciton", + "MetricGroup": "TopDownL2", + "MetricName": "branch_mispredict" + }, + { + "MetricExpr": "frontend - frontend_latency", + "BriefDescription": "Fraction of slots the CPU did not dispatch at full bandwidth - able to dispatch partial slots only (1, 2, or 3 uops)", + "MetricGroup": "TopDownL2", + "MetricName": "frontend_bandwidth" + }, + { + "MetricExpr": "(STALL_FRONTEND - ((STALL_SLOT_FRONTEND - (frontend * CPU_CYCLES * 4)) / 4)) / CPU_CYCLES", + "BriefDescription": "Fraction of slots the CPU was stalled due to frontend latency issues (cache/tlb miss); nothing to dispatch", + "MetricGroup": "TopDownL2", + "MetricName": "frontend_latency" + }, + { + "MetricExpr": "lost - branch_mispredict", + "BriefDescription": "Fraction of slots lost due to other/non-branch misprediction misspeculation", + "MetricGroup": "TopDownL2", + "MetricName": "other_clears" + }, + { + "MetricExpr": "(IXU_NUM_UOPS_ISSUED + FSU_ISSUED) / (CPU_CYCLES * 6)", + "BriefDescription": "Fraction of execute slots utilized", + "MetricGroup": "TopDownL2", + "MetricName": "pipe_utilization" + }, + { + "MetricExpr": "STALL_BACKEND_MEM / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled due to data L2 cache miss", + "MetricGroup": "TopDownL3", + "MetricName": "d_cache_l2_miss" + }, + { + "MetricExpr": "STALL_BACKEND_CACHE / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled due to data cache miss", + "MetricGroup": "TopDownL3", + "MetricName": "d_cache_miss" + }, + { + "MetricExpr": "STALL_BACKEND_TLB / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled due to data TLB miss", + "MetricGroup": "TopDownL3", + "MetricName": "d_tlb_miss" + }, + { + "MetricExpr": "FSU_ISSUED / (CPU_CYCLES * 2)", + "BriefDescription": "Fraction of FSU execute slots utilized", + "MetricGroup": "TopDownL3", + "MetricName": "fsu_pipe_utilization" + }, + { + "MetricExpr": "STALL_FRONTEND_CACHE / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled due to instruction cache miss", + "MetricGroup": "TopDownL3", + "MetricName": "i_cache_miss" + }, + { + "MetricExpr": " STALL_FRONTEND_TLB / CPU_CYCLES ", + "BriefDescription": "Fraction of cycles the CPU was stalled due to instruction TLB miss", + "MetricGroup": "TopDownL3", + "MetricName": "i_tlb_miss" + }, + { + "MetricExpr": "IXU_NUM_UOPS_ISSUED / (CPU_CYCLES / 4)", + "BriefDescription": "Fraction of IXU execute slots utilized", + "MetricGroup": "TopDownL3", + "MetricName": "ixu_pipe_utilization" + }, + { + "MetricExpr": "IDR_STALL_FLUSH / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled due to flush recovery", + "MetricGroup": "TopDownL3", + "MetricName": "recovery" + }, + { + "MetricExpr": "STALL_BACKEND_RESOURCE / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled due to core resource shortage", + "MetricGroup": "TopDownL3", + "MetricName": "resource" + }, + { + "MetricExpr": "IDR_STALL_FSU_SCHED / CPU_CYCLES ", + "BriefDescription": "Fraction of cycles the CPU was stalled and FSU was full", + "MetricGroup": "TopDownL4", + "MetricName": "stall_fsu_sched" + }, + { + "MetricExpr": "IDR_STALL_IXU_SCHED / CPU_CYCLES ", + "BriefDescription": "Fraction of cycles the CPU was stalled and IXU was full", + "MetricGroup": "TopDownL4", + "MetricName": "stall_ixu_sched" + }, + { + "MetricExpr": "IDR_STALL_LOB_ID / CPU_CYCLES ", + "BriefDescription": "Fraction of cycles the CPU was stalled and LOB was full", + "MetricGroup": "TopDownL4", + "MetricName": "stall_lob_id" + }, + { + "MetricExpr": "IDR_STALL_ROB_ID / CPU_CYCLES", + "BriefDescription": "Fraction of cycles the CPU was stalled and ROB was full", + "MetricGroup": "TopDownL4", + "MetricName": "stall_rob_id" + }, + { + "MetricExpr": "IDR_STALL_SOB_ID / CPU_CYCLES ", + "BriefDescription": "Fraction of cycles the CPU was stalled and SOB was full", + "MetricGroup": "TopDownL4", + "MetricName": "stall_sob_id" + } +] From patchwork Thu Aug 3 21:13:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 130903 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:9f41:0:b0:3e4:2afc:c1 with SMTP id v1csp1519536vqx; Thu, 3 Aug 2023 18:51:43 -0700 (PDT) X-Google-Smtp-Source: APBJJlGd5hbYNfp8uBEpXjS2PKMOe55yI79YnRWWM8nZ0KeUgle6K7AX/GBJ4m66fYK4mDG+TzvY X-Received: by 2002:a05:6402:270b:b0:522:582f:9194 with SMTP id y11-20020a056402270b00b00522582f9194mr15801577edd.4.1691113902711; Thu, 03 Aug 2023 18:51:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1691113902; cv=pass; d=google.com; s=arc-20160816; b=cFfXcmjypNs47+jXMqLD8nG175wyzQTzsavJy868uyVpApBamH704YZ5YjDOTDEi4D Mm9js4eFNerWuHXeLHkQxrtT3LRTtQSjSZVvCJLTQqF3icKFvYZv+kJZvOuWm728Gh3k TVxxlupCKcOIWWg3R+T7/sNJsAcAyPe1lN6wiAsU0D/E/syB6EExsMa110Bu5xf8ntAL qIQjadKmrJ7DbxNDd7FkB59ockFcB79QogF4Elw5qcsZs3XwJkxI2kXBprlx9A/gvq5r uGZgU3jyl6JOLaPzjoP0Fqmql4iquJ9Zan4wL8NNYOZmDsD9CApmo9OYzsYPVNPRCxjT FfSw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=NmURnsdEISgfZCIhNt+ekSWF8TMap142MoW3bRsj7TI=; fh=y/Q+fm44QmqbhqhywLeXYhRMDGtmOisRwbQezgRqi+8=; b=DClSfyxshHLmBXyKjc5c+lDxDD7qwMsPxgaxOGInm9gzSoa/9gH8PMf6+UhPVgeeAO oauwcJhSIJ0y7pzaI1j666wdZ4qT4ebgjx0kjRc4ZwrhHiRuvPjPi3b+5/t9QKXYD6BY P9/RDHjECmFhcFprUOcoolo++xBm1vHHzJPv8nM3Xn8/71isGOOS1/UGCH+QhxQqZqm6 XRFG3fwSSmvdfpGb7VFETjiqUfMuIdtl+mBa8uphCDcK7qzJH3EsdM2dFIjjaphWAYJX pRCE/Ekca7ad8OHZyKEUDLbSuwb0Ivd75/W8Iz7rpen87CZIlhwVY9b2jeNiors/pcmA 7IKw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=ncfNagmn; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bc20-20020a056402205400b00522ab076c25si705105edb.141.2023.08.03.18.51.19; Thu, 03 Aug 2023 18:51:42 -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; dkim=pass header.i=@os.amperecomputing.com header.s=selector2 header.b=ncfNagmn; arc=pass (i=1 spf=pass spfdomain=os.amperecomputing.com dkim=pass dkdomain=os.amperecomputing.com dmarc=pass fromdomain=os.amperecomputing.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=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amperecomputing.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230282AbjHCVPE (ORCPT + 99 others); Thu, 3 Aug 2023 17:15:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37942 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232617AbjHCVOn (ORCPT ); Thu, 3 Aug 2023 17:14:43 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EE57B30F1; Thu, 3 Aug 2023 14:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q9KKzvVCEGoXFvWnbr7G/d2zNu7uAnWnO2+djT/kWvctR+mOQqAoce08GOowp8lR6LlK4T3E8eoSFKUoLpyey+D/bwXWTfvm+oHEzYVSLeB8t6JYscJBTjfUZ53evZUV2UGaMzQOHAjVnazzJJq3F/JCBeaKOZyxzyPcnhO33aVqukJQbTGjJxLO3dtGvOi5UxGH2d+cCJ/CWXzHl+d5gYdz9R/T+eWcQ+fxVk8JG9SjJmwiQ68lMiUDd8s+u7OtuteOWK7pVlxqBF3idSa1WiOWVveQXW374RQO6CjeJhx62MCEx/kqK723JaK14n7x14LdSG+XXt9MajI1GRwfjw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NmURnsdEISgfZCIhNt+ekSWF8TMap142MoW3bRsj7TI=; b=jvPYv6AgEWSlzktf6TQDSHC6ifFEGpPqCzEAeSxR/yDZX0kxVAJaJL9VdjpP8sfj+NDsRncm7GKGNj6+FGUjPeQqdfZfJ7MhVqHkBoFOWm5IRYvRrzdCx5WSB5JJ+s8eFnLcZD/aXq/JAdPhNKgoRqEqj4PwhYwXNAqZ5sXTS2zJjV/fIV9EHCW/QouzpX5hk5mUdZYbTD5cOiCOaK9vihPQ1BLwLIg4YuX5w4t4CANf6FzQisRDwyR3IXbwOeAmfg2dhaoT7GasUzWo9t2hT41n7EX1Gu+qNosTUfTaM3gPSPg05oDi/XdUKS6IKbwJsNYAqNJxacl6vGWSCj5I3w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=os.amperecomputing.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NmURnsdEISgfZCIhNt+ekSWF8TMap142MoW3bRsj7TI=; b=ncfNagmn8AglpnUviBBuU1/t4NEmaKW7qt8SHJ55y/2ita09prqst5uEkPm9gr4K6CGxacN6BHkHYGBzOeM33eqTgaKtEi3R4IF7bQL/NPS3gLs322s17Z6zA2TLUr3/r7lWzVEmPodJl1AO4L3L1K5MXkhBvCRtRz81FOPVqqw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) by SA3PR01MB8502.prod.exchangelabs.com (2603:10b6:806:39f::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6631.47; Thu, 3 Aug 2023 21:14:37 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::4e0f:49b:ee39:f08e%6]) with mapi id 15.20.6631.046; Thu, 3 Aug 2023 21:14:37 +0000 From: Ilkka Koskinen To: John Garry , Ian Rogers , Arnaldo Carvalho de Melo Cc: Will Deacon , James Clark , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Adrian Hunter , Ilkka Koskinen , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org, Dave Kleikamp Subject: [PATCH 4/4] perf vendor events arm64: AmpereOne: Remove unsupported events Date: Thu, 3 Aug 2023 14:13:31 -0700 Message-Id: <20230803211331.140553-5-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230803211331.140553-1-ilkka@os.amperecomputing.com> References: <20230803211331.140553-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH2PR15CA0006.namprd15.prod.outlook.com (2603:10b6:610:51::16) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0102MB3590:EE_|SA3PR01MB8502:EE_ X-MS-Office365-Filtering-Correlation-Id: 95582e19-4872-4b03-bf1b-08db9466a491 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 57FYMErhU7ZTt43hORoR+0nrk/wW/Ekv12Pkq/CUs9YqtUcJkPtk8M/u2SDJga1stMD/x7dhnwJmkHRTRKaYBmMmsCRBUDE6ky8OacrTEOftEUI2AqefGUL21mjO+7qWoohG0UDRpkL2AVPJa9I7IWCIeRssGIfqjTBQbI4vD9dKaD/q1eUj3N9le6zbIj9dinULJSx4zsPz1nvDpy5WPv+DHJ5weTKu4CVGDLmmHm9t6Dh4j6k4lR12s+LynOHR96ZCcSaQn9olxJqtXwsbV9m+lTvtY+poCQ8FAuDIzrfYnCkP8k5wK7/sT8SUoAWraH03dSjZc47EKRgQetOEaVivuv8Q2y+gzl9LlSvIih4Lgohib6rZo0bBiPAB5Qg2bBJNkqkWC7HRr6PmQMKjXIPMjZu3hDrpAXrHe3A8SS2ANX5Hk0sF3R/+gSsOJe5M6ysCNjTpM6K0N0LHd0U18Po3JeCM+TwBGbx3fy/F54aQVe/2q1Gt/+OTyK2BA1rky0BSCDAnY72Gck3keIQ7UuBF0BBW6Q0U+u2CNcGKWtfixc7UhpuD595WBkppoIGPnXXVt0RiYu7oDRIU3ImAAKnPPrmZR9CYUosOnvjmoE/f8gnp3CWnKe3LTANXmI55 X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM5PR0102MB3590.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230028)(4636009)(39850400004)(396003)(366004)(376002)(136003)(346002)(186005)(451199021)(86362001)(52116002)(54906003)(478600001)(110136005)(38100700002)(38350700002)(8676002)(1076003)(2616005)(6506007)(83380400001)(26005)(41300700001)(7416002)(8936002)(6486002)(6512007)(6666004)(2906002)(316002)(66556008)(66476007)(5660300002)(4326008)(66946007);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: yRMGg3zN9MU/zdSaBPMwnulXHglV3DVS3yNqlJnSnPrs877XIXvW1aTLySMhPoHCj6I13EKFfq2VAjFke2jPRbDDiXHAQxIWNcLlptL6fCxc0keRUnhbiaQeNz9yytAVHO70abB3+VP2aC2b6/CS2L4ftxWWLWhpBxcX2To/Q75krrg3tjv9VWlOHA0HyYlJEq6pSyZe1gfsGw4vBPPNhO7tv3LkNGH27zbVzeEdK8eMuCvk9+IZaoPgAxreQvlzBkB+8YkMx0KTZDuUcnCs8CeiDQnwLCvSwi6sHjhLrxYbj3r14ojmqLD/VGQzcirZ8kATdkk/hjyP+UiUm3OhxSGXQEZqdyOM7YCTwOhAHIpgW22qgt6o8wEy2PH7HzZFfXo263Szb9sGgHK9Jv+FIMbhM7HfN2dRcvrtVwYxERKp6pK8/Fokg9g3klh2av7JsvFajSauZqFk3mBwQQYVU8OcLGQd7v6UcKaXf6Ry2F6XMsHazejgoHOO3K/ihXaFCAE+QBjzXvVuPoPlYDsvswe6pf4gfrupEOQa1e+6nrQRGKyfMUfAgK90SvUMKkKbN1czrFkoL4mTWA/RUzM4PxWF8jKLF6E7xvvfU3Pw+2Z7Ar/kGxgk2o31WHhralg718PT3LBKwZky/6eRXYxVTn5RWKXM+AfcqYAC7h+DFqVloMPffWW42ZmueP/hYZwSs8pgEIsNan5l/wmhsFflvkPhymEKkqSEDBlv4RDY+LWdP9z7NDcAIShfW3QBUvJ+Pl4lAFJIS7mpmzcNKcXzaSTXCp0r1XuHF6wo8a/71vHfvkevbp81UsnDwo6PXKP+qvQkEfy6P26OG93d6NKw+VeHutDQ9611EZWmbgs60RAG8iipjndHWAAWFumIGG/PCTE87bMH2XatNj+7cmDCZ0xNKjYKrb6h7hWlbwdgdExdPyCwo5jag1pta+a8Vc4iflf2JjCfg947+dCIQVL7xkSjE5IMPlVksuAxOJVJiq6yquvQmbLod8HbWz0htIg3HSy73V9hMjFvhTU+EP+mIdC8cDzpmeSg+vx6BeVxlTzmc3K00jSABMAwiXnm0lzUDPnd0JnP+zBygteyaLN9FATnkOmahdBdcfU1k1XRq74R4zLrQBNF8PsdFQzNw7UuMuFfEEBRojGJl5/O14JhD9bLqh+Qcvb5OBHmfj67KyWVvqoslcT7nTnMTsh1DrQ2RrAtVPw+Wym+zWJ077/xxKVNPZgUTuj8KiWtao+Du0G7ppr8eSMlIc2xeHg46rpC/6y0+CvdbZOOdScWjZA+hqFNrrSXf5BfT40EcUJn2Hmw9ddh+ubO6IzbGh/5ySYKlddNUQegSl9IeudeSSXexiomS1OR6sa0YzQPTZOQTj+x5ofLDVHL+3WuGHfbR22/Qr51Pb+vnZ1G/P8ExvEYPErf2iv+xlHAkUkXe+7tXSu/iCH3VlfHSA2VWSey6KdSeKXqBh9zkyhFFcV+js2d0A4vIzBkW39qtmk/gwkUDcAyVcx8N+Z7PUkZbe26X4aTJ4NkxBKzXyWjVMKkqB5HOpSTkxn4pHPq05gsmhkS4upZYxKC9m/ssiqVWtQs8yuo+wPgeAfIuFR9Z1Qm/NSSbQ== X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 95582e19-4872-4b03-bf1b-08db9466a491 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2023 21:14:37.3048 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: k8Vp8qQSDrggy+4k0OVNEkgQf7iayETMTy+Bk2AGj6SQvMNpsdriLE28NJVcjuDrOIA6WBo1ruT1JEW071msV+YOjARagL5gq65Rr2OEwZFA4bjyocjLjvddq+KgnY27 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA3PR01MB8502 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1773261451670720219 X-GMAIL-MSGID: 1773261451670720219 Some of the events included in the ampereone/core-imp-def are not supported on AmpereOne, remove them. Signed-off-by: Ilkka Koskinen --- .../arm64/ampere/ampereone/core-imp-def.json | 120 ------------------ 1 file changed, 120 deletions(-) diff --git a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/core-imp-def.json b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/core-imp-def.json index 95c30243f2b2..88b23b85e33c 100644 --- a/tools/perf/pmu-events/arch/arm64/ampere/ampereone/core-imp-def.json +++ b/tools/perf/pmu-events/arch/arm64/ampere/ampereone/core-imp-def.json @@ -533,66 +533,6 @@ "EventName": "MMU_D_OTB_ALLOC", "BriefDescription": "L2D OTB allocate" }, - { - "PublicDescription": "DTLB Translation cache hit on S1L2 walk cache entry", - "EventCode": "0xD801", - "EventName": "MMU_D_TRANS_CACHE_HIT_S1L2_WALK", - "BriefDescription": "DTLB Translation cache hit on S1L2 walk cache entry" - }, - { - "PublicDescription": "DTLB Translation cache hit on S1L1 walk cache entry", - "EventCode": "0xD802", - "EventName": "MMU_D_TRANS_CACHE_HIT_S1L1_WALK", - "BriefDescription": "DTLB Translation cache hit on S1L1 walk cache entry" - }, - { - "PublicDescription": "DTLB Translation cache hit on S1L0 walk cache entry", - "EventCode": "0xD803", - "EventName": "MMU_D_TRANS_CACHE_HIT_S1L0_WALK", - "BriefDescription": "DTLB Translation cache hit on S1L0 walk cache entry" - }, - { - "PublicDescription": "DTLB Translation cache hit on S2L2 walk cache entry", - "EventCode": "0xD804", - "EventName": "MMU_D_TRANS_CACHE_HIT_S2L2_WALK", - "BriefDescription": "DTLB Translation cache hit on S2L2 walk cache entry" - }, - { - "PublicDescription": "DTLB Translation cache hit on S2L1 walk cache entry", - "EventCode": "0xD805", - "EventName": "MMU_D_TRANS_CACHE_HIT_S2L1_WALK", - "BriefDescription": "DTLB Translation cache hit on S2L1 walk cache entry" - }, - { - "PublicDescription": "DTLB Translation cache hit on S2L0 walk cache entry", - "EventCode": "0xD806", - "EventName": "MMU_D_TRANS_CACHE_HIT_S2L0_WALK", - "BriefDescription": "DTLB Translation cache hit on S2L0 walk cache entry" - }, - { - "PublicDescription": "D-side S1 Page walk cache lookup", - "EventCode": "0xD807", - "EventName": "MMU_D_S1_WALK_CACHE_LOOKUP", - "BriefDescription": "D-side S1 Page walk cache lookup" - }, - { - "PublicDescription": "D-side S1 Page walk cache refill", - "EventCode": "0xD808", - "EventName": "MMU_D_S1_WALK_CACHE_REFILL", - "BriefDescription": "D-side S1 Page walk cache refill" - }, - { - "PublicDescription": "D-side S2 Page walk cache lookup", - "EventCode": "0xD809", - "EventName": "MMU_D_S2_WALK_CACHE_LOOKUP", - "BriefDescription": "D-side S2 Page walk cache lookup" - }, - { - "PublicDescription": "D-side S2 Page walk cache refill", - "EventCode": "0xD80A", - "EventName": "MMU_D_S2_WALK_CACHE_REFILL", - "BriefDescription": "D-side S2 Page walk cache refill" - }, { "PublicDescription": "D-side Stage1 tablewalk fault", "EventCode": "0xD80B", @@ -617,66 +557,6 @@ "EventName": "MMU_I_OTB_ALLOC", "BriefDescription": "L2I OTB allocate" }, - { - "PublicDescription": "ITLB Translation cache hit on S1L2 walk cache entry", - "EventCode": "0xD901", - "EventName": "MMU_I_TRANS_CACHE_HIT_S1L2_WALK", - "BriefDescription": "ITLB Translation cache hit on S1L2 walk cache entry" - }, - { - "PublicDescription": "ITLB Translation cache hit on S1L1 walk cache entry", - "EventCode": "0xD902", - "EventName": "MMU_I_TRANS_CACHE_HIT_S1L1_WALK", - "BriefDescription": "ITLB Translation cache hit on S1L1 walk cache entry" - }, - { - "PublicDescription": "ITLB Translation cache hit on S1L0 walk cache entry", - "EventCode": "0xD903", - "EventName": "MMU_I_TRANS_CACHE_HIT_S1L0_WALK", - "BriefDescription": "ITLB Translation cache hit on S1L0 walk cache entry" - }, - { - "PublicDescription": "ITLB Translation cache hit on S2L2 walk cache entry", - "EventCode": "0xD904", - "EventName": "MMU_I_TRANS_CACHE_HIT_S2L2_WALK", - "BriefDescription": "ITLB Translation cache hit on S2L2 walk cache entry" - }, - { - "PublicDescription": "ITLB Translation cache hit on S2L1 walk cache entry", - "EventCode": "0xD905", - "EventName": "MMU_I_TRANS_CACHE_HIT_S2L1_WALK", - "BriefDescription": "ITLB Translation cache hit on S2L1 walk cache entry" - }, - { - "PublicDescription": "ITLB Translation cache hit on S2L0 walk cache entry", - "EventCode": "0xD906", - "EventName": "MMU_I_TRANS_CACHE_HIT_S2L0_WALK", - "BriefDescription": "ITLB Translation cache hit on S2L0 walk cache entry" - }, - { - "PublicDescription": "I-side S1 Page walk cache lookup", - "EventCode": "0xD907", - "EventName": "MMU_I_S1_WALK_CACHE_LOOKUP", - "BriefDescription": "I-side S1 Page walk cache lookup" - }, - { - "PublicDescription": "I-side S1 Page walk cache refill", - "EventCode": "0xD908", - "EventName": "MMU_I_S1_WALK_CACHE_REFILL", - "BriefDescription": "I-side S1 Page walk cache refill" - }, - { - "PublicDescription": "I-side S2 Page walk cache lookup", - "EventCode": "0xD909", - "EventName": "MMU_I_S2_WALK_CACHE_LOOKUP", - "BriefDescription": "I-side S2 Page walk cache lookup" - }, - { - "PublicDescription": "I-side S2 Page walk cache refill", - "EventCode": "0xD90A", - "EventName": "MMU_I_S2_WALK_CACHE_REFILL", - "BriefDescription": "I-side S2 Page walk cache refill" - }, { "PublicDescription": "I-side Stage1 tablewalk fault", "EventCode": "0xD90B",