{"id":2229929,"url":"http://patchwork.ozlabs.org/api/1.1/covers/2229929/?format=json","web_url":"http://patchwork.ozlabs.org/project/uboot/cover/20260428-net-macb-support-for-feature-lite-instances-v1-0-480e4cecac01@nanoxplore.com/","project":{"id":18,"url":"http://patchwork.ozlabs.org/api/1.1/projects/18/?format=json","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-0-480e4cecac01@nanoxplore.com>","date":"2026-04-28T18:04:04","name":"[0/4] net: macb: support for instances with less features","submitter":{"id":93277,"url":"http://patchwork.ozlabs.org/api/1.1/people/93277/?format=json","name":"Christian DREHER via B4 Relay","email":"devnull+christian.dreher.nanoxplore.com@kernel.org"},"mbox":"http://patchwork.ozlabs.org/project/uboot/cover/20260428-net-macb-support-for-feature-lite-instances-v1-0-480e4cecac01@nanoxplore.com/mbox/","series":[{"id":501943,"url":"http://patchwork.ozlabs.org/api/1.1/series/501943/?format=json","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/covers/2229929/comments/","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=nj5c5lId;\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=\"nj5c5lId\";\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)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g4wZh4t8bz1yHv\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 08:48:28 +1000 (AEST)","from h2850616.stratoserver.net (localhost [IPv6:::1])\n\tby phobos.denx.de (Postfix) with ESMTP id 63A6E846AC;\n\tWed, 29 Apr 2026 00:48:17 +0200 (CEST)","by phobos.denx.de (Postfix, from userid 109)\n id 6ADBA84660; Tue, 28 Apr 2026 20:04:51 +0200 (CEST)","from tor.source.kernel.org (tor.source.kernel.org [172.105.4.254])\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 137E58465E\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 tor.source.kernel.org (Postfix) with ESMTP id D5A0D6111B;\n Tue, 28 Apr 2026 18:04:46 +0000 (UTC)","by smtp.kernel.org (Postfix) with ESMTPS id 8B837C2BCAF;\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 831F2FF885A;\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=kM8wEbUbzNCx6ta+YFar0b1xB7KC0IbGPQ6eZ7DKkpc=;\n h=From:Subject:Date:To:Cc:Reply-To:From;\n b=nj5c5lIdOJWPtM+l+qhjCoiyKmN4Fu+g/UVdz9AXCD+Kr+fSFTjTiJpAfA2QAYN01\n RoO1oKnPkQdk1HjNBpfRhAgUg/yHTqnyokoOQmtx7EYA9GdEmHnb4EwsWqJtJH6RkE\n wmm3IrybDLtbwvCRc/iu6JGjueie9iuVPIi7SkzeMz9wr50YygC4a+R4AymuHUqIkv\n OJ/AbmAzx+qlYmmTPtunEF35H3BkdP3iTretaLKLWfp1mIDjihHt6QLd2RRu/Z1mop\n 10w7VKA7jXFjVaSrOz5RHvzofXg9QVtg4Pg+Rc6zn3IRFh5MShxxp9G0OHJrKc6KAV\n xLAHVluMqXUcA==","From":"Christian DREHER via B4 Relay\n <devnull+christian.dreher.nanoxplore.com@kernel.org>","Subject":"[PATCH 0/4] net: macb: support for instances with less features","Date":"Tue, 28 Apr 2026 20:04:04 +0200","Message-Id":"\n <20260428-net-macb-support-for-feature-lite-instances-v1-0-480e4cecac01@nanoxplore.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=\"utf-8\"","Content-Transfer-Encoding":"7bit","X-B4-Tracking":"v=1; b=H4sIAJX28GkC/yXNQQoCMQyF4asMWRuoRWbEq4iLtpNqRNshSUUY5\n u5WXX6L9/4VlIRJ4TSsIPRi5Vo69rsB0i2UKyHP3eCdH93BH7GQ4TOkiNqWpYphroKZgjUhfLD\n 1QVELJZFijm5yU4xh9iP0x0Uo8/tXO1/+1hbvlOybgG37AL3UBwmPAAAA","X-Change-ID":"20260428-net-macb-support-for-feature-lite-instances-fb0707bbad26","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=1844;\n i=christian.dreher@nanoxplore.com; s=20260428; h=from:subject:message-id;\n bh=kM8wEbUbzNCx6ta+YFar0b1xB7KC0IbGPQ6eZ7DKkpc=;\n b=OzfefxG4/r3rjF54HopPKQrV/2b1GgLUuoiJE56xPkknBqmY5Yn8jdUxmazRwTSdEP+X2xfon\n H7MYbKgPLzoAr0OuFwb0thujVXZmu4DmYii6P0GrOrwSFg3HpSUSnqJ","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":"Hi,\n\nI am updating the macb driver to use it on a new SoC with a Cadence\nGEM (IP7014). The GEM is instantiated with a different setup than the\nones in the Atmel family, and this patchset allows the driver to run\non this other configuration, with no significant change of behavior\non already supported platforms. (The support of the SoC itself will\nnot reach the mailing-list before months).\n\nThis patchset was tested on emulator, with a RGMII fixed-link, by\npinging a remote host (an actual computer, connected to the emulator\nand running Linux). The test produced an ARP request/answer followed\nby a successful ICMP request/answer, using the legacy IP stack in\nu-boot.\n\nThe patchset was developed and tested on top of U-boot v2026.1\n\nIt was not tested for non-regression on previous hardware, since I do\nnot own any.\n\nThis patchset\n* Remove a build issue when the mach does not have its own clk.h\n* Uses MAC filter 1 instead of 3, for GEMs without 3 filters\n* Does not set the user_io register on GEMs that do not have one\n* Add fixed-link for Gigabit (added for test purpose, may be dropped)\n\nThanks,\nChristian\n\nSigned-off-by: Christian DREHER <christian.dreher@nanoxplore.com>\n---\nChristian DREHER (4):\n      net: macb: include arch/clk.h only when necessary\n      net: macb: use SA1 for MAC filtering on GEM\n      net: macb: do not set user_io when it does not exist\n      net: macb: add gigabit implementation for fixed-link\n\n drivers/net/macb.c | 94 ++++++++++++++++++++++++++++++++++++++++--------------\n drivers/net/macb.h |  2 ++\n 2 files changed, 72 insertions(+), 24 deletions(-)\n---\nbase-commit: 4433253ecf2041f9362a763bb6cb79960921ac7e\nchange-id: 20260428-net-macb-support-for-feature-lite-instances-fb0707bbad26\n\nBest regards,\n--  \nChristian DREHER <christian.dreher@nanoxplore.com>"}