Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2229928/?format=api
{ "id": 2229928, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2229928/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/patch/20260428-net-macb-support-for-feature-lite-instances-v1-1-480e4cecac01@nanoxplore.com/", "project": { "id": 18, "url": "http://patchwork.ozlabs.org/api/1.1/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 }, "msgid": "<20260428-net-macb-support-for-feature-lite-instances-v1-1-480e4cecac01@nanoxplore.com>", "date": "2026-04-28T18:04:05", "name": "[1/4] net: macb: include arch/clk.h only when necessary", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "3a5401a4adbef5407bdd3a4ba94196e2ce40bfbf", "submitter": { "id": 93277, "url": "http://patchwork.ozlabs.org/api/1.1/people/93277/?format=api", "name": "Christian DREHER via B4 Relay", "email": "devnull+christian.dreher.nanoxplore.com@kernel.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/uboot/patch/20260428-net-macb-support-for-feature-lite-instances-v1-1-480e4cecac01@nanoxplore.com/mbox/", "series": [ { "id": 501943, "url": "http://patchwork.ozlabs.org/api/1.1/series/501943/?format=api", "web_url": "http://patchwork.ozlabs.org/project/uboot/list/?series=501943", "date": "2026-04-28T18:04:05", "name": "net: macb: support for instances with less features", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/501943/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2229928/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2229928/checks/", "tags": {}, "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\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256\n header.s=k20201202 header.b=aDVV2FRG;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de\n (client-ip=85.214.62.61; helo=phobos.denx.de;\n envelope-from=u-boot-bounces@lists.denx.de; receiver=patchwork.ozlabs.org)", "phobos.denx.de;\n dmarc=pass (p=quarantine dis=none) header.from=kernel.org", "phobos.denx.de;\n spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de", "phobos.denx.de;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=kernel.org header.i=@kernel.org header.b=\"aDVV2FRG\";\n\tdkim-atps=neutral", "phobos.denx.de; dmarc=pass (p=quarantine dis=none)\n header.from=kernel.org", "phobos.denx.de; spf=pass\n smtp.mailfrom=devnull+christian.dreher.nanoxplore.com@kernel.org" ], "Received": [ "from phobos.denx.de (phobos.denx.de [85.214.62.61])\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 4g4wZY68zLz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 08:48:21 +1000 (AEST)", "from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 1FA9484605;\n\tWed, 29 Apr 2026 00:48:17 +0200 (CEST)", "by phobos.denx.de (Postfix, from userid 109)\n id EBE5884686; Tue, 28 Apr 2026 20:04:50 +0200 (CEST)", "from sea.source.kernel.org (sea.source.kernel.org [172.234.252.31])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))\n (No client certificate requested)\n by phobos.denx.de (Postfix) with ESMTPS id 5C86684660\n for <u-boot@lists.denx.de>; Tue, 28 Apr 2026 20:04:48 +0200 (CEST)", "from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58])\n by sea.source.kernel.org (Postfix) with ESMTP id C42CE42CC0;\n Tue, 28 Apr 2026 18:04:46 +0000 (UTC)", "by smtp.kernel.org (Postfix) with ESMTPS id A75FAC2BCB7;\n Tue, 28 Apr 2026 18:04:46 +0000 (UTC)", "from aws-us-west-2-korg-lkml-1.web.codeaurora.org\n (localhost.localdomain [127.0.0.1])\n by smtp.lore.kernel.org (Postfix) with ESMTP id 9711FFF886D;\n Tue, 28 Apr 2026 18:04:46 +0000 (UTC)" ], "X-Spam-Checker-Version": "SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de", "X-Spam-Level": "", "X-Spam-Status": "No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,\n DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,\n RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham\n autolearn_force=no version=3.4.2", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org;\n s=k20201202; t=1777399486;\n bh=dRgrSgO2f1Yy4lxJqzwAl8dmkPypPy9ZCjDRQGhEmAI=;\n h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From;\n b=aDVV2FRGk+INaHIRPq9t3qpxVO8M7gcs6BHDxdmJ9VF2qSOvUb1qhvqtOO3C/8oro\n 0UR+9mCRZ7HFwy8hMaWGxE/PQIINCQMNZF99yhLCb9gLrn260u0GdK0Xf2ayOunM9m\n lNExSAOBVRF3gor5041grxqwoJXLXexhz5jYlcBgJeFO/YbhX2ixAq/7ROgLVBkCql\n 615ziUUu+BnsKyj5EQJ7iaSQb7wqZuphMJstaX6WoMXgrigTPd28ocBdDNn7g5w6Jf\n +kDrYySS9FGyrIEI2ASEdzKfw2ypy/ev9jcig7An2ytEWaf+GTZ373woRATdWqkVFo\n 8yXdanHa5navA==", "From": "Christian DREHER via B4 Relay\n <devnull+christian.dreher.nanoxplore.com@kernel.org>", "Date": "Tue, 28 Apr 2026 20:04:05 +0200", "Subject": "[PATCH 1/4] net: macb: include arch/clk.h only when necessary", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=\"utf-8\"", "Content-Transfer-Encoding": "7bit", "Message-Id": "\n <20260428-net-macb-support-for-feature-lite-instances-v1-1-480e4cecac01@nanoxplore.com>", "References": "\n <20260428-net-macb-support-for-feature-lite-instances-v1-0-480e4cecac01@nanoxplore.com>", "In-Reply-To": "\n <20260428-net-macb-support-for-feature-lite-instances-v1-0-480e4cecac01@nanoxplore.com>", "To": "u-boot@lists.denx.de", "Cc": "Jerome Forissier <jerome.forissier@arm.com>,\n Tom Rini <trini@konsulko.com>,\n Christian DREHER <christian.dreher@nanoxplore.com>", "X-Mailer": "b4 0.15.2", "X-Developer-Signature": "v=1; a=ed25519-sha256; t=1777399485; l=896;\n i=christian.dreher@nanoxplore.com; s=20260428; h=from:subject:message-id;\n bh=9046TvejUO8RMUiT/+l/BjcleTvgUspN77fLbvIWyHo=;\n b=IJSfQyXJkvFnkIH0kzd8+4ie2ynOFlSgadn4sk02V71eP1p+VdyA8GxJDBJOTwAXV8xouGNlL\n YpB8/00lMe5ATSuuI1fBh4kzC9S8b2DN/3O3GJTw7FdZX1/M1mKwmbH", "X-Developer-Key": "i=christian.dreher@nanoxplore.com; a=ed25519;\n pk=id7EcKmXLV2xNgNiCIcsPjkoMQHM/qxTYqEqMhidSAU=", "X-Endpoint-Received": "by B4 Relay for\n christian.dreher@nanoxplore.com/20260428 with auth_id=760", "X-Original-From": "Christian DREHER <christian.dreher@nanoxplore.com>", "X-Mailman-Approved-At": "Wed, 29 Apr 2026 00:48:15 +0200", "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>", "Reply-To": "christian.dreher@nanoxplore.com", "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: Christian DREHER <christian.dreher@nanoxplore.com>\n\nIt does not exist in my setup (an on-going arm64 SoC), and removing\nit does not cause any missing declaration, but some code called when\nCONFIG_CLK is missing calls get_macb_pclk_rate, which is only defined\nin arch/arm/mach-at91/include/mach/clk.h\n\nSigned-off-by: Christian DREHER <christian.dreher@nanoxplore.com>\n---\n drivers/net/macb.c | 6 +++++-\n 1 file changed, 5 insertions(+), 1 deletion(-)", "diff": "diff --git a/drivers/net/macb.c b/drivers/net/macb.c\nindex cbf5f605518..719aef39a3f 100644\n--- a/drivers/net/macb.c\n+++ b/drivers/net/macb.c\n@@ -38,9 +38,13 @@\n #include <linux/mii.h>\n #include <asm/io.h>\n #include <linux/dma-mapping.h>\n-#include <asm/arch/clk.h>\n #include <linux/errno.h>\n \n+/* Without CLK, we rely on the arch definition */\n+#if !defined(CONFIG_CLK)\n+#include <asm/arch/clk.h>\n+#endif\n+\n #include \"macb.h\"\n \n DECLARE_GLOBAL_DATA_PTR;\n", "prefixes": [ "1/4" ] }