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: 13340842 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id AC531C00528 for ; Thu, 3 Aug 2023 21:15:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=kqMQGinJOqmw0ScU8yUHGbxBr5wnTQz8aIKoyY04/1w=; b=ww0LfjEv8/S3NS pwjcgyWmmXth5qjA70RVyHjyOTOazkg1OROJ/Vn0mD9fKdIlsl/jYRb/k569cZon1/e4PIlkgnnN/ NfwHmveaoC5OU+7L/ZlczFsyGWUvK5mCSKT88JwRm8AAgnMl5ObIkBQABy2Wk/ODO8Wf8XPQy9ZT/ dOJ83+ZlWO75xU6JE9veF+wj3wSFSGtxHZQovDe8tpBSzxjjC/b69n2wB9kNxHzqgeSKfVrgW/32W ya2Auii/Uy7i7F1gk5cQDk8BRdRT+MtjVmKe/Zh1xgvBZHH20q6DPnSDZrFYH5FtXRyfmChxALFh5 hMODpaFGI+dq6VgaY9oQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qRfeW-00AtQ0-1I; Thu, 03 Aug 2023 21:14:36 +0000 Received: from mail-co1nam11on20703.outbound.protection.outlook.com ([2a01:111:f400:7eab::703] helo=NAM11-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qRfeS-00AtN4-1o for linux-arm-kernel@lists.infradead.org; Thu, 03 Aug 2023 21:14:34 +0000 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/WSrub8CH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rg: 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230803_141432_600449_B98B71A3 X-CRM114-Status: GOOD ( 10.44 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 Reviewed-by: Ian Rogers --- 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" },