Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2235127/?format=api
{ "id": 2235127, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2235127/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260508154239.1E16368BFE@verein.lst.de/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.2/projects/18/?format=api", "name": "U-Boot", "link_name": "uboot", "list_id": "u-boot.lists.denx.de", "list_email": "u-boot@lists.denx.de", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260508154239.1E16368BFE@verein.lst.de>", "list_archive_url": null, "date": "2026-05-08T15:42:39", "name": "[1/3] core: Skip parent device nodes without a DT reference when looking for dma-ranges", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "6c91fb714df2b4271888d24c31c896f1ddb271a7", "submitter": { "id": 2722, "url": "http://patchwork.ozlabs.org/api/1.2/people/2722/?format=api", "name": "Torsten Duwe", "email": "duwe@lst.de" }, "delegate": { "id": 84350, "url": "http://patchwork.ozlabs.org/api/1.2/users/84350/?format=api", "username": "narmstrong", "first_name": "Neil", "last_name": "Armstrong", "email": "narmstrong@baylibre.com" }, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260508154239.1E16368BFE@verein.lst.de/mbox/", "series": [ { "id": 503410, "url": "http://patchwork.ozlabs.org/api/1.2/series/503410/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=503410", "date": "2026-05-08T15:41:08", "name": "Fix NVMe, not only on Raspberry Pi 5", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/503410/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2235127/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2235127/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<u-boot-bounces@lists.denx.de>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=lst.de", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n dmarc=fail (p=none dis=none) header.from=lst.de", "phobos.denx.de; spf=pass smtp.mailfrom=duwe@lst.de" ], "Received": [ "from phobos.denx.de (phobos.denx.de\n [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4gBtfs4h1dz1yKm\n\tfor <incoming@patchwork.ozlabs.org>; Sat, 09 May 2026 01:42:45 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 8CBB084D5A;\n\tFri, 8 May 2026 17:42:43 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id 757A184D64; Fri, 8 May 2026 17:42:42 +0200 (CEST)", "from verein.lst.de (verein.lst.de [213.95.11.211])\n (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5DC6684D2F\n for <u-boot@lists.denx.de>; Fri, 8 May 2026 17:42:40 +0200 (CEST)", "by verein.lst.de (Postfix, from userid 2005)\n id 1E16368BFE; Fri, 8 May 2026 17:42:39 +0200 (CEST)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-1.9 required=5.0 tests=BAYES_00,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "To": "Simon Glass <sjg@chromium.org>", "Cc": "=?unknown-8bit?q?Peter_Robinson_=3Cpbrobinson=40gmail=2Ecom=3E=2C_Matthi?=\n\t=?unknown-8bit?q?as_Brugger_=3Cmbrugger=40suse=2Ecom=3E=2C?=\n\t=?unknown-8bit?q?_Bin_Meng_=3Cbmeng=2Ecn=40gmail=2Ecom=3E=2C_Andrew_Goodbody?=\n\t=?unknown-8bit?q?_=3Candrew=2Egoodbody=40linaro=2Eorg=3E=2C?=\n\t=?unknown-8bit?q?_Tom_Rini_=3Ctrini=40konsulko=2Ecom=3E=2C_Andrea_della_Port?=\n\t=?unknown-8bit?q?a_=3Candrea=2Eporta=40suse=2Ecom=3E=2C?=\n\t=?unknown-8bit?b?IE5laWwgQXJtc3Ryb25nIDxuZWlsLmFybXN0cm9uZ0BsaW5hcm8ub3Jn?=\n\t=?unknown-8bit?b?PiwgIkphbiDEjGVybcOhayIgPHNhaXJvbkBzYWlyb24uY3o+LA==?=\n\t=?unknown-8bit?q?_u-boot=40lists=2Edenx=2Ede?=", "Subject": "[PATCH 1/3] core: Skip parent device nodes without a DT reference\n when looking for dma-ranges", "In-Reply-To": "<20260508154108.336B968BEB@verein.lst.de>", "References": "<20260508154108.336B968BEB@verein.lst.de>", "Message-Id": "<20260508154239.1E16368BFE@verein.lst.de>", "Date": "Fri, 8 May 2026 17:42:39 +0200 (CEST)", "From": "duwe@lst.de (Torsten Duwe)", "X-BeenThere": "u-boot@lists.denx.de", "X-Mailman-Version": "2.1.39", "Precedence": "list", "List-Id": "U-Boot discussion <u-boot.lists.denx.de>", "List-Unsubscribe": "<https://lists.denx.de/options/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=unsubscribe>", "List-Archive": "<https://lists.denx.de/pipermail/u-boot/>", "List-Post": "<mailto:u-boot@lists.denx.de>", "List-Help": "<mailto:u-boot-request@lists.denx.de?subject=help>", "List-Subscribe": "<https://lists.denx.de/listinfo/u-boot>,\n <mailto:u-boot-request@lists.denx.de?subject=subscribe>", "Errors-To": "u-boot-bounces@lists.denx.de", "Sender": "\"U-Boot\" <u-boot-bounces@lists.denx.de>", "X-Virus-Scanned": "clamav-milter 0.103.8 at phobos.denx.de", "X-Virus-Status": "Clean" }, "content": "From: Torsten Duwe <duwe@suse.de>\n\nIf a device node got created dynamically, there is no guarantee that the\nparent node has an associated device tree node which could specify dma\nconstraints. Especially PCI(e) enumeration adds intermediate \"bus nodes\",\nalso dynamically.\n\nTry harder to find the correct configuration by walking up the tree until\na DT association is found.\n\nSuggested-by: Neil Armstrong <neil.armstrong@linaro.org>\nSigned-off-by: Torsten Duwe <duwe@suse.de>\n\n---\n drivers/core/device.c | 14 +++++++++++++-\n 1 file changed, 13 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/core/device.c b/drivers/core/device.c\nindex 779f371b9d5..9de64dbb3c5 100644\n--- a/drivers/core/device.c\n+++ b/drivers/core/device.c\n@@ -459,7 +459,19 @@ static int device_get_dma_constraints(struct udevice *dev)\n \tu64 size = 0;\n \tint ret;\n \n-\tif (!CONFIG_IS_ENABLED(DM_DMA) || !parent || !dev_has_ofnode(parent))\n+\tif (!CONFIG_IS_ENABLED(DM_DMA) || !parent)\n+\t\treturn 0;\n+\n+\t/* Look for the first node in the parent chain */\n+\twhile (parent) {\n+\t\tif (dev_has_ofnode(parent))\n+\t\t\tbreak;\n+\n+\t\tparent = dev_get_parent(parent);\n+\t}\n+\n+\t/* No parents have a node, bail out */\n+\tif (!parent)\n \t\treturn 0;\n \n \t/*\n", "prefixes": [ "1/3" ] }