From patchwork Fri Nov 8 19:43:27 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 13868864 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2054.outbound.protection.outlook.com [40.107.22.54]) (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 C39241C1F10; Fri, 8 Nov 2024 19:43:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=40.107.22.54 ARC-Seal: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731095032; cv=fail; b=N7TrieuE0EGhBlQ/Gg9+Ut/4bGkHbxM/xm9dRGAPDcfoExIu4WVvqeYSJOiwvc48KG1ya5lFSBXoF0zhpGRQ+liMSPW8b2X6TiWUJwI65hryyiO7ppzbEjLiAnMd4hPw8vFTrMDbum8yUsIc+hMoHKnewWNiRqV9FRlwXm2aW7Q= ARC-Message-Signature: i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1731095032; c=relaxed/simple; bh=ntXiaH4l2kp/wWKknwkD8PPeio91jKJpNZWJm8X7L2s=; h=From:Subject:Date:Message-Id:Content-Type:To:Cc:MIME-Version; b=S9LfbAmaV/DeB2Cj7aUKSeVO9wR5WdINvz6mXVOoxcOAHj2ssMfKM13MjHhuO5ASCUINrdZM8uA4GDLg+Ls+dPnb2r2KVymsQgyf11gmL09ThXCdJ8BSxDWDHfvLSJRD6VAov6z7BS+74i28X/I6BRZY5ZDd1QqEGHEyCFOr7hc= 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=auyPESZV; arc=fail smtp.client-ip=40.107.22.54 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="auyPESZV" ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=dSSJYdy90T9dgDdu/R9a4nZvQRJxyTPGk43NnX4R0tW3YE9XJESYpGt7MDkto9hLUsCP5V3y4wkQXOm+IsjT+xo5kShMySbOCceeFNbYCEGpcyOOeSkvfHSxpqGrFISum3yfTFOiRhZCxT+TB8kADi+vH64zxjuFwDTcNr2OuqqzYJJZ/GugglskPHDRy07nd5KkWKUyjdyVFjDuh+Xrl2nV0jTeWBKRGMLK4R/PlYEhhE7dYOXKTVypzdwtYMbqH3IHEPRQ7urwF8yvoNg+k6YaD2BD1kyogMvZKwJiZ4N28KpQqSxkeTOvjRi7gE/HUdjMZOJ2WrPqV4LVhE8ISA== 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=bAA7p7B3ly7BYYc6jadPjFBJhEgAzZ6m3MyFJkUrKUs=; b=DKD8qAQWCCMfpQG6wNCSgv5+mewSZuV71R/sxt5q1yfYUqJyW/vKe1WNWrdOVF7rSHWLZYqu62OSd8xCrxOr+LOZodYwDYb+gRpGUb3ABdG0STIZJhoHtVR3yAC7ZLwqCh7DA3gKu5PEyMFN5frvTprXnel3tSQ1MmA8o3eVells1mJokgoC8xcppOjwWaXRTiuyJML05g/GPeJmqDeyH+aa1aPmwDlD1HhH/oPRf0i+oJNYm7LZ3Ni+S/rebQz66CaCyEGfRrMqzIXaJ+zFihsiVyxo/37HrvGGmvw4KuRcwZLAwKvjlqWXyNatX/47QDy9kic+Rj55xc4yCrtwnQ== 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=bAA7p7B3ly7BYYc6jadPjFBJhEgAzZ6m3MyFJkUrKUs=; b=auyPESZVY5EwoXhMBIrjnQV04SDmV1Yv7SXfe0mcRUWkVJxfZrk+oMUo3Rvbuyi7VqqoasZ4GGJy316UJhq6S18KDQ599gGDH5QuZcvcUJWJiD92xDET1Oe6ZzjvKuhUaLJE/LZ4XvLRRhnsrcB5eaApcW6zk2AYYPtk1PehylRuYZgruLoBNHb8UloKPkr46thGjFsrbDXX1tKiC3tdkISdnvUDMWK2rT9Zi6fZmlfqVurN15JOsxiUpnTIwFV25Tk3LVDhtIhQNKrwtdJd/rwsQQ6KfOORoJXhy2ePThUfjm9idJtmGiaM72MrCqXl3C51DmiFxylrFbjaqfN/bQ== 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 PAXPR04MB8669.eurprd04.prod.outlook.com (2603:10a6:102:21c::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8137.21; Fri, 8 Nov 2024 19:43:45 +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.021; Fri, 8 Nov 2024 19:43:45 +0000 From: Frank Li Subject: [PATCH v5 0/5] PCI: EP: Add RC-to-EP doorbell with platform MSI controller Date: Fri, 08 Nov 2024 14:43:27 -0500 Message-Id: <20241108-ep-msi-v5-0-a14951c0d007@nxp.com> X-B4-Tracking: v=1; b=H4sIAN9pLmcC/02MSQ7CMBAEvxLNGSOP7ZDlxD8QBy8D8SGLbGQFR fk7TqQAx2p11QKRgqcIbbFAoOSjH4cM5akA2+nhScy7zCC4UMiRM5pYHz2rjbLaSGnQEOTzFOj h5z10u2fufHyN4b13k9zWI1EeiSQZZ5acrRuNF4v6OszT2Y49bIGk/iSJX0llqcLKaeGaxoj6J 63r+gFJjzgXzwAAAA== To: Manivannan Sadhasivam , =?utf-8?q?Krzy?= =?utf-8?q?sztof_Wilczy=C5=84ski?= , Kishon Vijay Abraham I , Bjorn Helgaas , Arnd Bergmann , Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, imx@lists.linux.dev, Niklas Cassel , dlemoal@kernel.org, maz@kernel.org, tglx@linutronix.de, jdmason@kudzu.us, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1731095022; l=6249; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=ntXiaH4l2kp/wWKknwkD8PPeio91jKJpNZWJm8X7L2s=; b=2LmAv7zvFlwI+4kDE/tLxeBnzRUEP+VIZvrrCAyKdGd01k0OFygy7A4BhhlD9v0Y7/7zjqnaP RY6o8xOkIAEAvM7JV8dj48rHIioy+DTECKJjyKPxB2BD4ZRpQypPwgS X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: BY1P220CA0026.NAMP220.PROD.OUTLOOK.COM (2603:10b6:a03:5c3::17) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) Precedence: bulk X-Mailing-List: linux-pci@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8669:EE_ X-MS-Office365-Filtering-Correlation-Id: 8dc7c340-e10c-4747-e765-08dd002da872 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|1800799024|366016|376014|52116014|7416014|38350700014; X-Microsoft-Antispam-Message-Info: =?utf-8?q?7WbJYbh45uuIMjB2hJv766tk1Yo7Sgz?= =?utf-8?q?1Op4TYRLhar2B+mcDlFCmrrXHjf/mhnjN74lHlGH0YbVY1q5wSpfymf8aFBGTW1/a?= =?utf-8?q?FVoC4tTswXi7Eo8rubf6pZ+zXeDIpDRTKB27VEXR4J1BteF+XD3WAZCnF229esLQC?= =?utf-8?q?jU7HaVp7bkPwDhhbYPoqpXzAEwaLqpUtpSSczXD0azkKagkNkC63SnCJltgbulpPq?= =?utf-8?q?+S5RJxSEn1PSY18+ATf3jml4+ltGYZCAUVBHgn088dNSVn97dUm2hnk1As5scZkzy?= =?utf-8?q?iAyUdxK4O77IK0a/d7x0RYA99vh5DElWEjYcL+gPlP9hYtB8K4zPyXgAVtrLqKcaV?= =?utf-8?q?iSoPakHDZqUFQJ1qdnZPkK3kRyUpYcoEw9NltRc8JTkF7CJhEU2Cn9nOQROVYjhkT?= =?utf-8?q?WMhZcr/XErQv6DQ9C8TZPcTd+EhKvz0Q4Xthl6W9JNRUUm735Oew2+4lQjptzRXqe?= =?utf-8?q?NTrv3xS5mo6EZI6aJ2mE7HbTwAR1beBwae2aWqruxXRJYKOgCYPwdnWwy2auhQRMA?= =?utf-8?q?C8Tn4BHXKlxBQ/JswVX+/BJSHrpi5q4muHTvM721y/t1jkvmqLz7IsStWO7jFZo2p?= =?utf-8?q?zvw0I4jiMm4h0qyb8c5vBe5v6ZnaVilQ0/KfloVV7Aghx67CDtDNr3do3iuX0uciZ?= =?utf-8?q?EPYSc4V2tL8//L3LLARqIv8HOvNyRXhUbW7j/ZZbSeFxkLI3xxms1FajJJxCvntm8?= =?utf-8?q?9ReRgJbl5VgvhsaMIBt3Kvlhqz+ZftdYzL8NMXk1rHwV6xA7abB64Qk3qadDVW8Zh?= =?utf-8?q?CHoHV8YuVzlPq5N9eX9kj2D8pUOKxk7DqMMnaMHpZYTHLVaEHYYVpl76noQP6gWO8?= =?utf-8?q?BTek3REsHdWBabLE7EH8HDXhrL9s8TK18IoEhhwnhqMyVa0tw46g/BCYHlxSwFm4x?= =?utf-8?q?V0sQmfDf/uPZ4Y4BNHTP3oJkD67h2XbIpXa5I/NDXkcSS+GAzI3J9INq3VoIC/E5i?= =?utf-8?q?NT94h0VNEorjl8A9JKXdnRXHodaSYVPVGlxU6vLXso2MscXQMx3wSzQg0Sqd/LcFa?= =?utf-8?q?KFCkVhN9tVvmcLN5wIHtGIgWllxEywsPsPhXoPnw7UJGNPwXMlbZvU5w0c3xtYgP4?= =?utf-8?q?Udx0z8eNI0dKkfpkOvt1wlVI4te2fGNPlrgnZl5ZKi5HmVe1WQh0O/w7BamspS7kc?= =?utf-8?q?zVaN7RZ72djx/EbnPk+vaGJ+M7OdYWOvn5NKvZq7X4fZvFwuDFT4UyR1VPCnli9lU?= =?utf-8?q?tme/UhrcznkYE2F8wCPptl6OtWwX35QV22CCx7RdKPDx7RHX1DdHShtZ+m54hrlOq?= =?utf-8?q?TV8th7Hk6Xxs0WOjea5J9m2Wo1mqbYDt4bor2HQFHSPS/pmQnUigVQStIb91J5b5+?= =?utf-8?q?oTsX2MZEJrFj?= 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)(366016)(376014)(52116014)(7416014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?KMWWZCbWAautoSHGd4CaYsh4Cc9j?= =?utf-8?q?7KKxj7dExFTQNRKweOxJR8a7a2GgWeX9N/uvZMhI0ZinAki64J6Cfgk0LKz3OKX6A?= =?utf-8?q?ABGNel5Q2su/pSUchzH5W/lyKy4VtCj2qD0zlZh3gI2VNJskWi3tm5ALTeS8n845E?= =?utf-8?q?3+F7texUWy/aIJNZkz3wp+/Xb1Mk1LtSxReFTFKpUg3dg7atwZLrPXMOh2XPuEKUX?= =?utf-8?q?VcHDlFu/9TlIbpIKmgKOGlNYuEpIxLgYqLHHgfMAyxILQMVSRfojqLZbK3XGHKUdr?= =?utf-8?q?rmxwB9PpATLi2wonYapB0qN/apbzmwWK2x68qYwkdC7ip9798fX/qOqihq6FkcKKm?= =?utf-8?q?9+6BaW+QxLjQH/5hKPY9t7qer5h+Iv2SFoAW/Zcwk8oREtpyCBJqld3wHGuFVdxSY?= =?utf-8?q?yCbeqpgR6HXajpactpAkTicgj57Sy/yDU3wI8DGWFUrrVfDt8B1m9PEwgITIPRH0p?= =?utf-8?q?n4V4P7I7i6q6lhqFkt2WayEhMiimk9UBLFvcmt9wEgPLXK8sJxorI1blntuOIxCzA?= =?utf-8?q?G5l9qwCA0GR9l4cBiuIjU74Gyy4SHo1MU0lrmfwmjVPKFiK+mhaoDSnyLziciKJtf?= =?utf-8?q?CPBR6c3QMMHQIRlkrF2q+4WYsbfXc/EqF+ypwf0TmrjZ5icdCowIAqJPGD9IODJYq?= =?utf-8?q?bmU0r2P5bXJIHICERNNHepYqkJgF4SwP+VwNqo3R5wfrH61S2S7dSe9pMaYo/M+dm?= =?utf-8?q?9p4/sDOc5cJuTvragw71R52+NwDPEkyU6PoSbWgiMUCqjZPk65TcwRWfTc53LUvSg?= =?utf-8?q?YAkVVYer2AEy2m/iciabMNSTswNhIoeYW/BeOvTHJinvJCcE5oBSt/dM4jZr6QtNC?= =?utf-8?q?Exe3hSdovBUxqgfFNxe9YGip563V0ka1lAbldBjir7DGuVQ09iAxoSx0NbdhXGUxO?= =?utf-8?q?ZmBTySqjGwOFFGwBY2I2zBdHU3KSsvmgq8aAam6O7bDeprcO5O6lybSwdr+P2oM6O?= =?utf-8?q?sQdYj9SFIfe47sY2dWERL0PSY8Cxs9dtvzqFGb5sxEStUSQn4XOM2zIW8j72yDlMC?= =?utf-8?q?1iGRuo64lsYGfaoDCIO477kp88ZR4i6F93Ktf5B758vGlLXe310a1L3GQuFPyafUL?= =?utf-8?q?7JHHYF56Cvvv2DlDoapOnqRhtq1zz222G7ayyJQFH9d/Ht8VNC3mp+dLqPHST0o9U?= =?utf-8?q?mHTGIQKXBYlBoNo3uS2QlrN3ZjnDX+wOtbCVLUsrZGyOl/ZL/w/zlhCsoPg6RRVCi?= =?utf-8?q?Dj5w18hSxNBCAW7tuZTIMWck7v9GyvAq4LIcqSm2BMxtD5elBS9AoFzNRTrXhhWtB?= =?utf-8?q?03m7a1B85kzthEWLniRVYHbz7CzOUBcgj8ByU0tO8qVJn5WXJg60UhaROo/tR8Cqi?= =?utf-8?q?v5XvE6Ck1tVzP6AEX9xtXy2X538NIyHwXjjBFkFfsVVsA7qrCTNcwYB3ARw2gkb9H?= =?utf-8?q?1R3Qhhl3iMstEQviQi+Ss1X8YQSePgblw422GZ2o1AMApW9ckCiPAbxj1D8HF1M08?= =?utf-8?q?E9+PYuyyjoFsHXeLlToa8xoqNd9ZXqXkjPnwh8NZ6UF5hl/DrwEs1LeuYOW7DK+Jg?= =?utf-8?q?lcR3OKJMCOTY?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8dc7c340-e10c-4747-e765-08dd002da872 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Nov 2024 19:43:45.6916 (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: 4O9o6GdKL6A3NZJXUxuIlN3pIGu0Y29p+D2E18ZAzcrTIH+loDOpTPyFBIcCGztVXffd6siW11JiKPAW5v/Eqg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8669 ┌────────────┐ ┌───────────────────────────────────┐ ┌────────────────┐ │ │ │ │ │ │ │ │ │ PCI Endpoint │ │ PCI Host │ │ │ │ │ │ │ │ │◄──┤ 1.platform_msi_domain_alloc_irqs()│ │ │ │ │ │ │ │ │ │ MSI ├──►│ 2.write_msi_msg() ├──►├─BAR │ │ Controller │ │ update doorbell register address│ │ │ │ │ │ for BAR │ │ │ │ │ │ │ │ 3. Write BAR│ │ │◄──┼───────────────────────────────────┼───┤ │ │ │ │ │ │ │ │ ├──►│ 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 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 To: Krzysztof Wilczyński To: Kishon Vijay Abraham I To: Bjorn Helgaas To: Arnd Bergmann To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org Cc: linux-pci@vger.kernel.org Cc: imx@lists.linux.dev Cc: Niklas Cassel 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 Tested-by: Niklas Cassel --- 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: f231847d7f5a171be4566099f654521606b3ec37 change-id: 20241010-ep-msi-8b4cab33b1be Best regards, --- Frank Li