From nobody Wed Nov 27 16:42:50 2024 Received: from BN1PR04CU002.outbound.protection.outlook.com (mail-eastus2azon11020112.outbound.protection.outlook.com [52.101.56.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1A36213EFB for ; Tue, 8 Oct 2024 23:18:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.56.112 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728429530; cv=fail; b=M5Zzssca7CC2vlhbajefyFeA4jvZPnl9ZOo/TGniHcor4Eqa+Tlx9ao3laFYYfwQuukh7eOW/8+oxfT5upolPQplcYz0i6PLmkrdGIu9yXZ8SkDsOVMiwgGo7zdM0zXaGnQME9NLVD+OA30C+8nOF0HZl5txKNZx3YK+6l7zbHA= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728429530; c=relaxed/simple; bh=a4rm/h8hhjegh/vQ77aaO2hZyYFdCfORDDbSSSvxpmk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=anvd3Rucn5XklDR1i2jfsAtZIHg0uE5xCfTxOY7KrxUcCcZnDZD4DVTU+0a8rZ8suEEhYW6Q2bO+7sd94RGT203EaasS3ITgHa9Ki6pAVV6ZU7JjV9R3szjZBs2jSQuM31fwrBe5oz5opSE+Kin/3kvJiVu5zri6d38mDoKALuk= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; spf=pass smtp.mailfrom=os.amperecomputing.com; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b=Usi2Bio6; arc=fail smtp.client-ip=52.101.56.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="Usi2Bio6" 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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: CYZPR19CA0023.namprd19.prod.outlook.com (2603:10b6:930:8e::29) To MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: =?us-ascii?Q?fNIcU4E5S075DMoGXxeXXLoLZoysZ8S/T9zVKqvRqFrpYh7suVo7KjQWzczu?= =?us-ascii?Q?7px/jXeZnlqNZBz5YW1ZU69IbS79TLJAZexIAiTLnfTDraXAgCc/FNZlYgSe?= =?us-ascii?Q?+CQagW+SeHDKQCqJOmaVuvb9OKmCBxMk3obio59nc2sFz6048ahJD1BJ8vxA?= =?us-ascii?Q?ZbszQ2vYfSs+JEjx+90yw8JBU8Ndu4/DAMAC/2U2417921vNTU+7agIfqEfr?= =?us-ascii?Q?xezfisnMFRCjH0YxL+YGT69qhBrXuHyjfc5Cmn7cfxSdfMjbW7yV45qtVErE?= =?us-ascii?Q?LmAmaz7W5wIlM94NnOFS8pMb6BBCfs3++B7TD0x1uevC5mg++UHgwi8zcx7U?= =?us-ascii?Q?OttrMMLhgBDmU5JFihjhLwxd3c8unMW75t6L5o36sxgraKbj8nQ0a553EJQb?= =?us-ascii?Q?wiSUbtOiJShxM9WUxL9htdrJehy0gHthHeZsbD8GfBvlG8k/afIRpAVo+CUB?= =?us-ascii?Q?QvHzVPi7/BVoUDYR9ib4Z+mRNVVU1ns6gUM7BBaCUEPWp25qUcWYAKYmpTlh?= =?us-ascii?Q?mbiW4m2d9ckB6vi0QigdcSfMVV0faBs9V48LTGrKt9LShnZJERSJnv1ARsfB?= =?us-ascii?Q?ifvhYrrPwfvn36M4nhFNQBYqkI5oUPWgU4owVWjfiJzbIq2emeBC4uDZuLHq?= =?us-ascii?Q?/5YZsTigMlmwXdT0esdTKzUbGC9yTQY04ZSH7KnCHyZ2UWkJgKdvW4h7G/en?= =?us-ascii?Q?/W6dtVV3bh5ySymS4HlvgmA4dftIEEjTnGxoldtiXd27fP9NVjjAMHDCRSYe?= =?us-ascii?Q?CfHJsJfpl5RNy+rjQfZV59gkJsKaqZj4I07Czrm/FL47jMZ6hPzRu0sESomk?= =?us-ascii?Q?1FI/JM3Yj6MncO9HqReDOxcRSf9uET31HoQ332JHLZM8dFEuYGJmNgX7DNuL?= =?us-ascii?Q?hZ0r6NrbtsbQuMUjURICuh2Nd8yh57YdFOWVpCNUUcLC4J1+d8kZ9K8a/CNd?= =?us-ascii?Q?uJaevLlCAzBhrfKpGoPUa+4OhbPJW/PhyTtRL+WuW93wZpPmd7xchGA5GuXZ?= =?us-ascii?Q?RmghQ9JlLbMBnOuaOqFYo98FNnxRGXHxLHgWhB87pUa35To2+f4VIlyiiOXa?= =?us-ascii?Q?zicYWAFXoIOPr9KRhJmDP8W+9JE1PUJodNE29Gt3jVVIV65j3LoqtshejDch?= =?us-ascii?Q?ziRhkyPC+tf3H9VNJhSkD32+GtE1/CJPDxeGUSikokz4pL8b1YrhKhjLJJT3?= =?us-ascii?Q?8GU94VHIVJnmc57jIVQ0W/2vYsUY1KLyDyFr49/m28HW7E9AWZe2BYHMimdE?= =?us-ascii?Q?oxJrLrMr8TSZ8EOEgrfQrOCAgZmey5pDQD1gpgYR0zBe9egOmIr4hvCHjZ0v?= =?us-ascii?Q?vUs7Y4TnJuDEYb8YbgIDsOZ1Ku+YQdEwXsQpQ5dhosvJog=3D=3D?= 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: =?us-ascii?Q?+jX4gngFMCqOsRmswqVSmNaPnZsk2FeqYOXWah/KkvSdTUPsG5L86l1QuIUW?= =?us-ascii?Q?4tUCEoLMpnUZhet2sxoCnL3r7Wj7t/sYUMSVIaR2ru4aU1sS4+ZWV7aZGRe8?= =?us-ascii?Q?RVyag8cfsseTRJMTyb3W/bfK7ffC9pRgOLzv0tWIiMBThJO0fieaPsKfu0Z6?= =?us-ascii?Q?GGwUAaPZ+EkLkW4IYIEckQhlyiIREtIpah8oMkhT+mx1Dh4yFGckZxnNaGuk?= =?us-ascii?Q?YgjIgaTH8USMlLftu5la7WEwEZDvC07TaSDchHgw8chFx3tKYKT1vJTZUCCo?= =?us-ascii?Q?9LGECc/G+bmBQAN0I4/rTUMCv+Kh22jDPdvJDKKt5VJQwXHS56ag3IjfEpP8?= =?us-ascii?Q?//qRQxOv6ypYW5w/6iCgWUjSaCFv76BD7Bn1dzhUGKLXpTk/4KE5pNLzItc9?= =?us-ascii?Q?KeSNwL5enYdFRwaFh830Dbx3Zqw/Be8k5IET5yGh/EtdvQ1wEt9LZhfva5X5?= =?us-ascii?Q?YpTRJh2x/xXWl7OvIxc58mGDh/wG/2gRIa+1rOI6d9Gobx+lN3XKu6EGuf/m?= =?us-ascii?Q?CJEUfE+ide/1gvJZg4hPQ48FTTxN7zUNUkuzU9UgEp+hMog2IXtOA5nOuuon?= =?us-ascii?Q?Hedt2ErHEogHWmyySODGHj3hLB51kqwyIOSiQnPjOGdoI4D18ySC+T4MnmHV?= =?us-ascii?Q?pEIZq8YvMskmgFc2J96Nu9CVWSvNKVISl+GLxz8IGUGqAOYLLo8iI9fcMqpo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FLsyOg3SRo1O4qs6543s4Cubzj?= =?us-ascii?Q?ggvzqqfgr6OQFwlhnD7N5cg=3D?= 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 Content-Type: text/plain; charset="utf-8" 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 { =20 static const struct dwc_pcie_vendor_id dwc_pcie_vendor_ids[] =3D { {.vendor_id =3D PCI_VENDOR_ID_ALIBABA }, + {.vendor_id =3D PCI_VENDOR_ID_AMPERE }, {.vendor_id =3D PCI_VENDOR_ID_QCOM }, {} /* terminator */ }; --=20 2.46.2 From nobody Wed Nov 27 16:42:50 2024 Received: from BN1PR04CU002.outbound.protection.outlook.com (mail-eastus2azon11020112.outbound.protection.outlook.com [52.101.56.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A49E1217900 for ; Tue, 8 Oct 2024 23:18:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.56.112 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728429532; cv=fail; b=iMhqlN8NP3R/cOGQWdfy+NsbjOPUUmSxLvszDxuCNaR3QaxMjXmg91QylWCzldNuI1kFCI4PU/p/4bcUhFlpTn4LaEB/BLc6TScw9gJKiyO79NHpVCiUhTxJAyXDNgBLgHg600fTctWUulqx4VN+zua8GI0ImBSJryzj9skBGjs= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728429532; c=relaxed/simple; bh=vA8cZRLzoBmsEN7oQfM3JvpYWQSs5VWFL+EcNDq+0Eo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=tuF1NnTx4sjMvm6K91L0VXKBMtL65502Rh5/oGzbrK1LT7ziUB9xSeZ3+oSuufLbqU59KIAgKpV6Vjg11xHBHKOyk+ksKy+cbO8VSWIy734crn8dnaAg3JnROYJ7gm1wX06bCwr0tjQaQfAK7iZPC6fi78xlPO1aYe3T6VnqX4I= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; spf=pass smtp.mailfrom=os.amperecomputing.com; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b=kPWJNPJa; arc=fail smtp.client-ip=52.101.56.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="kPWJNPJa" 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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: CYZPR19CA0023.namprd19.prod.outlook.com (2603:10b6:930:8e::29) To MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: =?us-ascii?Q?LH0SvkR6LPOyDXYlDjRTtegWNchq3EIx2IwuWtHHzs8GP8c+A40kcvIPHYx7?= =?us-ascii?Q?VkRz5BAc8l2/HGNeKKFvBgpZrEWDHoJBkkZ9LZsPLNqRHN+cxPpfwAOJG0E+?= =?us-ascii?Q?dcosLYqaoTe3U9RV7HPVq+fZB1cnEjhbi7PWgWLp2mpKMjPo+xmbp6ex/pzX?= =?us-ascii?Q?ddxDpSjoVEQOKLAUUGsS24jxGoBd6o7VkCl04NsoFKoxKYcAg5TvdsVWpYm6?= =?us-ascii?Q?cdPI8NAxtxW3ZdI1zrE8yzRbqZCWjnnJW1Ubg41XDyUG30CForubWKYzn7uV?= =?us-ascii?Q?ZfZjAJBBTa5bRyghOl1zALL/wCpLB5FaE3MCvGNYPuuJpIxbPpVX9T8iG+ma?= =?us-ascii?Q?iHXgIXq9nGhTP0XGZhuOg55m5FwfhCTYDSkLynVySMgdacBfNVmTVx2gL3oS?= =?us-ascii?Q?kyJ+atf1j4kgYZsJlbQjjLiM0dlehifGC/TAkGR6PWLqi3NCKOAwR0NMPnkW?= =?us-ascii?Q?fnu0Ea7PDXnfWsCBI8p6vGrZdZIElufSZWRiR4Sf0zfd0T4bPDieIolnNylq?= =?us-ascii?Q?xYAU2wyCYA5uwS+zRew4LqLH9N1pfXOo27e31QlLPqDfl3XBO+GQkNVIbIli?= =?us-ascii?Q?wQ3Kyq4jz41URNh5WqiWPtIMJSM1PQqd+q6aknPqIGIneMZAJWi0LcPDq8YR?= =?us-ascii?Q?4FllCcW9x1Q6M52FC1ojGP7fxSsau4z8vg2i5X0I2Og0a+dTjIDOWiTsosCs?= =?us-ascii?Q?k+eY+oa/bNe6g37nKU7/YVE6N93kx3EbMv8mUOILRJx9NYrulnv91WyJMldc?= =?us-ascii?Q?3q6NRacbBfIRPfCJ6EPba8ZuImJOhbKveHMMwZCdWM9a14c37ckyPC13K8oI?= =?us-ascii?Q?o4lNxyAXc5ITLjjvR4t6KHb711pfs3xrbKPHTrsCucS8xT8lWuhML5w5sLpq?= =?us-ascii?Q?IXlUBabdAo42GRmn3a4z9QztDE413K75pEikHyBgJmNOjjYW1L9O2+GRj7eZ?= =?us-ascii?Q?bN7wMR5BES6fSe51CZeTzr1lfbCLlrlU2Biy6BxcyjxOz/rZe4bsjGOvRWtL?= =?us-ascii?Q?stjN/glQH+JXvdWwoLhb8fvQmoztTyLjp4ZXDgJsdHREEoWmFkFQaEgLrBwj?= =?us-ascii?Q?vsxEAZv2ArKDt1oba5oEIRDSjQv+zB3AASXS3UuPm28LrIWrPh42hsjJT+Sa?= =?us-ascii?Q?GRYhiwEy8vWGN//4C86/A+xioHak31/0U7YLXVVcK1NTZ9yezzcVTV+q3jWQ?= =?us-ascii?Q?o/37GBiJQAJSQnjGSrRAXc7Ekc1cmTqePmvDICCo4COBcXFK7lZdBD6IAAn3?= =?us-ascii?Q?b8eOZR4ue0XxOqCNgRRwQcGTQASApcj8I/X5DNo6P7BvOOnYFLlTCCdYDg4t?= =?us-ascii?Q?ogX05hN66d5MPulyS3IwBdaeU+QyPd46W8ihGHRH6XXrCg=3D=3D?= 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: =?us-ascii?Q?L3xOjJMq2SqOZiQ4CqjClaJML6fa17ZDDSa8MVCjQO9elLTw9q/cZSmqBxUy?= =?us-ascii?Q?9kx4iNKJetfgXpbqt7g4iP5f/zcPr0ragJlbVEjnxJC9tOpivhl4Epo9ls7f?= =?us-ascii?Q?63oFs72Kg8mFvtfabfygCi25H/DtrUczV7/PQMcHboogB1uSBcbmiJzjzNxg?= =?us-ascii?Q?5mH0ckA7oko3d2DjUlcNNgYtsTYLSaLcp1TANQddUzGjAFHVxYPBcdrqD3iF?= =?us-ascii?Q?dpir94D66LBw4YyyfCYuurzEecypE6U3EoDB5taQeqW9LSTsmBqDyN1NHbME?= =?us-ascii?Q?DjSXq3KrK2MoR2e3oortJJX79MbS75VWj5YDdMmEehJ1ZcWnwMX/8LSbrIXZ?= =?us-ascii?Q?n13GKYuMdlZ4npUS4FCmaf1pNuyEUiNQLg/uNwouyKGq8Kxp76jBSgio8w29?= =?us-ascii?Q?gjmwIhNuoE+4SDgplBw6R6wSrX7BrKC2Xl5lewkWba8NijYs7cINVmWG8H16?= =?us-ascii?Q?6lnYqHS25QmjpXQwqIl3dmbAytgzoO6zBLaulBQAkuqdquGQlVFBbcSUiPC9?= =?us-ascii?Q?WLMmkhbIR4WyUBkEKlJ87OK0OStA4uL8O0n0XYAWpnNHVGtzvI66aHAwHxop?= =?us-ascii?Q?+U31+yiMrSG7ZTnQTpTTBTK8lnoc6wMYbFfGjumGmT6BPtZFzfBerLhsbBnC?= =?us-ascii?Q?UQw5J6+FEaNttZQmpX+kWARnGZh8jEv5ad2OOw+GFotsBgoCp2zGDTk838Ev?= =?us-ascii?Q?VZJBDAqgabb2tI9OpYDrzWmpZOx2uE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JxAglQUaRwRoD63gBDW0=3D?= 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 Content-Type: text/plain; charset="utf-8" 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); =20 +static const struct pci_device_id dwc_pcie_pmu_table[] =3D { + { + PCI_DEVICE(PCI_VENDOR_ID_AMPERE, PCI_ANY_ID), + .class =3D PCI_CLASS_BRIDGE_PCI_NORMAL, + .class_mask =3D ~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"); --=20 2.46.2 From nobody Wed Nov 27 16:42:50 2024 Received: from BN1PR04CU002.outbound.protection.outlook.com (mail-eastus2azon11020112.outbound.protection.outlook.com [52.101.56.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5AE9D21858E for ; Tue, 8 Oct 2024 23:18:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=52.101.56.112 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728429533; cv=fail; b=bbkALd18p7cgwrJIsPVrPZi1tXLI4e12isqzTVTA+zV9XJ3nHLoV4yzjT1+W/8QbFM4YveDtokZnLN9q275OA7W1i98Way5EUeXrE6fpg7BFE29bR3FvIM8cz5bIMmnn3W1DbpHca4SN0bDKJ0oWrP/UAaEuHdrofGQ5Lnha1t8= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728429533; c=relaxed/simple; bh=SqarfIXwlLsPVxEZeR6fKukjnURKfoidEPBQZflqa/c=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: Content-Type:MIME-Version; b=PcUm8MJkNKSwyj7MHg7H2fHF572Tml3gg1xNn1kBPlKt8vW/OYqwlZkQ3iLfPxxs2S8jRg2fGm/L9wydEqCCeboTy4c75Hs5LVRXqcKUq71foT1eOFe6bwyAZj73lcvWXfvteTQBgToOVuLeirA/V4O/Z8xUbhFv4Mok0UuH6hE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com; spf=pass smtp.mailfrom=os.amperecomputing.com; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b=J2vj7Kqj; arc=fail smtp.client-ip=52.101.56.112 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=os.amperecomputing.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=os.amperecomputing.com header.i=@os.amperecomputing.com header.b="J2vj7Kqj" 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> Content-Transfer-Encoding: quoted-printable X-ClientProxiedBy: CYZPR19CA0023.namprd19.prod.outlook.com (2603:10b6:930:8e::29) To MW4PR01MB6228.prod.exchangelabs.com (2603:10b6:303:76::7) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: 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: =?us-ascii?Q?5nlhjCaYMpDD3smhvRgdP4lfyAXxpUSPlH6B3kO9aS9KHXbJXqAM09rFMKfI?= =?us-ascii?Q?LYSToDh/pjpf0R6IJZbIuPmiLJTMU+5tkk6dRrhUbji5p8ImOyrSuj3Nh1UI?= =?us-ascii?Q?48dX4AYwtCTLYd57tgrBllIa6S/hw7IoLl1hAgSrEvSEuMcCq/DHEa/GAam8?= =?us-ascii?Q?3CB7C1TaxysCBV+giRFgWZGm7p5aN9usn394C/gpGJD8EkRcNFtKPZ6SLp6I?= =?us-ascii?Q?ZyihZFVWXtZK3mhu3DgWL5hecQK9WsoNPdeDkFcglWsaNbh+O583mfIjpobK?= =?us-ascii?Q?Oo9KX5bhpWXKuEKX4UlPVrcgWACmfBKjicS2TTgaqk3KpoIxqNr773YLMNt2?= =?us-ascii?Q?uGNY+VEiOkjCBSKr2Bm1bBKW5qkj+fPallehoHnCCIouzJ70ZYEmswuNcAX6?= =?us-ascii?Q?3r/M7jHpuWOfGDPHmfjYUv7UqAq01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0JXkOsxhd2jYkHmMMBdO1r6mN5SO0mXlQ7pqghrDbg=3D=3D?= 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: =?us-ascii?Q?HCgrK6fFw+jXnG8MlINfufxsvbDtRAfL/nDQUZnH2AUUtFpG3AP43N/a6gg/?= =?us-ascii?Q?tOrNvYMS/gN8q+bk1aDGNsp2g6c5bFqOxLX1/NLCbWzqWoQFM2yXk+AaNqXO?= =?us-ascii?Q?uaYwmkK5MGTV0YAQe2fpQcLoma87kqCbm/On8vhVqgjB3huBkg/HuBxgD//3?= =?us-ascii?Q?qCv/4eKTlMF1DKi5V8gq7E09AcdG6HOH8sM9zhytY2Tqk0OlRMI1rpCixjMB?= =?us-ascii?Q?kNCGCqKrzF73xw32lPwPjye4i80P65Yhr7o40D/Wjz5nZjuy62Ji84r+6vlR?= =?us-ascii?Q?/RN/geEJS95NVhrjNXdsSq2/3mDnGwM6fHcH/wIjVlAkIab8mXN+LgFIfXkN?= =?us-ascii?Q?1Lsplf94fyKWbIdJ3GLqkHvXvRUUmIk5eu2FtHrnoeDIuICOeS24HALq6ozh?= =?us-ascii?Q?TEJNfw7PHPumIpIF53Pq6e8RkUfMgvt0efeN5Ch+fTWGNIq15qOxFuZ1EYzJ?= =?us-ascii?Q?swxm/ccJHF/3Aom595wkg5g527yhhgaEIE+27zP7F0w0pTuO5s27ZvIsySja?= =?us-ascii?Q?m3QD1EkxJJaR2idKIYEUWyn1MvTUZJ5EnTyKPx1l4wHDCOOSBX9g2Hn6F4z/?= =?us-ascii?Q?QEi1t0nkq2LjXiX+Fz1a6fjPj7GynpuQcnxVwAK007NxDOM343MWXHj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0bx9O/E4OaNoZTawFIOXrdzTK?= =?us-ascii?Q?KbR8U8Whh/XV77+XuEW9mtCS0AjI1pwfNIUGaeTC10ZyykZ37bN+ewfCjCOf?= =?us-ascii?Q?ur+cByjOZk6dvUsdXAz7OJA=3D?= 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 Content-Type: text/plain; charset="utf-8" Fix a few typos in event names Signed-off-by: Ilkka Koskinen Reviewed-by: Jing Zhang Reviewed-by: Shuai Xue --- 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[= ] =3D { 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), --=20 2.46.2