From patchwork Fri Dec 1 02:15:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 13475286 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 577E2C10DCE for ; Fri, 1 Dec 2023 02:17:09 +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=AaSKBCXbdqJf5U3jyEnnLGviSO3pAj9mCjGWEVxzMzU=; b=fQaSsyFIq0IPld XxZt13Fkc3O4Fd3PXNYuyQojbC/DLq/Wg6tAThhbdlFWiZ5b0kUbKb4bVCibrGd0Y8pJIY+DKYv/h Bs5U5N01M76/HljIikzdkZIKYWr5aBBR6ExX5Pk7QtTBwXJe2CHl1REr6Yyv5MGFEou8VD20EsiIY V1OjrNgBsQSuTxFFDnwlF2cIkTw/yfnYZdizkuMfDEsVjle6LYGvvgMOk9HZlAVUJ9+rLa5SOdctC HL4hph6FF7YRpLu8iv/c/tEqezE2GEL6ZL6s9ChBHWtZf/Jra06D3CVbz1l2cbl3OWa8q+Ycwozun fi+yNX+iX6esb9AS9I9w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1r8t59-00CPze-0a; Fri, 01 Dec 2023 02:16:43 +0000 Received: from mail-mw2nam10on2070f.outbound.protection.outlook.com ([2a01:111:f400:7e89::70f] helo=NAM10-MW2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1r8t4z-00CPuW-2H for linux-arm-kernel@lists.infradead.org; Fri, 01 Dec 2023 02:16:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RCgPCeOcpsJYIMNX+ezl0qb0soB7e2ndJ2XAd8DfTbnXBtkbbmunEMR8Nm+lVy3XDTsmWdUxgzP0Jvqv9QdBJK1Qt/vifsVobRA58T13NwKpUxFQnb2Mz0+fBQkmHGVakIjKihw0sjObm4OokfFMZhvGkOmnR3GGJaBQeFRfhOfBCB+aHmnz5TGqFqSlwv4ALGgmq49BaIMhZsAdf6M6pz/7IoROQfTZLfvvO9ZLEUHbpNiuabEyMlq/LW7NzoPxauVdkzE0psOC5XqiggbgSztebNqPYKFCYYQY/X+rAzRP8QumfXn5ORtJyGbaXfSfJpFN5Jvt+K7Fm3TtOm9dHg== 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=eOvfmRsFILgq934CZ+Lb9UvsHva/nuthOgEUdZm4kOQ=; b=P85gT4hW/ja4CtSC2vH7h5LoZRBreBREoF3BYXTuJCGqp+YM2sJIlFwsRgXfcKVxrXE8+ZBhdE2OhFbCfOOAd0Ss6DA5Y9Frr82QqSRMjPyKygxCGANM4wFrjE7CH5Xf49tYZllU/q0VhsZDj6jS4/VGuX36Z++dlAswYsflM7IML3A2GWJZPfOAGd8fDUHQBf2NTHd6WtIcUc8MAhmfg5T23lcozU+904del+wJ9VuJWvWNH6ckY/+2S6RKk3ZS1Fz2rC6OR+xz2Ei9tYCiD3+/IUheOvWki4Uoe0IAQGHGn5PlqbS/xTG0btdDeJt4vPtrUXE22FT2QosIBrlhdw== 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=eOvfmRsFILgq934CZ+Lb9UvsHva/nuthOgEUdZm4kOQ=; b=Y2yumIzCG11pKF7NYyNWhDnCx1p6kow+wetzxiWwhCUjOGTNmgdXzKs2otY9aX15v7T7e/r6XZQKnOrfaEEe80ZSGiefNHIF84YuoS2AU1vehDku6/9vUQqc4XYUVR36ff0n9+eKKwH4pDoe4pvwJpr/PtvZsNtFYXkApH5E4m0= 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 MW4PR01MB6196.prod.exchangelabs.com (2603:10b6:303:71::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.24; Fri, 1 Dec 2023 02:16:31 +0000 Received: from DM5PR0102MB3590.prod.exchangelabs.com ([fe80::49fa:8dc0:6fd1:72e6]) by DM5PR0102MB3590.prod.exchangelabs.com ([fe80::49fa:8dc0:6fd1:72e6%4]) with mapi id 15.20.7046.024; Fri, 1 Dec 2023 02:16:31 +0000 From: Ilkka Koskinen To: John Garry , Will Deacon , James Clark , Mike Leach , Leo Yan , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Ilkka Koskinen Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-perf-users@vger.kernel.org Subject: [PATCH 2/3] perf vendor events arm64: AmpereOne: Rename BPU_FLUSH_MEM_FAULT to GPC_FLUSH_MEM_FAULT Date: Thu, 30 Nov 2023 18:15:49 -0800 Message-ID: <20231201021550.1109196-3-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231201021550.1109196-1-ilkka@os.amperecomputing.com> References: <20231201021550.1109196-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CH3P221CA0024.NAMP221.PROD.OUTLOOK.COM (2603:10b6:610:1e7::33) To DM5PR0102MB3590.prod.exchangelabs.com (2603:10b6:4:a4::25) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM5PR0102MB3590:EE_|MW4PR01MB6196:EE_ X-MS-Office365-Filtering-Correlation-Id: 1b17375a-07d6-43ef-d58b-08dbf2138853 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: GuZCGlA5HVgJw9VJSHmnt7fgYx4gNtHIcB3RQb8uJPOHQdAT1duGX/38UaHNQrMq5ifI5KfIG40OTdLlR68P5WKELwkzMCk5XYFBCwdIHd0MiJcsNKIQS9OXIIMejl4H1yel9cxmyqLuaBmYiejrmeiYUIyho2M0gpBQigzgF0KamuYiYb6ONTUK71o9ZTHswsdu/Re/2qMU0rh1FNCeEfJjd3+1PwP+Yz4+8RvXJGQTUyLMv8KcZOIEh2xYqMdyB3lR5cXBenD3dtKv1t7zC3iQtwWpD8sKPSgasu7w64/Ou81aPy6mITL5pq1VqfPlTjWDWKJTSRfm8QtnFvsVNqng9ov38a8mxl1OYwSQ8MQGG4RiRQ3MPXB/VjtKTT2Z1fW7bcBvYZ6gbD2vlwpmi//tA+D41lmk5DzmccSkU7azFsz4wXUI3lBt7gSAeHD7nIZMZziltTjac7s2fJoAr6yPZJehmIqeE/bpZwrfWewwYb/VyFYEhBpAdsbmFPVtxr/vNJKCk5bZs824wvMZt1/qWe5KQ4kOGbK+Jj+TkolhTq4cgPRDnfAtxuIABpoPv0eVdl7fQjzdVafXr9hpyXVWR+dBsFmwQAe3q13GiCKJ1fNR9r2Rc1pgeW+E1iDdimfPnPPgaVnnZz5W8xLTZg== 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:(13230031)(346002)(39850400004)(376002)(396003)(366004)(136003)(230922051799003)(64100799003)(186009)(1800799012)(451199024)(1076003)(921008)(83380400001)(26005)(38350700005)(38100700002)(41300700001)(7049001)(52116002)(6512007)(2616005)(6666004)(4744005)(6486002)(5660300002)(2906002)(7416002)(316002)(6506007)(66556008)(110136005)(66476007)(66946007)(478600001)(86362001)(8936002)(8676002)(4326008);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: An4VYaeIWpLGXzc/rXlWsFJn//nxviSFLYysAnpEuS5jgymUXgzmVMb5Y74jF91+gZPmuOxp+x1b5j18YDmrEOLCw08Fr2QctWxwCOnDgtxw83aCtnVKNhm28H/9+aj5yVQzv2/N+DqqCkL+6tOW/RciEVZoanwV9oDRMpEC6wlQQLqnuUMO5xF2SEam+ZJBJqod0UnLCNLUfzhd/pkfkcvU4ngxxj2G/Qj7TYNDyvu6F9SH/pLobSJkMOVbz9bUB8YTDxJMCIvDEL9Fubh2i8BeGLgLIkA5e9rENEa2FD0YquhsqPPWGNe4MGYGsfvU73e2OD7kwS5NyTGVlP0d61els4JZD2iZnbpSSOfEPl4wJ8BtdWY00OgOVbt8NkuyQqrkbfXgiUAdtDVTiIJuZB98Mm2RRAF4z7lq9Tdu0c8FiiOx4rXNZs7YVDlWPfqWss20+/wPwBAuH81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TUmblbIRk5NSrLWyHXYEn17KgYT4LhvKjtlysVmG5zZ2B2YeHuxmClcEVD+QWT0/NHSaoVQkOIBMxrmtqVdZR+VVQjf+YmQ62Hd7fpPwndBqc= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b17375a-07d6-43ef-d58b-08dbf2138853 X-MS-Exchange-CrossTenant-AuthSource: DM5PR0102MB3590.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Dec 2023 02:16:31.0473 (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: mf5TYkwzdpgPVmw9XSuuqrYgIXE14275hrxE/WIOpp4gAHRdZaUuCEa+MvFLi1ike8lFtJa5tDwsi/8Gmuq15f1aLT7nXmm4SllUoauDGrqmJG7LqKZUzwMuYTTSTrmC X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR01MB6196 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231130_181633_788896_04ADD603 X-CRM114-Status: GOOD ( 11.89 ) 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 The documentation wrongly called the event as BPU_FLUSH_MEM_FAULT and now has been fixed. Correct the name in the perf tool as well. Fixes: a9650b7f6fc0 ("perf vendor events arm64: Add AmpereOne core PMU events") Signed-off-by: Ilkka Koskinen Reviewed-by: Ian Rogers --- .../pmu-events/arch/arm64/ampere/ampereone/core-imp-def.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 88b23b85e33c..879ff21e0b17 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 @@ -110,7 +110,7 @@ { "PublicDescription": "Flushes due to memory hazards", "EventCode": "0x121", - "EventName": "BPU_FLUSH_MEM_FAULT", + "EventName": "GPC_FLUSH_MEM_FAULT", "BriefDescription": "Flushes due to memory hazards" }, {