Message ID | 20241112-ep-msi-v6-0-45f9722e3c2a@nxp.com (mailing list archive) |
---|---|
Headers | show
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2085.outbound.protection.outlook.com [40.107.21.85]) (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 28A482141A6; Tue, 12 Nov 2024 17:48:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.21.85 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731433721; cv=fail; b=pdHJ54gK8IxruELV2nPvEPpzp+NA7Ttk6oE89QoPw2f8gsYkeI+8+rC9nbKWBhqOJ/8r5LsKHSrc0OJPdGTml4x0ZHQOiVYE5GL149S8gGFa+TIloRKtVpJJvZeg3GdSWuGaORv0ulB44plBDYtu620zM4QZF1AIkOacxT0klVk= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731433721; c=relaxed/simple; bh=s7YA9k95gePGlrukCgg8t7xSR4rhzh9vJYZCUX7nc+8=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=Qde9Reeqeg8O7Bf3LjnjQMFlz0JrsdQzT047dme1qjmJj8ymtzko1LxwwdZv7E6+dopZc1ucpp2yQ8rnKdrayNB1YiFb06W5or6yd8gFQsz4uIOvKTupH29jwU4dZPnUZfMuDboaDbUbjXX41zxDbB39bpdFPjLcYgSYfqCwXJE= ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com; spf=pass smtp.mailfrom=nxp.com; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b=d4KnvO/v; arc=fail smtp.client-ip=40.107.21.85 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=nxp.com header.i=@nxp.com header.b="d4KnvO/v" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=HuyrGUhsTcLaei//4aIhJGWD8va6dh4/9Ta1maT+nWEBss4TyOQq0sKUa9xoFpLSwTX6QcTCfuaFNC9GxnZUlXuEIPQwN9JzxDnSdQVa9cstjHs8Y6kl2UV4j5yV4RpEqEz7P97TfPZZIlW6rqSgY+qK66/BxC7Z9yCcywfSxRh+VvOa3jFALuv+YU+TV7Q7jZopf85PDoS6IHsdQB+g7ER5bifqpuyTXCjZTTOW3D99hdenkMv2JrHopys05IUBL9aVM0P2V+aM6eSA1GjkpbeMW7wVBaInEQ/YZtn2XQ7xX2Mb5rZRmjPm4XvpgWV01+H+nrHi68di6joS7rsUcQ== 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=OWIv2PzhaS+Jt/HY1K+wJQOwISmpbW/M7FrtGt+j5P4=; b=mfXbtl+NqpI3hxIcnK0GBYoVMOZOlYf7f4JvDtPAirIfnFtrfBboKQsh096WD77R9bMBurRoHlB2FQAUwomgrX8ETKoHxD7KQ8dCKi+PPqCp4MNwvBigDFxIAfHN3UZmvuDsbbKu3GO06O2Y/rENt4vGMYmhBY75OfRbovuhA3opcn+5jtaLpTGhxx1BDtdRYGTjhckYw8fYeGBYhGgDIfZwRcA14qVWU6rbSlqzZDHP9Rj2ftI/bmCnQ96GNVdJO4l450nXrxwKxvF4u8hqoGZsH8Bc7GLRg+fg8LI67+CCpG0Rh0ElN+V8ViS+/juFltQdAca/WTWTXK2r+zIRXA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OWIv2PzhaS+Jt/HY1K+wJQOwISmpbW/M7FrtGt+j5P4=; b=d4KnvO/vh5B3gL4mDHXf+KERhBh381RtR6m/M6YRmjJ0RtZAKeYDKQ53bUADHxQUUC4SR32FHE/uuCB6wWwcZU5WJywqV7x2mnmgowHCz9bIoy64RwnfawPfQo6KGZ+LJsI6hWriF4ebouMvk5W/nwRVxx9zCpV7vwsK+42cBPuGvQ2/kaJAodJm03oY/7rDRwOi0iqYLVYaDMbWSaKB7Gjik3X7d/U5xZWLJLDl1/TJpTRyLQocNSe/aDc4PARNhi0g1nkaPIqmwfJb0z5G14COW62o/Gxe2czMHgm//gJO+xnkL3TI9ze/kOFurqg3z5BX4CUUOTYY/0k159SxuQ== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by AS8PR04MB9510.eurprd04.prod.outlook.com (2603:10a6:20b:44a::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8158.17; Tue, 12 Nov 2024 17:48:35 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%4]) with mapi id 15.20.8137.027; Tue, 12 Nov 2024 17:48:35 +0000 From: Frank Li <Frank.Li@nxp.com> Subject: [PATCH v6 0/5] PCI: EP: Add RC-to-EP doorbell with platform MSI controller Date: Tue, 12 Nov 2024 12:48:13 -0500 Message-Id: <20241112-ep-msi-v6-0-45f9722e3c2a@nxp.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAN2UM2cC/1XMSw6CMBSF4a2Qjq3p7QNaR+7DOOhL6UAgrWkwh L1bSAAdnpv7/RNKPgaf0KWaUPQ5pNB3ZdSnCtlWd0+PgysbUUI5ECDYD/iVApaGW20YM2A8Ks9 D9I8wrqHbvew2pHcfP2s3s+W6JcSWyAwTbL2zUmmoLehrNw5n27/QEsj8BzHYES+ogcZp6pQyV P4jcSAgckeiIA1cCbDEEdIcaJ7nL32uBOAEAQAA To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>, =?utf-8?q?Krzy?= =?utf-8?q?sztof_Wilczy=C5=84ski?= <kw@linux.com>, Kishon Vijay Abraham I <kishon@kernel.org>, Bjorn Helgaas <bhelgaas@google.com>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, imx@lists.linux.dev, Niklas Cassel <cassel@kernel.org>, dlemoal@kernel.org, maz@kernel.org, tglx@linutronix.de, jdmason@kudzu.us, Frank Li <Frank.Li@nxp.com> X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731433711; l=6467; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=s7YA9k95gePGlrukCgg8t7xSR4rhzh9vJYZCUX7nc+8=; b=cKELdhYPRgdy7l1CrZ0GGqbiKBhl82po+E7jkmWzhLSMR5hjTgcNIAlaDBeHCSHyNhCib4pKY j70meHwH+AKCwrLdZ7JPuiSOhQgca1IVPjoil/tT3vUTNeGoXve2OGR X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: SJ0PR03CA0076.namprd03.prod.outlook.com (2603:10b6:a03:331::21) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: <linux-pci.vger.kernel.org> List-Subscribe: <mailto:linux-pci+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-pci+unsubscribe@vger.kernel.org> MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|AS8PR04MB9510:EE_ X-MS-Office365-Filtering-Correlation-Id: 67493726-9531-4503-cfc3-08dd03423b4a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|376014|7416014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?ez5s7tSBVgo8QoRIdhynaES3WPdiC7W?= =?utf-8?q?wPaoCGImiCLMcieEcjV/LI1HoXIHdP7ftz6hb21SQBDCYvpZsxB6gOaAukJ2zrrtp?= =?utf-8?q?XAGqtuQnay872ZcJuGe4mannIFh04hiYkpxlhiw+jqMuLjjAXfzhb+OWEGRC1+qvv?= =?utf-8?q?SnpARvFbFkZwk0cJWUqjtnI5oYx5aF+wCsHFaucQsgf7SHHA2GEQdjhHVK2db7U5t?= =?utf-8?q?Qb8slb02iVq36ptFSlTtcf9rkSB9+0pY1eNFPW9orAf0mH9YjhfzYlBzJUgkogSO2?= =?utf-8?q?yk1PpfnysHoUP91sb/o31V9qWpafI/WeQm725Ez7q6Br72Bd/jtMcZdoF0ug38Xme?= =?utf-8?q?qdrSg486oGHpOtXxHkUQaEWVlpYLzlX1v1keBCO4Am6LteTs8oY/dWz/mSGY7CmMl?= =?utf-8?q?mfnHDS4L5OraSu++lMz8SMWB+x8WjeNUtOspw3kCRDnXlSWgpms72A2jfrDxzLQTH?= =?utf-8?q?nAAGwKyci0O6ttAq2NtwKy/87aXEsoPtQKP3lT42YvjMuMszraOBhI2jSVzhxbMcZ?= =?utf-8?q?xsGgAA2n6tJ8e0jg8DCZsrjQecpqkUEb7vCcluXooi6/SNk7jyu1tQOlqOoT4dQvr?= =?utf-8?q?H1rR9REPAu9n4pv0+IArtTgFqWi0uZXfzWJwFf4GhsvN4jGcmZAf9UYBb6fXN5Tz5?= =?utf-8?q?XnTNy2auuO+d5GIuMd4pLysfXn1+r1ztquuxLlhGBwdjn0WxxJS45AafF3ZywCgJT?= =?utf-8?q?gsVW+WnPpUjTnsgUtyy7ad2180u2KWetsaoPZ9l/NR3NjC0TV9N3Pa17vVgHie0Gv?= =?utf-8?q?RcxsoVpjC/zJTzqKkiGXRDSXjwuSCbhfKYSODBGdA5Yv5m9seW5zkImvlPUDrjISZ?= =?utf-8?q?h/YoxvT58CWFHigAo6uaaFEUFzjkg1xmHOhu7a6/MUtCJfRHr29+pF6M0xQX+wgP6?= =?utf-8?q?NTtMl5GyxL3BXxyu5BrLwUtU4xWWA9KB42XaLmFmw5YgTHm1ZKIa+AHjRw3HK5R9/?= =?utf-8?q?KB3H4V0oiuBC15ihzadCaACa33s0OwvvTH2sZBziY+sL06gaYaVZR2KtTWwQarnXl?= =?utf-8?q?rarafOd9wP7bZ0ZJl/9YKQbXm7zxi2SRydzmMMQqzYXrwYk8Zd8zMZcfbd7E9zgVR?= =?utf-8?q?jpeK3U0Rq4alf+i6kgREZKrg6RAXzYmkoa1ELGVoX5YP0ir/4Wa+22kSSUtwplOG6?= =?utf-8?q?mT2T3KFm3Yki3aS+v9jMDyJNjCwIVAByR6U1oPOo5fGy8OWkekJIwJx9OHLpHOLE6?= =?utf-8?q?m5LqE0q4LHqSXfWSGLQwu1yEgTNQRfc0DBY3fEE4pAq4sSsZbotAlB/b9M4YMjsDx?= =?utf-8?q?bBzrxEQj/oiNckjpc17G0K6YaS1imKMxIUmkv/fw/Qw+/eH/KQGSg9xzq/Fq4jxyn?= =?utf-8?q?h1qpqi1pRfyC?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(376014)(7416014)(52116014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?PaDVbu5RYdrusqMJRswk4PMqZtU9?= =?utf-8?q?ng7ekA5BkZzYt1S1RFbcIR33vXlHwYgYY6FS1wc8W4G3fwoz6W6QNyUSurlIRmQ6P?= =?utf-8?q?WyGdOyXHRmJq7KAitQP85w77DT4raWnimX/8BuvNcU8SUGfeMNHwh+Jq/kEPHZQGN?= =?utf-8?q?2KQjDfDCb2yza7k+qcE9bm0J8HqsheYh5dKkA+UFt44M3UyDITxcPuwFHW6htd/PX?= =?utf-8?q?YIW4c8tgGKmE1TM3uyOv//60WNDaMgfjLYzZ2MP65c381UE3Nfsz08sUNZC4pHLrN?= =?utf-8?q?M95aIMEXaF4xXQ3lSh44N4Csg2tU4B1IbfUu8t5tTsmlhaUWJtQmLluZ8d+nKL/GY?= =?utf-8?q?HgIqGAqdALMhqN63kmCqbagHIYqrB/NnCsfqbR/7pa/7OH8+hoAtrCbzPloqFn7Sh?= =?utf-8?q?EfyeFB3MZn7RsT9w7mctowKqx7BzZEdcaOIbZmVxltJ4raC7/QYf5lpE4RBnu23xi?= =?utf-8?q?B2XCn67iwaRD6QBJ+EK79jr236aQOMbsBWqM8ZdLaRdpLvFksVDOH+SAUygxAIWPw?= =?utf-8?q?4nriia1yCbDXtvOM9+DQGocDnh7SpixEEKxoEkLWtyuxYlhDTTZaoc/Bae8cthyU7?= =?utf-8?q?J2pC5n1o+bZFJoz92AqUTZt0LjzXx8L2Rwxtt+kwTpT2VvaPmTlMmQnZ6DqeSQqXE?= =?utf-8?q?QKxPFbzTgUcjGyFLWCEaZ2wN0J+yJxtgW5LHWukU1PHAJ9xhLeBpaa3rW4+slX0GP?= =?utf-8?q?WiyDnAcLP01Ra6o1VtTV/YwC20valLpziFI38ubCk8CtlwjI3zL0fFM+wYbUCCDTX?= =?utf-8?q?E2Eo6tl4uXWZJ+HTISuuBA37z7lmk2TN8rqJqV0LEm4KyAN14mA389e5+y/zKgs9N?= =?utf-8?q?rWWHdI7aahlTQJDEsBGSAaQ8Kaa2GlxgT3Pb9Su1GIICeTLtzjKvizuW9wB3TL41N?= =?utf-8?q?gpvlMXjwa/h9m0uGWIuKcI3xB5qMWafpzypLId07FXv26+hMhfUIntZFvQq0iBw9r?= =?utf-8?q?yjOQVIzzovtLg75JqJ7cfIFrFBgz3qlbRr770M5BoowOVol9pXm7g1FDcyqlFY/Jw?= =?utf-8?q?OUji3Jzq0T5HwErT1rQ6V1K34XLT7REDTyICO9Xj4oODhI+2aQ+Znl8gNayTZmQkG?= =?utf-8?q?wvKwJH589ZB8F8ZFiPOhWOD5E6bijuqOERBrhPjyidcs+qSV2AS6VkLQgVe32VEuC?= =?utf-8?q?I9GY0S2oYTV6QKB3cXhxG6drX3F7vjLfwjYb6dIl/pDl1tOMndJnfEXbGkRax7ZVW?= =?utf-8?q?W7oPN+8ceAQO0BWzJhV4vAdZQd7Eu+Lx7Bljiuh+8VSNRRznq8BC4SfxmU9Z4Xl1d?= =?utf-8?q?d652mD1622TqTljSruruNUVz5gHUIJAcwhPDQvrFna2+Vxt9U/EYkmg4JxEn3Dz8m?= =?utf-8?q?deZuBrGHtLR+1LWlI9RowudqhEN2zDNs+EgT7hkTVO4eHhuereEg/ip/Tg3xp/kYz?= =?utf-8?q?hcioA9kNp2qG3ZmzEe5m2A7dwROZeMxvnwekhTL4dFPVRLPtLhWfj+QTCm5/jAtcy?= =?utf-8?q?jaHqTgAAwpQssmBvPiT0cDlYizNDUcAzCNhOAPCsM0gapOxecAU9xZGA=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67493726-9531-4503-cfc3-08dd03423b4a X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Nov 2024 17:48:35.5109 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BilsbOo9RD6uOPquw8akEE8YM8LV5d+V3UdBpMxwU/cEVzBTi3GI8d5Q3NmyLLVwa1tOaN+MbpixkgUiDbuDmw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9510 |
Series |
PCI: EP: Add RC-to-EP doorbell with platform MSI controller
|
expand
|
┌────────────┐ ┌───────────────────────────────────┐ ┌────────────────┐ │ │ │ │ │ │ │ │ │ PCI Endpoint │ │ PCI Host │ │ │ │ │ │ │ │ │◄──┤ 1.platform_msi_domain_alloc_irqs()│ │ │ │ │ │ │ │ │ │ MSI ├──►│ 2.write_msi_msg() ├──►├─BAR<n> │ │ Controller │ │ update doorbell register address│ │ │ │ │ │ for BAR │ │ │ │ │ │ │ │ 3. Write BAR<n>│ │ │◄──┼───────────────────────────────────┼───┤ │ │ │ │ │ │ │ │ ├──►│ 4.Irq Handle │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ └────────────┘ └───────────────────────────────────┘ └────────────────┘ This patches based on old https://lore.kernel.org/imx/20221124055036.1630573-1-Frank.Li@nxp.com/ Original patch only target to vntb driver. But actually it is common method. This patches add new API to pci-epf-core, so any EP driver can use it. Previous v2 discussion here. https://lore.kernel.org/imx/20230911220920.1817033-1-Frank.Li@nxp.com/ Changes in v6: - change doorbell_addr to doorbell_offset - use round_down() - add Niklas's test by tag - rebase to pci/endpoint - Link to v5: https://lore.kernel.org/r/20241108-ep-msi-v5-0-a14951c0d007@nxp.com Changes in v5: - Move request_irq to epf test function driver for more flexiable user case - Add fixed size bar handler - Some minor improvememtn to see each patches's changelog. - Link to v4: https://lore.kernel.org/r/20241031-ep-msi-v4-0-717da2d99b28@nxp.com Changes in v4: - Remove patch genirq/msi: Add cleanup guard define for msi_lock_descs()/msi_unlock_descs() - Use new method to avoid compatible problem. Add new command DOORBELL_ENABLE and DOORBELL_DISABLE. pcitest -B send DOORBELL_ENABLE first, EP test function driver try to remap one of BAR_N (except test register bar) to ITS MSI MMIO space. Old driver don't support new command, so failure return, not side effect. After test, DOORBELL_DISABLE command send out to recover original map, so pcitest bar test can pass as normal. - Other detail change see each patches's change log - Link to v3: https://lore.kernel.org/r/20241015-ep-msi-v3-0-cedc89a16c1a@nxp.com Change from v2 to v3 - Fixed manivannan's comments - Move common part to pci-ep-msi.c and pci-ep-msi.h - rebase to 6.12-rc1 - use RevID to distingiush old version mkdir /sys/kernel/config/pci_ep/functions/pci_epf_test/func1 echo 16 > /sys/kernel/config/pci_ep/functions/pci_epf_test/func1/msi_interrupts echo 0x080c > /sys/kernel/config/pci_ep/functions/pci_epf_test/func1/deviceid echo 0x1957 > /sys/kernel/config/pci_ep/functions/pci_epf_test/func1/vendorid echo 1 > /sys/kernel/config/pci_ep/functions/pci_epf_test/func1/revid ^^^^^^ to enable platform msi support. ln -s /sys/kernel/config/pci_ep/functions/pci_epf_test/func1 /sys/kernel/config/pci_ep/controllers/4c380000.pcie-ep - use new device ID, which identify support doorbell to avoid broken compatility. Enable doorbell support only for PCI_DEVICE_ID_IMX8_DB, while other devices keep the same behavior as before. EP side RC with old driver RC with new driver PCI_DEVICE_ID_IMX8_DB no probe doorbell enabled Other device ID doorbell disabled* doorbell disabled* * Behavior remains unchanged. Change from v1 to v2 - Add missed patch for endpont/pci-epf-test.c - Move alloc and free to epc driver from epf. - Provide general help function for EPC driver to alloc platform msi irq. - Fixed manivannan's comments. To: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> To: Krzysztof Wilczyński <kw@linux.com> To: Kishon Vijay Abraham I <kishon@kernel.org> To: Bjorn Helgaas <bhelgaas@google.com> To: Arnd Bergmann <arnd@arndb.de> To: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: linux-kernel@vger.kernel.org Cc: linux-pci@vger.kernel.org Cc: imx@lists.linux.dev Cc: Niklas Cassel <cassel@kernel.org> Cc: cassel@kernel.org Cc: dlemoal@kernel.org Cc: maz@kernel.org Cc: tglx@linutronix.de Cc: jdmason@kudzu.us Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Frank Li (5): PCI: endpoint: Add pci_epc_get_fn() API for customizable filtering PCI: endpoint: Add RC-to-EP doorbell support using platform MSI controller PCI: endpoint: pci-epf-test: Add doorbell test support misc: pci_endpoint_test: Add doorbell test case tools: PCI: Add 'B' option for test doorbell drivers/misc/pci_endpoint_test.c | 71 ++++++++++++++ drivers/pci/endpoint/Makefile | 2 +- drivers/pci/endpoint/functions/pci-epf-test.c | 129 ++++++++++++++++++++++++++ drivers/pci/endpoint/pci-ep-msi.c | 99 ++++++++++++++++++++ drivers/pci/endpoint/pci-epc-core.c | 23 ++++- include/linux/pci-ep-msi.h | 15 +++ include/linux/pci-epc.h | 2 + include/linux/pci-epf.h | 16 ++++ include/uapi/linux/pcitest.h | 1 + tools/pci/pcitest.c | 16 +++- 10 files changed, 370 insertions(+), 4 deletions(-) --- base-commit: f5373677e13177cfc7875f44a864f9a1db751df9 change-id: 20241010-ep-msi-8b4cab33b1be Best regards, --- Frank Li <Frank.Li@nxp.com>