From patchwork Tue Oct 8 23:18:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 13827201 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 DEADDCF042A for ; Tue, 8 Oct 2024 23:21:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=EYRRst4GwbC/nb9seL+HXRaN6b47U5rIhN8+jCBdi5A=; b=Ta2Sp7QEX6Xqev7JMK4NUYMDr5 08GlWN5IzYvl5/K+KPFPEHv9opQsIHvD7WOT/tZl0J95wIu7795NscMsimjj8rG0pbaRy+1LlwglI 9iDoIf15/bm3o/ZHzzE+D80mBAsTPTRUmgeHyRGpvNBx8IFYiQB118KOjUiUNVnIyrgrUlDdmo1d+ JZV1+mxfqsCqJXvzUXYRC/7u9ofp+ziPCHjwdjCL00BkYce5LVUMKKjLSXl4EccocNseZLGLXGiky IwOvEdW4oWUIquzVi5dGw7akhebBZWdJtmfvEpBkGrou2BFPE8kkH3DrGi7mmJkxibDr5eoIYsoLo OKpxWN5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syJWM-00000007Pzu-2Nun; Tue, 08 Oct 2024 23:21:38 +0000 Received: from mail-westcentralusazlp170130007.outbound.protection.outlook.com ([2a01:111:f403:c112::7] helo=CY3PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syJTk-00000007PPz-2gmE for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2024 23:18:57 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Pa648CGO4sRqiNOcJIG96cLcWRiE5lgV1mLqadG4CLsLIr+vD9z0i+A3DAFoefygjEvTJnARsiOiRdZE+L8KZlbrl0+8T5zuBgHDLXdN3KXp6WjIh7pMfyeCJMm/gQf6legawR0kvb3ay5fKxivJI07sKtIOGisvggF3ozuSUhpHQQKjU+VFsrzEET+vkN4shyfzAzA5oTUmwH4X92EHUzWCbj6B25kEHOZX+rUG6nDIafimEpk1jw0Dl9S5OeqtKXye0rI/3UNKndMygA/OZNgNyf6oiIqwGjmNSlgJ+0ZE+wH7UXCj7as5/26tP3zyE/Eva4K9+tHXdZ+WaOiFwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=EYRRst4GwbC/nb9seL+HXRaN6b47U5rIhN8+jCBdi5A=; b=K1wInTJ3Hgb2ibItY0Hw9vgK5nzVw40cSF6740EJ9ClQiQCKCTzu0x6yuyMptAJxKAoGannmL/K3oNdj4xS5FPb6/z6DyDEF8LVSORtiSzcHocAVJkNrAH7DR/JzROhyYrsQzgPR0maLqf0gfqc1eYA2KC209qmdo4WcgkBp0Cphfr56zn7GDYRrw7nyk/K8QdFFrK+kmRNxLwQVbn9Hvs3nyp4LItPghu+tsjTFfZyO0WiVoGq+wZ+ES6735xub8DE3B/mVmPVnzEput1iR6mRfDttC+KpAzdMZk/OnaOItNGhUTsqmMbZah+gnYLN+A5TUeyLdfFQqM2kONeiqeA== 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=EYRRst4GwbC/nb9seL+HXRaN6b47U5rIhN8+jCBdi5A=; b=Usi2Bio6rCjsrw2vqwjI6h0JW0PomlqF+jPaFBQvgbBOvw7/7ZvA69MHCFhJ5i+Cm6kFfpKrRe/jbgVynj8ks8/aGlC8tFQ0DhRMc0tjDHJOvmhoLlf+OwuDc9OaRFyXQ9xL3rRibWTWEjQaK3bNsEeQLd7ImLpl263wXDJUOlA= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) by LV3PR01MB8463.prod.exchangelabs.com (2603:10b6:408:1a2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.29; Tue, 8 Oct 2024 23:18:46 +0000 Received: from MW4PR01MB6228.prod.exchangelabs.com ([fe80::13ba:df5b:8558:8bba]) by MW4PR01MB6228.prod.exchangelabs.com ([fe80::13ba:df5b:8558:8bba%7]) with mapi id 15.20.7982.033; Tue, 8 Oct 2024 23:18:45 +0000 From: Ilkka Koskinen To: Shuai Xue , Jing Zhang , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ilkka Koskinen Subject: [PATCH 1/3] perf/dwc_pcie: Add support for Ampere SoCs Date: Tue, 8 Oct 2024 23:18:22 +0000 Message-ID: <20241008231824.5102-2-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241008231824.5102-1-ilkka@os.amperecomputing.com> References: <20241008231824.5102-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CYZPR19CA0023.namprd19.prod.outlook.com (2603:10b6:930:8e::29) To MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR01MB6228:EE_|LV3PR01MB8463:EE_ X-MS-Office365-Filtering-Correlation-Id: 070828ba-be32-4463-ecdf-08dce7ef8ebf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: fNIcU4E5S075DMoGXxeXXLoLZoysZ8S/T9zVKqvRqFrpYh7suVo7KjQWzczu7px/jXeZnlqNZBz5YW1ZU69IbS79TLJAZexIAiTLnfTDraXAgCc/FNZlYgSe+CQagW+SeHDKQCqJOmaVuvb9OKmCBxMk3obio59nc2sFz6048ahJD1BJ8vxAZbszQ2vYfSs+JEjx+90yw8JBU8Ndu4/DAMAC/2U2417921vNTU+7agIfqEfrxezfisnMFRCjH0YxL+YGT69qhBrXuHyjfc5Cmn7cfxSdfMjbW7yV45qtVErELmAmaz7W5wIlM94NnOFS8pMb6BBCfs3++B7TD0x1uevC5mg++UHgwi8zcx7UOttrMMLhgBDmU5JFihjhLwxd3c8unMW75t6L5o36sxgraKbj8nQ0a553EJQbwiSUbtOiJShxM9WUxL9htdrJehy0gHthHeZsbD8GfBvlG8k/afIRpAVo+CUBQvHzVPi7/BVoUDYR9ib4Z+mRNVVU1ns6gUM7BBaCUEPWp25qUcWYAKYmpTlhmbiW4m2d9ckB6vi0QigdcSfMVV0faBs9V48LTGrKt9LShnZJERSJnv1ARsfBifvhYrrPwfvn36M4nhFNQBYqkI5oUPWgU4owVWjfiJzbIq2emeBC4uDZuLHq/5YZsTigMlmwXdT0esdTKzUbGC9yTQY04ZSH7KnCHyZ2UWkJgKdvW4h7G/en/W6dtVV3bh5ySymS4HlvgmA4dftIEEjTnGxoldtiXd27fP9NVjjAMHDCRSYeCfHJsJfpl5RNy+rjQfZV59gkJsKaqZj4I07Czrm/FL47jMZ6hPzRu0sESomk1FI/JM3Yj6MncO9HqReDOxcRSf9uET31HoQ332JHLZM8dFEuYGJmNgX7DNuLhZ0r6NrbtsbQuMUjURICuh2Nd8yh57YdFOWVpCNUUcLC4J1+d8kZ9K8a/CNduJaevLlCAzBhrfKpGoPUa+4OhbPJW/PhyTtRL+WuW93wZpPmd7xchGA5GuXZRmghQ9JlLbMBnOuaOqFYo98FNnxRGXHxLHgWhB87pUa35To2+f4VIlyiiOXazicYWAFXoIOPr9KRhJmDP8W+9JE1PUJodNE29Gt3jVVIV65j3LoqtshejDchziRhkyPC+tf3H9VNJhSkD32+GtE1/CJPDxeGUSikokz4pL8b1YrhKhjLJJT38GU94VHIVJnmc57jIVQ0W/2vYsUY1KLyDyFr49/m28HW7E9AWZe2BYHMimdEoxJrLrMr8TSZ8EOEgrfQrOCAgZmey5pDQD1gpgYR0zBe9egOmIr4hvCHjZ0vvUs7Y4TnJuDEYb8YbgIDsOZ1Ku+YQdEwXsQpQ5dhosvJog== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR01MB6228.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: +jX4gngFMCqOsRmswqVSmNaPnZsk2FeqYOXWah/KkvSdTUPsG5L86l1QuIUW4tUCEoLMpnUZhet2sxoCnL3r7Wj7t/sYUMSVIaR2ru4aU1sS4+ZWV7aZG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W7dYhLTYSXTNRnC6m51ycxb3jp1wiNOGnLnUxBKy7KH3LC/xcBy+o/Mc1Xcjqzlplk8a2yM60WeEvcJdW01s5dNeK0r5jD6vmOejaBdeiNY3udHqwLQTMzATxjfWK4Zf1YI2lfUSMExRXfzO4GB/CCjf24OYS6XvD8kqrRJehwaeVHbS2AOtN6PG2aYki6EZQfXjroY2vKk41XDVozwC+mV04enfNpKa0REz1bO2zG6va0GQSqSwh6f1nHiklqfJKnoxf/37EMTmHtsVkuwY2AsZ1JikqUom+N4MCpHoVgg9UMWslJRRc7uQaKH8QdUAoPvL2uXjSkzZDqznfmgznegx9j8nU7il4RjmNltYKupQwrWQBvl7Cs+IVx3OyXo+02Lwj1N9mF/uD72NFLsyOg3SRo1O4qs6543s4Cubzjggvzqqfgr6OQFwlhnD7N5cg= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 070828ba-be32-4463-ecdf-08dce7ef8ebf X-MS-Exchange-CrossTenant-AuthSource: MW4PR01MB6228.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 23:18:45.9196 (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: 0nQbFDr/gX7h4sWuWyxrqRjudGuQNFsQooBKId1+rgFInld/8LGudypr68D+OYpt8ikzwa0GQwD4cZrVvKS/Z/1Z/MwFo81+WoWVgsXNifbYfqj7YawDXVkKf1cqrUgz X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR01MB8463 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_161856_704566_AA27F98E X-CRM114-Status: GOOD ( 10.17 ) 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 Add support for Ampere SoCs by adding Ampere's vendor ID to the vendor list. Signed-off-by: Ilkka Koskinen --- drivers/perf/dwc_pcie_pmu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c index 4ca50f9b6dfe..3581d916d851 100644 --- a/drivers/perf/dwc_pcie_pmu.c +++ b/drivers/perf/dwc_pcie_pmu.c @@ -107,6 +107,7 @@ struct dwc_pcie_vendor_id { static const struct dwc_pcie_vendor_id dwc_pcie_vendor_ids[] = { {.vendor_id = PCI_VENDOR_ID_ALIBABA }, + {.vendor_id = PCI_VENDOR_ID_AMPERE }, {.vendor_id = PCI_VENDOR_ID_QCOM }, {} /* terminator */ }; From patchwork Tue Oct 8 23:18:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 13827202 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 46DC3CF042B for ; Tue, 8 Oct 2024 23:23:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=x+OOidj88uL/R5SQ6fv26x8Tuc/FiDvVh1S3Uq5UsPc=; b=WeVs6EGlk2l+7VJXIjyh0ebNfG M+0Cwk0MHiQQmX8YWgWJ8opPJ4BQNn4wNkuFa3n8I0d9JERX1SSDvpTapb2kA6Rdrdpsu7RVI3vG+ z//nGHQnO6gsUrLyxTimzWoukGduUB0R+ASDhb174MRBLkAHhMEG6y0Et5SDphD5rCwJSWqkjykyy DP7+WebNEHY8SP6yvOERaxa1lao88kfRUUZZC0SvO1kLJcGku48tWzXhZJeZYPzdxYHRBhgWTGP9s ZCSBg4itjErzihMlRJ83zKkszrQMfVKR7oUjCgvxKxWGEyv4sjJsHWUvnuOLuqX/Zj0ryZqY+9FYb dUjzGK5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syJXj-00000007QJt-2PNi; Tue, 08 Oct 2024 23:23:03 +0000 Received: from mail-westcentralusazlp170130007.outbound.protection.outlook.com ([2a01:111:f403:c112::7] helo=CY3PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syJTm-00000007PPz-08i9 for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2024 23:18:59 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QO7k7o8iAVd/q4rLiu8ACQD4PcsoDd0wX5GB+RsLS9OCiGiqWDnCA8E2zPdvXeztH2dJZPKtTfa/pqT1p0H+dkjbjeBHdi91LQQ0txZ5fmwxZ2o8OFPOMOFePjA4FwD2/jLLFV3N6+Ear3UUu9aejJdyMY917mt+J97dguQL1yKDx5BU6FcokepX1c1ojYoPtEZv6aaSDCA7jKJtMN/qWMCAEaZhn7c0mFIJff0sKy2Aip85SdyPXdnLYMiB+FdkonIYyhr/QkWOWIeKDDytMbcGm/RP/0QXzokvQQzRxsPx/qTG9hkcrAepF/AOXlP6sE8zpsN2acm/8lF2TBH1gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=x+OOidj88uL/R5SQ6fv26x8Tuc/FiDvVh1S3Uq5UsPc=; b=kGa9WnSbIjiXlFsvVC29YLfY03mn8p/Shl+FvEJwE0W+qdD2M25tUpwOD6HvqtgkyMUajiuQJ0WOqJ+nTopW+LAR6hy2gcLP19bl5B/mpn+uyMwM/cMXi/NjyzRP94SazXgT8XN4hoUdUuHFH+TuXnvwFxZsnFfe+ssJ2VSmO/gpKG0GJeG4ulk3KO3WEHD4PTLM4eRWFny1XopPH/yiwZpX2qPkQI22u5lUZIfUVFQo6XspVhJZc7ZYBSzB6X6E86WrbMagjsiebaOYSVCAE9ipAGkQfLmAd1Pvc3xMV7kxp7CorCTJVk4KSNSPeXW3p80IxFDWqjW3p60jU6RYdA== 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=x+OOidj88uL/R5SQ6fv26x8Tuc/FiDvVh1S3Uq5UsPc=; b=kPWJNPJa0mBE1sJzrp0NIBnbk/kdruZSEyioUuaTMRT4KV8FxxMHVEioFjlrvjfMQS2jNDosYwvzqKz2tf/96kvAem/w/pPoXPsSeLvoEQrAR5oMaRWOnp1p1ThOTj3+JZTBa98rH6dyPPziRlgGxvr13j3lbzBAGAFS8apPs34= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) by LV3PR01MB8463.prod.exchangelabs.com (2603:10b6:408:1a2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.29; Tue, 8 Oct 2024 23:18:47 +0000 Received: from MW4PR01MB6228.prod.exchangelabs.com ([fe80::13ba:df5b:8558:8bba]) by MW4PR01MB6228.prod.exchangelabs.com ([fe80::13ba:df5b:8558:8bba%7]) with mapi id 15.20.7982.033; Tue, 8 Oct 2024 23:18:47 +0000 From: Ilkka Koskinen To: Shuai Xue , Jing Zhang , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ilkka Koskinen Subject: [PATCH 2/3] perf/dwc_pcie: Load DesignWare PCIe PMU driver automatically on Ampere SoCs Date: Tue, 8 Oct 2024 23:18:23 +0000 Message-ID: <20241008231824.5102-3-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241008231824.5102-1-ilkka@os.amperecomputing.com> References: <20241008231824.5102-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CYZPR19CA0023.namprd19.prod.outlook.com (2603:10b6:930:8e::29) To MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR01MB6228:EE_|LV3PR01MB8463:EE_ X-MS-Office365-Filtering-Correlation-Id: c54889d9-98eb-4378-9636-08dce7ef8faf X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: LH0SvkR6LPOyDXYlDjRTtegWNchq3EIx2Iwu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UuPm28LrIWrPh42hsjJT+SaGRYhiwEy8vWGN//4C86/A+xioHak31/0U7YLXVVcK1NTZ9yezzcVTV+q3jWQo/37GBiJQAJSQnjGSrRAXc7Ekc1cmTqePmvDICCo4COBcXFK7lZdBD6IAAn3b8eOZR4ue0XxOqCNgRRwQcGTQASApcj8I/X5DNo6P7BvOOnYFLlTCCdYDg4togX05hN66d5MPulyS3IwBdaeU+QyPd46W8ihGHRH6XXrCg== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR01MB6228.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L3xOjJMq2SqOZiQ4CqjClaJML6fa17ZDDSa8MVCjQO9elLTw9q/cZSmqBxUy9kx4iNKJetfgXpbqt7g4iP5f/zcPr0ragJlbVEjnxJC9tOpivhl4Epo9ls7f63oFs72Kg8mFvtfabfygCi25H/DtrUczV7/PQMcHboogB1uSBcbmiJzjzNxg5mH0ckA7oko3d2DjUlcNNgYtsTYLSaLcp1TANQddUzGjAFHVxYPBcdrqD3iFdpir94D66LBw4YyyfCYuurzEecypE6U3EoDB5taQeqW9LSTsmBqDyN1NHbMEDjSXq3KrK2MoR2e3oortJJX79MbS75VWj5YDdMmEehJ1ZcWnwMX/8LSbrIXZn13GKYuMdlZ4npUS4FCmaf1pNuyEUiNQLg/uNwouyKGq8Kxp76jBSgio8w29gjmwIhNuoE+4SDgplBw6R6wSrX7BrKC2Xl5lewkWba8NijYs7cINVmWG8H166lnYqHS25QmjpXQwqIl3dmbAytgzoO6zBLaulBQAkuqdquGQlVFBbcSUiPC9WLMmkhbIR4WyUBkEKlJ87OK0OStA4uL8O0n0XYAWpnNHVGtzvI66aHAwHxop+U31+yiMrSG7ZTnQTpTTBTK8lnoc6wMYbFfGjumGmT6BPtZFzfBerLhsbBnCUQw5J6+FEaNttZQmpX+kWARnGZh8jEv5ad2OOw+GFotsBgoCp2zGDTk838EvVZJBDAqgabb2tI9OpYDrzWmpZOx2uEdHxoCI/Iwo5LDxogM+byqFzsuBsIlWPhE4Ji+qUkXq3adiy8CyU0jCa2mIDN3C0jGi25etn10fYerOFZ3xc+ADjRgK2Le9eoRSlDOC7+CdWYA/OWqhY9+rU2esUecT66v1CfXfaCM3dlxFh3zidtPEWhKOlcRL5B+tZqABX7GLwicTf4CBoLXsdcWDWwnmqww5j7dqXNGPQnc8PCWXqXU0NC4K+pip57o7FQ5/Yg7bhgh/NYNVa+AvjtQ6lVDxY0Hm49tcjyQ2uYujT1WBmCgw3OsX1ywwQttgbfe5TmZxY6m3u53bRlGn0ert52ionDfbyW4LlwaNmEn2GzOgj2mYxuNPD+06ilIhwfdZqqzzMbgoWiMMmU+ai/Wyy5zlvZIGRn6onmlpq7OA/KOOLdMP4pL0/c4n9SrpCHLJfS3KH9ng7BSLhuxwcCAuhF0GbvNkiV30p96qS9SqsK5MzenFmqevyEcp7Q1EVABYixx1g/b0/BnrwT6XXx5F+Ma6XkW8gBGUrjVYddz3zEM9U0+3c9HaJjdWnItVOw54sHmivDjhM8CBbSkATU545PGAZLn4mN3VHTpoJrgBoSOp0e+decNpBlVg///JlCBVpGf2SstDJEMZ2Gavx8YaV5PJECnnLqJtzdoFX8xIvN8rK3Bt3l5cRWcBALy9H+xqqK7U7WJqKx5esAw+GmQnBy10/epWw6RblKqHzaP4D32xmkFkSfb6wr0m22H50yyo9RecsPkD3ofZECC6XgkzScQ6GlRtY1AGrM/L5IxTBj1EArGNWqX7abHJhNYUEhirAyHm0EyqlaiTg4NmnMYKS39pTX2DHujukK4DyIeqhV+IZ59yA6OENqVcwfFyzjeNDNaJxAglQUaRwRoD63gBDW0= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: c54889d9-98eb-4378-9636-08dce7ef8faf X-MS-Exchange-CrossTenant-AuthSource: MW4PR01MB6228.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 23:18:47.5457 (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: 5NCNpDrDouh+vmc6B+kShbZkWuuEPC3HYpmSmkPJWtw+Dn2IBwDcQ6rZ5jNvCGOyNodl3Vzfz094IxEwrBEc3TDszgexSX1F7gx5on7HopaQB220WyJ2Yqv0B9Fd2PlE X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR01MB8463 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_161858_101180_1E2D2747 X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. 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 Load DesignWare PCIe PMU driver automatically if the system has a PCI bridge by Ampere. Signed-off-by: Ilkka Koskinen --- drivers/perf/dwc_pcie_pmu.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c index 3581d916d851..d752168733cf 100644 --- a/drivers/perf/dwc_pcie_pmu.c +++ b/drivers/perf/dwc_pcie_pmu.c @@ -782,6 +782,16 @@ static void __exit dwc_pcie_pmu_exit(void) module_init(dwc_pcie_pmu_init); module_exit(dwc_pcie_pmu_exit); +static const struct pci_device_id dwc_pcie_pmu_table[] = { + { + PCI_DEVICE(PCI_VENDOR_ID_AMPERE, PCI_ANY_ID), + .class = PCI_CLASS_BRIDGE_PCI_NORMAL, + .class_mask = ~0, + }, + { } +}; +MODULE_DEVICE_TABLE(pci, dwc_pcie_pmu_table); + MODULE_DESCRIPTION("PMU driver for DesignWare Cores PCI Express Controller"); MODULE_AUTHOR("Shuai Xue "); MODULE_LICENSE("GPL v2"); From patchwork Tue Oct 8 23:18:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ilkka Koskinen X-Patchwork-Id: 13827287 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 DD131CF042B for ; Wed, 9 Oct 2024 00:30:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Content-Type: Content-Transfer-Encoding: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=jtIuVbdrCUBmzMRw2CVPn0DWaHk/ZhYHbnUuKA4REpw=; b=HMUFvrM0hpmDJg+af9Xw8CKvF3 0v8lQjrHd2lnAnKhbP1QTrGltMBtlkMYmHB1mPftF+zrKUbHlfdPBz4znLxcCQw/9wDlR5v9AIPrN mZlueZohO8vcTgMIYaqUeCi9R06rkBE6MqKQEzEsc+W+91EZRaQniNrOjuoOp4ZDu3oywAxRL1zO4 2ubhJvQ8py9vX3DleTQz24y1r3pa+a5FaMXVvnNm3caUwDTfWFrfm8OweCBxOrSrQFHA82cvsXW2q DpP9tu0+5mUbXSIUgZ7nYj0NsffP4thi6SbTBMYZ/v+SRzuzuU3jfu2SxmytJb3G+hWCHKT55OzEN CGclz4Xw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1syKbD-00000007WCj-1hgs; Wed, 09 Oct 2024 00:30:43 +0000 Received: from mail-westcentralusazlp170130007.outbound.protection.outlook.com ([2a01:111:f403:c112::7] helo=CY3PR05CU001.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syJTo-00000007PPz-3mjd for linux-arm-kernel@lists.infradead.org; Tue, 08 Oct 2024 23:19:03 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wco5JGCZNEv/s7LQQCEZNNxSfnX86z/SRLnerurdHgQhLwpbmEGUOF/ab+Rlk/QCUgA5mwC4gRNL0KNIo2LRqaF0xRRvmJeBmDp5ZtetlGLdyyplrwwctVtwjevvhJmaFSc2ugSdd/B8mJ9jvSUMTXZueigGIMz1/VaQ33YV7rng9jgKfsmXHmOYGQC6DgVqyBXsPhxMdINF5WCuYqWI0Ts+BGKqN/2D7Y0nfUQOL+frwH4/pAusf75R90I26MEVpq1lYNtq+gRoMGombMOXl+b5xmCO171EiOZVCD/S8qgpBtXEzXFiWiOwie3rrrl9S33256ZLIk+9cy3U0XigKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=jtIuVbdrCUBmzMRw2CVPn0DWaHk/ZhYHbnUuKA4REpw=; b=dKpm+7RFC5YwdXxf5VrNKvv3D0GADtw1GehGhs/sZ/aYOUyO5RIceqwaW31w6bK/Nv5CCkbQECn/AP0EgGmdkH0hw6mVAVBAy+LaEjg14hB8rLZi9Qj9t11QyZt1GlNPAoO8lDl5xfQ+9r4nKIEvTk14Y3Aq/SDX0vNlsVhAx6D9zz3n4zpH+ovIrJq0gZS9oUwAm+rvT0gWMZeXaplw9DkiP3oj/gIGxaSdaBrf2koXL09Mn0cdhk6p66cwRdS6BlD2un14uhQV8D0Rr2l9vysoQHBQh58s4YHkWjkF2IsvACIo5Tr0zOhMcbk8XvnQP3NQ3vjjAZJ8EVjAh1yYnw== 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=jtIuVbdrCUBmzMRw2CVPn0DWaHk/ZhYHbnUuKA4REpw=; b=J2vj7Kqjohb0+wE48hEXXrHNkoK2JSF70Rd+ECObiM7dlzZRAsiUGYm76wFtnqi9Ul6XS5v8UUPV+A2+0+ZpAGSBXQvhiJ0xLkIPdxHVNckXy0DoygW9rT+vsbHDGBC3MmTyV9fIMkdToaotpcdSe3C+YG71e4JOoIVNu8N1KpM= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=os.amperecomputing.com; Received: from MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) by LV3PR01MB8463.prod.exchangelabs.com (2603:10b6:408:1a2::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7982.29; Tue, 8 Oct 2024 23:18:49 +0000 Received: from MW4PR01MB6228.prod.exchangelabs.com ([fe80::13ba:df5b:8558:8bba]) by MW4PR01MB6228.prod.exchangelabs.com ([fe80::13ba:df5b:8558:8bba%7]) with mapi id 15.20.7982.033; Tue, 8 Oct 2024 23:18:49 +0000 From: Ilkka Koskinen To: Shuai Xue , Jing Zhang , Will Deacon Cc: Mark Rutland , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Ilkka Koskinen Subject: [PATCH 3/3] perf/dwc_pcie: Fix typos in event names Date: Tue, 8 Oct 2024 23:18:24 +0000 Message-ID: <20241008231824.5102-4-ilkka@os.amperecomputing.com> X-Mailer: git-send-email 2.46.2 In-Reply-To: <20241008231824.5102-1-ilkka@os.amperecomputing.com> References: <20241008231824.5102-1-ilkka@os.amperecomputing.com> X-ClientProxiedBy: CYZPR19CA0023.namprd19.prod.outlook.com (2603:10b6:930:8e::29) To MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MW4PR01MB6228:EE_|LV3PR01MB8463:EE_ X-MS-Office365-Filtering-Correlation-Id: 4c7160f2-1df5-4d87-09ad-08dce7ef9094 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|366016|52116014|376014|1800799024|38350700014; X-Microsoft-Antispam-Message-Info: 5nlhjCaYMpDD3smhvRgdP4lfyAXxpUSPlH6B3kO9aS9KHXbJXqAM09rFMKfILYSToDh/pjpf0R6IJZbIuPmiLJTMU+5tkk6dRrhUbji5p8ImOyrSuj3Nh1UI48dX4AYwtCTLYd57tgrBllIa6S/hw7IoLl1hAgSrEvSEuMcCq/DHEa/GAam83CB7C1TaxysCBV+giRFgWZGm7p5aN9usn394C/gpGJD8EkRcNFtKPZ6SLp6IZyihZFVWXtZK3mhu3DgWL5hecQK9WsoNPdeDkFcglWsaNbh+O583mfIjpobKOo9KX5bhpWXKuEKX4UlPVrcgWACmfBKjicS2TTgaqk3KpoIxqNr773YLMNt2uGNY+VEiOkjCBSKr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abs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(52116014)(376014)(1800799024)(38350700014);DIR:OUT;SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: HCgrK6fFw+jXnG8MlINfufxsvbDtRAfL/nDQUZnH2AUUtFpG3AP43N/a6gg/tOrNvYMS/gN8q+bk1aDGNsp2g6c5bFqOxLX1/NLCbWzqWoQFM2yXk+AaNqXOuaYwmkK5MGTV0YAQe2fpQcLoma87kqCbm/On8vhVqgjB3huBkg/HuBxgD//3qCv/4eKTlMF1DKi5V8gq7E09AcdG6HOH8sM9zhytY2Tqk0OlRMI1rpCixjMBkNCGCqKrzF73xw32lPwPjye4i80P65Yhr7o40D/Wjz5nZjuy62Ji84r+6vlR/RN/geEJS95NVhrjNXdsSq2/3mDnGwM6fHcH/wIjVlAkIab8mXN+LgFIfXkN1Lsplf94fyKWbIdJ3GLqkHvXvRUUmIk5eu2FtHrnoeDIuICOeS24HALq6ozhTEJNfw7PHPumIpIF53Pq6e8RkUfMgvt0efeN5Ch+fTWGNIq15qOxFuZ1EYzJswxm/ccJHF/3Aom595wkg5g527yhhgaEIE+27zP7F0w0pTuO5s27ZvIsySjam3QD1EkxJJaR2idKIYEUWyn1MvTUZJ5EnTyKPx1l4wHDCOOSBX9g2Hn6F4z/QEi1t0nkq2LjXiX+Fz1a6fjPj7GynpuQcnxVwAK007NxDOM343MWXHjkMomRESDJrhIV4axBvL9l4+lNy5x68yfyV06rq7hqMc6LXQjjSkscruMx2OE5hKtqlPn1w/bfdJSmLWU9BZSWrx+SW5FT5WhNYaJJOzX/7pFRSIot+4U0Y7IJIPy9hs71oxvJpMxBO1X6e/p1YuKKAzB3am6fkE8pMdqR91x7f1mhLYCAMGSiIUItadjH/BRh0ZSfVnJt3GFJVJExxyHO7IlVApxOvJzdDcVIAZX1XSKHseQlQGc0Lw4+dTgjqU2wgIXgdVgT2mfgSx99o3sBGy5IjA7AyhP6NLTWov41zx4NmnKpFT4CwMUToHeEeXRsLCcSuRFG5XD6cQYdRGsnhCtEFEQ3VVNrNYdxoBSouaCXr31BJgxn2D7EhbniY4GSDtc9VNLNaOL5ANRWgVhtpv5SYNqGbXIu8CGvfnzhHCNG2kmegS9ILoJepyvEltwnQvz6vghxBpeIcVWRLiY+yjML+b5SPHeWkQ96svjPaW7gtGwVWwLY2xQHltiLGrj5cwTrysMpdJeldDqk5aQqfs5wOrhrKGNM470BeB4lSyLuteMKPbQ+ZbPUoRtzAabEuvBRH7sazoYgGmVUHHnFdZ99D7utSa2I43uHzJljmjq+2Y4lykb/1W/v1p7FpnB9zE2s/md7E/5e/sAqcABMp02Mma1Fygu7kzmh6oxl3tA7/c/0Skzy1D2tdlesmav/kGzhwBLhufi77PdaR8xoWY8K1/bg68glTVehBy6uc0hbad82HWIgPgkie6XOiaotntKYPdYuiERWNSbUeHC9U20t3iw9a16s2B1+ltDP/G/s99fPVrCZtm4nSoTFS7LInlzQLFqZH6OT1ZhzWaZLj2Ybd2JZILSVz13zMWOefbI+J9k0bx9O/E4OaNoZTawFIOXrdzTKKbR8U8Whh/XV77+XuEW9mtCS0AjI1pwfNIUGaeTC10ZyykZ37bN+ewfCjCOfur+cByjOZk6dvUsdXAz7OJA= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c7160f2-1df5-4d87-09ad-08dce7ef9094 X-MS-Exchange-CrossTenant-AuthSource: MW4PR01MB6228.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Oct 2024 23:18:48.9627 (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: erF2Vjv+254g3j7Qu2EnF/PW0etckwDBvwGgO/4/MVFQ5v/LsMvst1Qro3Z2jRFsAzg54iqw3VT0rVdyBJ/f5vuRus1rWx0lgZ91L3nwv6VQn+FPizj+vALEQgYLUdBQ X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR01MB8463 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241008_161900_972238_E919305C X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. 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 Fix a few typos in event names Signed-off-by: Ilkka Koskinen Reviewed-by: Shuai Xue Reviewed-by: Jing Zhang --- drivers/perf/dwc_pcie_pmu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/perf/dwc_pcie_pmu.c b/drivers/perf/dwc_pcie_pmu.c index d752168733cf..6e2214a6d6d8 100644 --- a/drivers/perf/dwc_pcie_pmu.c +++ b/drivers/perf/dwc_pcie_pmu.c @@ -217,9 +217,9 @@ static struct attribute *dwc_pcie_pmu_time_event_attrs[] = { DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_update_fc_dllp, 0x601), DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_ack_dllp, 0x602), DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_update_fc_dllp, 0x603), - DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_nulified_tlp, 0x604), - DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_nulified_tlp, 0x605), - DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_duplicate_tl, 0x606), + DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_nullified_tlp, 0x604), + DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_nullified_tlp, 0x605), + DWC_PCIE_PMU_LANE_EVENT_ATTR(rx_duplicate_tlp, 0x606), DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_memory_write, 0x700), DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_memory_read, 0x701), DWC_PCIE_PMU_LANE_EVENT_ATTR(tx_configuration_write, 0x702),