Cover Letter Detail
Show a cover letter.
GET /api/covers/2194471/?format=api
{ "id": 2194471, "url": "http://patchwork.ozlabs.org/api/covers/2194471/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/cover/20260209062952.2049053-1-den@valinux.co.jp/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/projects/28/?format=api", "name": "Linux PCI development", "link_name": "linux-pci", "list_id": "linux-pci.vger.kernel.org", "list_email": "linux-pci@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260209062952.2049053-1-den@valinux.co.jp>", "list_archive_url": null, "date": "2026-02-09T06:29:43", "name": "[v5,0/8] PCI: endpoint: pci-ep-msi: Add embedded doorbell fallback", "submitter": { "id": 91573, "url": "http://patchwork.ozlabs.org/api/people/91573/?format=api", "name": "Koichiro Den", "email": "den@valinux.co.jp" }, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/cover/20260209062952.2049053-1-den@valinux.co.jp/mbox/", "series": [ { "id": 491464, "url": "http://patchwork.ozlabs.org/api/series/491464/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=491464", "date": "2026-02-09T06:29:44", "name": "PCI: endpoint: pci-ep-msi: Add embedded doorbell fallback", "version": 5, "mbox": "http://patchwork.ozlabs.org/series/491464/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2194471/comments/", "headers": { "Return-Path": "\n <linux-pci+bounces-46974-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pci@vger.kernel.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=valinux.co.jp header.i=@valinux.co.jp\n header.a=rsa-sha256 header.s=selector1 header.b=qRIv30yB;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-46974-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (1024-bit key) header.d=valinux.co.jp header.i=@valinux.co.jp\n header.b=\"qRIv30yB\"", "smtp.subspace.kernel.org;\n arc=fail smtp.client-ip=52.101.229.126", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=valinux.co.jp", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=valinux.co.jp", "dkim=none (message not signed)\n header.d=none;dmarc=none action=none header.from=valinux.co.jp;" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4f8ZYz5fVZz1xtV\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 09 Feb 2026 17:30:15 +1100 (AEDT)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id C06D130097FC\n\tfor <incoming@patchwork.ozlabs.org>; Mon, 9 Feb 2026 06:30:04 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id 7BF26313535;\n\tMon, 9 Feb 2026 06:30:03 +0000 (UTC)", "from TY3P286CU002.outbound.protection.outlook.com\n (mail-japaneastazon11020126.outbound.protection.outlook.com [52.101.229.126])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 1BA072ECE9B;\n\tMon, 9 Feb 2026 06:30:02 +0000 (UTC)", "from TY7P286MB7722.JPNP286.PROD.OUTLOOK.COM (2603:1096:405:38f::10)\n by TYWP286MB1974.JPNP286.PROD.OUTLOOK.COM (2603:1096:400:165::10) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9587.18; Mon, 9 Feb\n 2026 06:29:59 +0000", "from TY7P286MB7722.JPNP286.PROD.OUTLOOK.COM\n ([fe80::2305:327c:28ec:9b32]) by TY7P286MB7722.JPNP286.PROD.OUTLOOK.COM\n ([fe80::2305:327c:28ec:9b32%5]) with mapi id 15.20.9587.017; Mon, 9 Feb 2026\n 06:29:59 +0000" ], "ARC-Seal": [ "i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1770618603; cv=fail;\n b=j/BLGfxeTBaV170UHNf4/zfrhUwOaF1xQjo08PgAlrwzGTxuGq6pYQ+ZOYrdu9fTZr+GnhPWFUVYCydKTiOcOXqSmSvJ0Hg4VZbZ7zhFmw6SLH5gg2CiNTOiMm1csRRyX99EJpadof8Ksif06uAtGOrLvL3j38CZRenWlOC1bno=", "i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;\n b=rZzPesSiv3qZXkKi8vyFJsVUuVt0tMJ24vnSOfnwdsIPsOUT118gbhjLbA09gmN7faQZ8jFBrqFQRK4UckANucjLF9ZazCfWdjV9qzDQp1LSE/T5AOnUyZJuwIxBwonlUZ8nzXFHxAI1vV0N302a/cSQUUfWBdcOMn/N0q+JhA+U65pRDIr1/ItcmkK/hXp3CDjhnHqVq6LJejVBYFBKh80ALtJv/UXnvPE032N7QgG9fxUQoq3GKRkf1kl73fC0AeqLPa66yWiBx9knjCCSR2QCbqV3tY9x9qJ3IY+HO64V8GR4QYtAcEJohNHNcvwWNrPgF301uV9K3tnJKc91sQ==" ], "ARC-Message-Signature": [ "i=2; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1770618603; c=relaxed/simple;\n\tbh=lXfJZIw9AX+NJWDkD3dF8x5HAzKct0gZYRojwUwrJGw=;\n\th=From:To:Cc:Subject:Date:Message-ID:Content-Type:MIME-Version;\n b=ln8ha9e8TPCmMUa+vkcrc5ZYgczNkog5xrPits8tVg5H/4Gibh7dWR4o5Tetc37aq1XcC68Hk/qaWXTXrpf1n3XfHbzow698x+ybOj7qiYni85Bx/CV1kRktC2xTUk/CQ2izYoxSKmvK/qP/JpkDc35GNBIfgFtlcIzwlTVZfSE=", "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector10001;\n 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;\n bh=SV20rzS6aOq11oWT0Z6PKY7PhbZdcxz3qjIj01zC3Ww=;\n b=iG9cxSr5Ga+sJy/PHLR2V5Pxxj7xbvhBRothEZmdn5xHOo/P5G1auIRJios13xnWQNiQte/pBJtl2mbL7yoiY9Q+HtAdVe4necNLocM1hWVBTUvP4Icc7+m0dRtgTfOSCN3uMKiQUYIP+DRZut3o0bETRM3eFesMalRk/9HouDXb2Vh1YQv5wudS3Y7COVkkoEKauomg2BksMis+LLp8mWijlQrGw/M6Ey0ruNkogSl+SDGfJFa4LKagJQs344ASJ3hiag1wNqLb2X2glpU79OT1zoBBKmcxv4yViMjGEE3FMuqSDsFBt293JnLBq4yZLcbCKVuMO9SzswiRZo2urQ==" ], "ARC-Authentication-Results": [ "i=2; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=valinux.co.jp;\n spf=pass smtp.mailfrom=valinux.co.jp;\n dkim=pass (1024-bit key) header.d=valinux.co.jp header.i=@valinux.co.jp\n header.b=qRIv30yB; arc=fail smtp.client-ip=52.101.229.126", "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=valinux.co.jp; dmarc=pass action=none\n header.from=valinux.co.jp; dkim=pass header.d=valinux.co.jp; arc=none" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=valinux.co.jp;\n s=selector1;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=SV20rzS6aOq11oWT0Z6PKY7PhbZdcxz3qjIj01zC3Ww=;\n b=qRIv30yBo9I9JAsY/CuhOWvaXcosaE1v+I8GYtxrUnnB83NF7IlMrfS8OzDlX/EXknhWoPfGkEWNvclTwuhwWbDDY+Z8HwD7FsRkXcHzlHTOHTPPhLdelw5agIKxlMHbNmyZ/Inhpv6EBwUPZH8qr9gLvFmbEa2sDHaA7oBq6NY=", "From": "Koichiro Den <den@valinux.co.jp>", "To": "vkoul@kernel.org,\n\tmani@kernel.org,\n\tFrank.Li@nxp.com,\n\tcassel@kernel.org,\n\tjingoohan1@gmail.com,\n\tlpieralisi@kernel.org,\n\tkwilczynski@kernel.org,\n\trobh@kernel.org,\n\tbhelgaas@google.com,\n\tkishon@kernel.org,\n\tjdmason@kudzu.us,\n\tallenbh@gmail.com", "Cc": "dmaengine@vger.kernel.org,\n\tlinux-pci@vger.kernel.org,\n\tntb@lists.linux.dev,\n\tlinux-kselftest@vger.kernel.org,\n\tlinux-kernel@vger.kernel.org", "Subject": "[PATCH v5 0/8] PCI: endpoint: pci-ep-msi: Add embedded doorbell\n fallback", "Date": "Mon, 9 Feb 2026 15:29:43 +0900", "Message-ID": "<20260209062952.2049053-1-den@valinux.co.jp>", "X-Mailer": "git-send-email 2.51.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-ClientProxiedBy": "TY4PR01CA0024.jpnprd01.prod.outlook.com\n (2603:1096:405:2bf::18) To TY7P286MB7722.JPNP286.PROD.OUTLOOK.COM\n (2603:1096:405:38f::10)", "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": "TY7P286MB7722:EE_|TYWP286MB1974:EE_", "X-MS-Office365-Filtering-Correlation-Id": "33f43256-9ea0-4be3-2471-08de67a4a618", "X-MS-Exchange-SenderADCheck": "1", "X-MS-Exchange-AntiSpam-Relay": "0", "X-Microsoft-Antispam": "\n\tBCL:0;ARA:13230040|366016|1800799024|10070799003|376014|7416014|921020;", "X-Microsoft-Antispam-Message-Info": "\n m1E6XqbHfwebDFCxFBu7pmjMuFIRzDvavwTADUl4/grHeKIe1KmC8ewxM7O2xeFv/a8F8nq7CACYnK7f9VnWczau7ZhRBYRQnUknNUDglOJkP3+LhFqQIrkQuEvdg5XVXww8pHNuKPyAwsWtTajPPkC1QkMXBtlf/JGlM64rLNr7NOpLCcOHys7QCYVFlkyXn6nAJg+RtxTdrS8dAD/6IwWT/FRuljCIFs8/ox0/GlGrfX/FRJWyjbWvHknhUssL4rBVkacz9XJNcA4nrUBzQZ3ZrL4Hou2wi1q73cWFdJcjjcqdQG+o8oudOMdAJEfIU36CoZXYpOoZT2czZWED2ZxO1csPhBpJrxA/LTQV4+XLoe5e3jG6kujDn2Yf8+d0odXtzYBfJ21wSbsQYjLJQK8tzEwbl/Z9hfb+LoMvSjcGdPwOY16N2Demj6EAhOIqlJOaCiZEh6KmLDg5J8CaIf7m7wxmb+tkSBmMjHLpsfr0KgvIUAhvgMTxZZLlGrcYqX25DM/PPc2mYqR7/pUBb92WyBYE1wKZOMQwYL93z7VTNzT6Pvb78CSvlBWG48C37bnKvf0fMDR3RwZ7fpQEpWP6zrPyI/39qQvDa31Ho2TB59/4BTcJSIeZrgF5fEwD7Llb4W//1yuAxmOrB2nDgUD2szeZgcf8xE/uP0IKx5zajWyt1uFEDLQFr0/k4a5Bh+Sqe4orJwltIUlfzi5o6YK0OPD40JduI0RccDySNEEzEJd2w/C6P74+s8IFDMS5j1jWHPVruWc5Q6D10ujJWKgi0iTgVzXUhaMYg4QHSFNQRUo1dWs4Kh6010masZ8pfa33xmC/f112nZ+XsBDiBE2/3QbaXeOdiHhUahqN6Yel+wT3qecEhgIdDX+us//wSif9PdN2TSv5S9wUG3f6omeLBBSYEVrrpxlWs7QHhb1M2Jg/t9ml9g/2gpgdkyQJIk+8+ZtCQmecKSnqQW8C2GKxAJgs/ud2a9apOkf5V7kGLac091kxvV4h72FWceZiRYEXAgWnXHQ6kpxi5TIik2LIfEZDk06P2KA3S1n3eI2OC2x2RnrkiMSICvC2YXNOrLnicTd8ZcsaFw90bbWJSYxeeb0pkq09uDT/sTFVs32LdIcZG4hvO/EZgpdjVvo0pK+jV6bPM6tR1o0jPR+7+Vyp9MhN10idDFeKFuVqP7vcZVgPjLRDdSse36+266CzGgtMql6ixN6o0Pz2RVIWNQyEmRtYO1otimL1N72TixMCoRqHrS7/2qDRUhoEPGEwHn13rCk3FK9bl5wbtn0fjRxeJ5HipfiShA2CwQVe9aRBZrsKtxEwungmwiRtiOuaiAw81TnRAfkZ+Wrphi3Mh7X80k8u+TjZevxkNN5lYw01ti0q2I6Yx6wG+Na72II1iTTGBclwRu0l1R9LHTSuXNQuwrRC+HrvyeEDVXBf6SjeBuIGy/LiD4U8/MBZebhtyV5Ti7ZuTuLKp3CheFhsbcnlhx4iRxcl+fgmgdbCUyhbXxysXNLnN9i9YPyDcOUTAEuxBx+rBOpCFymfIMYY2JEH/pj9A91a2fjOPr+cjPkmQhcpyzMwahLYA0EPqxBbqVH8vzkq1Fqd9+y/NptggirK+lr+b/qQkYNSsUdah3o=", "X-Forefront-Antispam-Report": "\n\tCIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TY7P286MB7722.JPNP286.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(10070799003)(376014)(7416014)(921020);DIR:OUT;SFP:1102;", "X-MS-Exchange-AntiSpam-MessageData-ChunkCount": "1", "X-MS-Exchange-AntiSpam-MessageData-0": "\n i9TZPSrryyf6lMBbOmtbmPpOWruBgh6qshZJQ+HAFoNjDQNvkJcpS24hy1lQB3oTp6UCCLM1bJud2g9iJfZzmqfr9PrWFSKXytWWhfpuT9Ec1a1fue3EbEYIVghd90VV0JgwYaLvHbdcsbCgxQuU/wheC5T+ZcGHlZVI1MCsBa8GAdJtM1LGM/2N9Q97iao8OzGQ9Z6c5ILmg6/6O2IoyPHgwYLCHvbvCvbLm9j3K88Pvcs5ToQUTvZZRPrS6SbDJyF/hd59K7Va5NpGPVyv7nRkU8+JFQz26Ixvk5mxgagagoLEpvA3nvnIgK9wMFpgiTbwOqkL6H9pBV8e7SkgOU3g8bCxFG52BiSvLJ5GfE0MwRwnO+kO03p2SZt/KIWGOmqjtI+oLzi+7kQV6r5R1sQKoHmGXFQiqASRRkEQGVS3siAInaVEgQJU8Z5MUe8GHQiaOC967EgMYLSKuzUM0NfSGMG9w4vd+vqfHUAzTv4Ttc9t1Kn78G6MdqAsxKuwiNCS22rc2QF4s3NVBs11tEHcy1UdDek1zG+PhWPohRkb0XZ+aNfjcA6tNiz1S4mR3IIpEMATRCS3YpsN/T5fASBTvS82Um+JzlShPuiRd0dZwS5hswrsVjE8Jix/Nkvvnz4h8M3FGH4pJKN93nTwwNoJ2MIv4QC6PH+W/jjTmNb3HVt8YpZrPnZ1hNm9FKGmOoFtGEjuR4eqIrW/RnI/hHf60SuPwTp5/sMHoZTJSEWd3tGeQLNo4Edwr0GGcx+wOTM+FwMAw/qujYcadsLMooT386vuJ0JtB8c8G1goxLh60QWF6KE7r+i6o+lFZf0O8gDDq0EZsTC1m5qKmQzJSAHmncpluHERFUjWnEyTKONpBqPN82CprsK4l4L26tN5wtmTdfWEU8R22MpOmf3oGTLgg6SQDEVmzlMzgMtpDsYZx2WFCi08n/IKQh6WaRSaEjYmOYl893WDGOmcL68O/7TjTpMnRDuOenGY2fyQc0dsoRM5pu4HWv3/ShodD4ByEySWwANDka4T9h1JpwBGJFS9Cs9iwyb6bJosJjoq8FiVkx6uIx7CtkYIDFLMvDgvy/0zDA8MYcwlAbHkP01V+1wgocxeqF4Zd9OH/jXWARrLoimhFEYpd79IV0xHgZrLg3IPxLyEkMsnn4Q0O+JPJoLHlNByC00aJzuIPwT7fxn5pdZaRRS5ZPKcuReTGMnYBzPAzxIhVliOGaMebYvw5ARO2vyJPxyYjyl6PJy4DwLNLoHceI0Pd/CA2cxbgSpIr/aEnDTMjLOXGzIGmzYqXn5TMnS3TLhaBhNJ6jRsMKUlGuKC7s0ms2oMzZ1CGP2aYbpfdi+Bqx/1weEHBFpFs/3M9J7sEaZavz1ZPjcf+STHKxklN+PfeOK0tHD4UsDMvhOXGayQ/A2fZ13ijrYW/8MzDq/xzui4T4bl/qoWGjK3zEna8FxiVcs/lTCJFrtKOAXTA51pE3DAblqZ/bwv+a8PjbaOitNMmNzRfwdsF0ZZLdtZbalvaaSAmurPZLvQXc7E85hDe0KwAsBVfbDvAPgYsUQCzw0VdfeD+sjQ5Qdx8EpNgXddzgx5BXlNBivF+4Du3zhv091BxtuBIcUKoy4MLa+vtfQBQtpBYO5j7bJdicpO3vuUFAkk6lZ0kmoEpjhZuchJbgIYH6Sr2mJU6OrqTREa+fLrSBNzdC79gHviwzJLNIAE/2q6chvr66UWs5WkcER3wECBWwFrzeMR3gLz751oXV6Ns01AUlQ6jKeT3gZNVOWZZhdyKe8SLaOv", "X-OriginatorOrg": "valinux.co.jp", "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 33f43256-9ea0-4be3-2471-08de67a4a618", "X-MS-Exchange-CrossTenant-AuthSource": "TY7P286MB7722.JPNP286.PROD.OUTLOOK.COM", "X-MS-Exchange-CrossTenant-AuthAs": "Internal", "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "09 Feb 2026 06:29:59.3208\n (UTC)", "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted", "X-MS-Exchange-CrossTenant-Id": "7a57bee8-f73d-4c5f-a4f7-d72c91c8c111", "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED", "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n HuZjb63PIVSi5OdqbClzFdjdkH62PLAXtRUIhsgQXHR89Cgzhtb31IS5eR87CeRdWypkaWLeWfHwZAeey4J3pw==", "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "TYWP286MB1974" }, "content": "Hi,\n\nSome DesignWare PCIe endpoint platforms integrate a DesignWare eDMA\ninstance alongside the PCIe controller. In remote eDMA use cases, the host\nneeds access to the eDMA register block and the per-channel linked-list\n(LL) regions via PCIe BARs, while the endpoint may still boot with a\nstandard EP configuration (and may also use dw-edma locally).\n\nThis series focuses on using DesignWare eDMA emulated interrupt doorbell as\na pci-ep-msi fallback, in a generalized manner without exporting any\nDesignWare eDMA-specific API.\n\n * dmaengine:\n\n 1. Add explicit deassert handling for eDMA interrupt emulation in the\n IRQ handler so level-triggered/shared IRQ lines don't remain stuck.\n => Patch 01/08\n\n 2. Cache per-channel IRQ number and an interrupt-emulation doorbell\n register offset, so integrated-controller drivers can expose these\n to EPF users via the auxiliary resource metadata.\n => Patch 02/08\n\n * pci/endpoint:\n\n 1. Add a generic auxiliary resource enumeration API\n (pci_epc_get_aux_resources()) for EPF drivers to discover\n controller-owned resources that can be mapped into BAR space (e.g.\n an integrated DMA MMIO window and per-channel LL regions metadata).\n => Patch 03/08 - 05/08\n\n 2. Add an \"embedded (DMA) doorbell\" fallback to pci_epf_alloc_doorbell()\n (used when platform MSI doorbells are unavailable/unusable), and\n update in-tree users (pci-epf-test, pci-epf-vntb) to request IRQs\n correctly (shared IRQ constraints, required flags).\n => Patch 06/08 - 08/08\n\nNote: As discussed in the v4 thread, v4 Patch 01/09 (dw-edma per-channel\ninterrupt routing control via dma_slave_config.peripheral_config) is\ndropped from this series for now, so the series contains only what's needed\nby the current, concrete consumer.\n\nThis series evolved out of:\nhttps://lore.kernel.org/linux-pci/20260118135440.1958279-1-den@valinux.co.jp/\n\n\nKernel base\n===========\n\nPatches 1-8 cleanly apply to pci.git 'controller/dwc':\nCommit 43d324eeb08c (\"PCI: dwc: Fix missing iATU setup when ECAM is enabled\")\n\n\nTested on\n=========\n\nI tested the embedded (DMA) doorbell fallback path (via pci-epf-test) on\nR-Car Spider boards:\n\n $ ./pci_endpoint_test -t DOORBELL_TEST\n TAP version 13\n 1..1\n # Starting 1 tests from 1 test cases.\n # RUN pcie_ep_doorbell.DOORBELL_TEST ...\n # OK pcie_ep_doorbell.DOORBELL_TEST\n ok 1 pcie_ep_doorbell.DOORBELL_TEST\n # PASSED: 1 / 1 tests passed.\n # Totals: pass:1 fail:0 xfail:0 xpass:0 skip:0 error:0\n\nwith the following message observed on the EP side:\n\n [ 80.464653] pci_epf_test pci_epf_test.0: Using embedded (DMA) doorbell fallback\n\n(Note: for the test to pass on R-Car Spider, one of the following was required:\n - echo 1048576 > functions/pci_epf_test/func1/pci_epf_test.0/bar2_size\n - apply https://lore.kernel.org/all/20251023072217.901888-1-den@valinux.co.jp/)\n\n\nChangelog\n=========\n\n* v4->v5 changes:\n - Change the series subject now that the series has evolved into a\n consumer-driven set focused on the embedded doorbell fallback and its\n in-tree users (epf-test and epf-vntb).\n - Drop [PATCH v4 01/09] (dw-edma per-channel interrupt routing control)\n from this series for now, so the series focuses on what's needed by the\n current consumer (i.e. the doorbell fallback implementation).\n - Replace the v4 embedded-doorbell \"test variant + host/kselftest\n plumbing\" with a generic embedded-doorbell fallback in\n pci_epf_alloc_doorbell(), including exposing required IRQ request flags\n to EPF drivers.\n - Two preparatory fix patches (Patch 6/8 and 7/8) to clean up error\n handling and state management ahead of Patch 8/8.\n - Rename *_get_remote_resource() to *_get_aux_resources() and adjust\n relevant variable namings and kernel docs. Discussion may continue.\n - Rework dw-edma per-channel metadata exposure to cache the needed info\n in dw_edma_chip (IRQ number + emulation doorbell offset) and consume it\n from the DesignWare EPC auxiliary resource provider without calling back\n to dw-edma.\n\n* v3->v4 changes:\n - Drop dma_slave_caps.hw_id and the dmaengine selfirq callback\n registration API. Instead, add a dw-edma specific dw_edma_chan_info()\n helper and extend the EPC remote resource metadata accordingly.\n - Add explicit acking for eDMA interrupt emulation and adjust the\n dw-edma IRQ path for embedded-doorbell usage.\n - Replace the previous EPC API smoke test with an embedded doorbell\n test variant (pci-epf-test + pci_endpoint_test/selftests).\n - Rebase onto pci.git controller/dwc commit 43d324eeb08c.\n\n* v2->v3 changes:\n - Replace DWC-specific helpers with a generic EPC remote resource query API.\n - Add pci-epf-test smoke test and host/kselftest support for the new API.\n - Drop the dw-edma-specific notify-only channel and polling approach\n ([PATCH v2 4/7] and [PATCH v2 5/7]), and rework notification handling\n around a generic dmaengine_(un)register_selfirq() API implemented\n by dw-edma.\n\n* v1->v2 changes:\n - Combine the two previously posted series into a single set (per Frank's\n suggestion). Order dmaengine/dw-edma patches first so hw_id support\n lands before the PCI LL-region helper, which assumes\n dma_slave_caps.hw_id availability.\n\nv4: https://lore.kernel.org/all/20260206172646.1556847-1-den@valinux.co.jp/\nv3: https://lore.kernel.org/all/20260204145440.950609-1-den@valinux.co.jp/\nv2: https://lore.kernel.org/all/20260127033420.3460579-1-den@valinux.co.jp/\nv1: https://lore.kernel.org/dmaengine/20260126073652.3293564-1-den@valinux.co.jp/\n +\n https://lore.kernel.org/linux-pci/20260126071550.3233631-1-den@valinux.co.jp/\n\nThanks for reviewing,\n\n\nKoichiro Den (8):\n dmaengine: dw-edma: Deassert emulated interrupts in the IRQ handler\n dmaengine: dw-edma: Cache per-channel IRQ and emulation doorbell\n offset\n PCI: endpoint: Add auxiliary resource query API\n PCI: dwc: Record integrated eDMA register window\n PCI: dwc: ep: Report integrated eDMA resources via EPC aux-resource\n API\n PCI: endpoint: pci-epf-test: Don't free doorbell IRQ unless requested\n PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc\n PCI: endpoint: pci-ep-msi: Add embedded doorbell fallback\n\n drivers/dma/dw-edma/dw-edma-core.c | 57 ++++++-\n drivers/dma/dw-edma/dw-edma-core.h | 19 +++\n drivers/dma/dw-edma/dw-edma-v0-core.c | 22 +++\n drivers/dma/dw-edma/dw-hdma-v0-core.c | 8 +\n .../pci/controller/dwc/pcie-designware-ep.c | 78 ++++++++++\n drivers/pci/controller/dwc/pcie-designware.c | 4 +\n drivers/pci/controller/dwc/pcie-designware.h | 2 +\n drivers/pci/endpoint/functions/pci-epf-test.c | 38 ++++-\n drivers/pci/endpoint/functions/pci-epf-vntb.c | 3 +-\n drivers/pci/endpoint/pci-ep-msi.c | 141 ++++++++++++++++--\n drivers/pci/endpoint/pci-epc-core.c | 41 +++++\n include/linux/dma/edma.h | 17 +++\n include/linux/pci-epc.h | 46 ++++++\n include/linux/pci-epf.h | 17 ++-\n 14 files changed, 471 insertions(+), 22 deletions(-)" }