Article View: linux.kernel.netdev
Article #14899[PATCH net v2 00/12] net: au1000: Bug fixes
From: Florian Fainelli
Date: Thu, 12 Nov 2026 04:52
Date: Thu, 12 Nov 2026 04:52
56 lines
13740 bytes
13740 bytes
This patch series contains bug fixes that were found during code inspection and also during fixing the open/close/open issue that was met on the MTX-1 platform. These patches were tested on a Meshcube MTX-1 board using targeted tests to ensure the multicast and open/close/open bugs were fixed. Changes since v1: • Rebased onto current net and added the Alchemy PROM Ethernet-address lifetime fix needed to boot MTX-1. • Reset the MAC after PHY/MDIO teardown, since final MDIO accesses can re-enable it. Avoid accessing MAC control registers when its clock is already disabled. • Use sleepable polling for MDIO write completion instead of millisecond busy-waits. • Correct TX reclaim ordering by advancing tx_tail when submission reclaims a completed descriptor. Consume transmitted skbs outside the lock using an IRQ-safe helper. • Restore receive filtering before enabling RX, holding the address-list and device locks to keep the programmed filter consistent. • Rework startup ordering to resume the PHY synchronously, initialize the MAC, then start the PHY state machine. Clear cached link state on open and use acknowledged link/duplex state under the device lock. • Move the LAN83C183 recovery-delay patch before the MAC/PHY sequencing change. • Add a TX length check to prevent oversized packets from overflowing the DMA bounce buffer. Rebuilt the kernel and root filesystem and regression-tested on MTX-1. All 11 boot-smoke checks passed, including 15 down/up cycles across normal, promiscuous and all-multicast modes, opened/closed and never-opened removal/rebind, and connectivity recovery. No kernel warnings or errors were detected. Florian Fainelli (12): net: au1000: recycle RX descriptors on allocation failure net: au1000: clear all-multicast mode when restoring hash filtering net: au1000: disconnect the PHY before freeing the MDIO bus net: au1000: report MDIO transaction timeouts net: au1000: serialize TX completion with packet submission net: au1000: assign a valid MAC address without platform data net: au1000: fix buffer descriptor free list insertion net: au1000: restore receive filtering before enabling RX net: au1000: restore RX buffer addresses when restarting the MAC net: phy: smsc: wait for LAN83C183 power-down recovery net: au1000: keep the MAC stopped until the PHY link is ready net: au1000: reject frames larger than the TX bounce buffer drivers/net/ethernet/amd/au1000_eth.c | 140 ++++++++++++++++++++------ drivers/net/phy/Kconfig | 2 +- drivers/net/phy/smsc.c | 26 +++++ 3 files changed, 134 insertions(+), 34 deletions(-) -- 2.53.0
Technical Details
Message-ID:
<20261112045301.3669532-1-f.fainelli@gmail.com>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361506-linux-kernel-netdev=dewy.ruShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-361506-linux-kernel-netdev=dewy.ru
From: f.fainelli@gmail.com (Florian Fainelli)
Newsgroups: linux.kernel.netdev
Subject: [PATCH net v2 00/12] net: au1000: Bug fixes
Date: Wed, 11 Nov 2026 20:52:42 -0800
Organization: Usenet Network
Message-ID: <20261112045301.3669532-1-f.fainelli@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
logging-data="1015181"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:NwWbI2FZqZtWic8sjYXrL9GfM3M= sha256:Dl4UDxvuoZhpSBOziOEzAj1KJ7NlDn83r+8uuSbOXOA=
sha1:T7cnGC/CV2DwvGnyIr6oN1p+Seo= sha256:0x3/1UYuZglq450MRX3sZuqG6pfCUFvAU+MZaT2nG58=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 0DAD211410C; Thu, 12 Nov 2026 08:13:34 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id JFLW9z8J4ilV;
Thu, 12 Nov 2026 08:13:26 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-361506-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 418951140EA; Thu, 12 Nov 2026 08:13:17 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sea.lore.kernel.org (Postfix) with ESMTP id EB8BEC66C4; Thu, 12 Nov 2026 04:53:18 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794459197;
b=1UtZK/Vaswaumo4aKFcTUSqglGX5j9tTTk0AKHynvDj+ODKi2g4+IyB+RwUo1GEo6WfM
YjUT5ud1gD4DYRpKGEq/rWPvaz3L/FdhIhw0OhIJu05tmFL9CkITdaLomDrJYbiloQWGH
Vmo/o004pzP1rU0mdOTOJasKPcDywyWIo8JPRuhwAt2FOWhoZrnn2TEWos8f7QRayA9JR
H6HYUDfnzulkNpHPbU7FIx0+I/eLW9OzUwQiGzBXDgf8n1DiEGYRJA/jhOlpfwAj1mjHH
vVGzMMi6CjqkluFSJN/0mnT11DdJouxUCD0eTYf0zVib5WX1g0VCplgT7UAhCjEdk3w==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794459197;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Gm-Message-State:X-Gm-Gg:X-Received:
Received:From:To:Cc:Subject:Date:Message-ID:X-Mailer:X-Mailing-List:
List-Id:List-Post:List-Help:List-Subscribe:List-Unsubscribe:
List-Owner:Precedence:MIME-Version:Content-Type:
Content-Transfer-Encoding;
bh=okVYeTchHlDUEjmkDX7ZVgbGf0M4gnLDhPB3TlMpvoc=;
b=sZhyIdxw+vCiUpVJP8ZTmz0/Ixl2EIjwl0kgqi9ED0ZJgH+hRiF/giSFmeqmnhqaxHvg
kLVJg0iKljzstk7qoPhQSFaPQ6fmbvZ4Tox3t6dAxAoEVG6bnUxqmsi9zqc7Qsj3IeSO6
CXj4a+jGHUPdYHzps+uIF9lLExTJ3Zhdbz3jA7E4B9fNmH45YobdxdASSTxVrRMiMcEI1
91oHilNFA100cbtSt41/LluPuKPD9W/maFUr7D5vA/FWRyw4Skud/OoIeG/Es4ZqLN5rc
UeiLK2E0sAmPJX4WPc8BSuZpPVsvcAJfCOf0pxV9FdkTGeRehTt29HFHaHcsK1Vo5wA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=SVtxpz89;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 7F676606A331;
Thu, 12 Nov 2026 04:53:17 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=SVtxpz89
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.82.182
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
t=1794459196;
b=5gysVUfX8u/iLeyCAMSTDjxbTvXXWzG2wIvzFShFBMTUI9WQSxTqrxDxE98bwiVK8yAC
h9UKv13Uen/0f4NwSU8CPCPyHjWiWkTY2DVBv1hqfxtJ9sRfdvVxEwusdQ9moJjXYbKHm
l/mMvmer99P0qDMqzRhbsKaYth/Cajfwm6C8ooGxz+Hb5xOBV4LUzPLJnDnjTSCW5LYfc
d482a7fwzRNFR2WL2KrvmTlpcpO/ygCr3+ucOJ47HneTpcUFtYP+VLz537zPP32recgGb
+5+1wdT/oD3Shrpumd39ePeUoSw6sPEEXATR9dmDeXtvNYUDA3fWNY1kISLL1p2gJbQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794459196;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject:
Date:Message-ID:X-Mailer:MIME-Version:Content-Type:
Content-Transfer-Encoding;
bh=okVYeTchHlDUEjmkDX7ZVgbGf0M4gnLDhPB3TlMpvoc=;
b=Asn9XYaPc6uaE/5cNRl0F4JUPIOVkTSy/YAhNzBH+ms4foTamvnEaRCoAHZAyN1XOItx
GenQZ+8fNLDBfKfJHRN2rXB9qT1fIM0VORPwSHTEI42sXtDAKQWVq/dGUsQkgNsHSJN9I
FLjBSgEfE1BF46qRxz5al61rAOHMNx89D5WDp4hPTSomh3axywZUljZfIVq/On7553UTM
+s1wRohz1Y97p9c86/yr+4EyvSeeJ24vRV0SODXwLwaT91q0o8VOPB0Sih9tNqXwyuiTV
uafoUDUbIrDRRJD67RO5MlmlcwgfguQztnAIHWDSRGsawsTsvktrJqk3wQZ9SvB9Q/A==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org;
dmarc=pass header.from=gmail.com;
spf=pass smtp.mailfrom=gmail.com;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=SVtxpz89;
arc=none smtp.remote-ip=74.125.82.182
X-Received: from mail-dy1-f182.google.com (mail-dy1-f182.google.com [74.125.82.182])
(using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256)
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CF02606A321
for <netdev@vger.kernel.org>; Thu, 12 Nov 2026 04:53:16 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 4CF02606A321
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-dy1-f182.google.com with SMTP id 5a478bee46e88-3720addb068so6928771eec.1
for <netdev@vger.kernel.org>; Wed, 11 Nov 2026 20:53:16 -0800 (PST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794459195; x=1795063995; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:mime-version:message-id:date
:subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=okVYeTchHlDUEjmkDX7ZVgbGf0M4gnLDhPB3TlMpvoc=;
b=SVtxpz89LpCz0Tgds0uaXOB3UJsHC+opDCR1WU5CKGLUSqG/R+coHloRScN84FEcLb
TTPo92+QufxonZ70vN7wfefkyasmRUa/OtzzFwcOZ4azOWHCdIXfYeJZEr7LbXQ8+vGS
WqzqFm+n77qI6PmNcic9xu8XTPFdX2xV/o0aI2zn3BSv/n4OMJUQhGGxOPkZQLtTuoFf
M/MZtcvCwqr1ji2MBvBFEq6S1K17WNR7YXIBMxizwQG53avfW9LTLatdiARXjgwWKXMp
v8TpOdqGH7fzLRHTCpoQg++NPK9TTmVH2iFsqqpxBdtE3et71pQEIeKr8aEg4fUUCqB+
NTcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794459195; x=1795063995;
h=content-transfer-encoding:content-type:mime-version:message-id:date
:subject:cc:to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=okVYeTchHlDUEjmkDX7ZVgbGf0M4gnLDhPB3TlMpvoc=;
b=me61O+GzqbA5czuXgVN087fvmnlbAp4lmU/2NaJwdeSosov76MgMMIXkbzyRSit7V8
4QFFZD4oIA65z20OkgIvxcaa/hG9BNT9SY1Qb12isnoq4kZCulv8bO8WzPa7xwn07N0w
DIAkj2CJW9KtK1yvrZESoA/+GMXUO466oZ1yO1mdnmW9/ep0YS67rjT9MC6g73fYdd4A
MqdiI67VbZsx/02OEPUfp55bFHs6UkAs0UsRK1ZTPAwgauq8SIlnP04l/ALsqOtsdks9
1Jw2hXZTaGxO7W8S1mYUzrMx3nVk+IxVm9ErbQfzNlLtwBId/XJPtlrfzN2VTRR22tci
ypnw==
X-Gm-Message-State: APuU4Z9VtP6YeiD0A3/TpPI/2gOtjbX6H9w7WGi8rcQwtFOyTjxsh2+k
ehd1QGBbbZJZOdnjZpYZzg+s2NsVprC+UWXkowZCTcww3pjuv5YnqTj9Iyzbyw==
X-Gm-Gg: AYBFou2NaRkFD4rYGS/W6dZ3+GDalMRxgd6z2VuDnioLK+EmHWzy6W4WIt+3NxDPoxP
YkjhPgqfEp5DJCP4VD3hs1e/H0Wjns/SdOR0w50r8pKbfIr76MmaliVXx30+quwp1ef1ZO44P5r
ZGChiVOvZ1ceM0T47ZoIbY66pgrtl0X03gHniR7oXKj/eqhNQng8APDBDUNPIHVnmXoJq4m6cre
3RcORcQsEDKpIeljU/Bupef7sffq6g6XZDBO6ovZV5L4x8NHGs7ZZ5/V0rK0zNRiExAqhm9N22n
ZKst37AQ3cuUl40Fv75j3sNRPwMYf4ANR15HSmpAXtiStUUEMWP1JtA9VvMH0evP3f07n6djcOF
II+z3hCbsH8fN/UG9NzB4FBK9np5wl743a5Vc0xxTClyCBWJfrR23XJiOtLxBHlAj0hjLykHhJk
kUSqNIKLHCtl0dVGH4HgD8vNtQaIdX5lmsMx+CrVoFGShvWTW6OhyNTZKbg5mNLVlE0EdAT1Hv/
ZD9csXYR1CMLEGDhBUgFl5rfSidzJCpaB5cCiJXnwxoR8HJwApU4Dy22ZnHSZrGcxhrlhzCSa8W
55aHoQ30
X-Received: by 2002:a05:693c:40c7:b0:36a:15ee:c20e with SMTP id 5a478bee46e88-37686755924mr5584133eec.33.1794459195125;
Wed, 11 Nov 2026 20:53:15 -0800 (PST)
X-Received: from eldorado ([2600:8802:b00:1f88::287])
by smtp.gmail.com with ESMTPSA id 5a478bee46e88-37520cfdfc6sm23921585eec.17.2026.11.11.20.53.12
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Wed, 11 Nov 2026 20:53:13 -0800 (PST)
X-Cc: Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>,
Paolo Abeni <pabeni@redhat.com>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Jijie Shao <shaojijie@huawei.com>,
Simon Horman <horms@kernel.org>,
Runyu Xiao <runyu.xiao@seu.edu.cn>,
David Yang <mmyangfl@gmail.com>,
Herbert Valerio Riedel <hvr@gnu.org>,
Jeff Garzik <jeff@garzik.org>,
Danny Kukawka <danny.kukawka@bisect.de>,
Mugunthan V N <mugunthanvnm@ti.com>,
Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>,
linux-kernel@vger.kernel.org (open list),
Manuel Lauss <manuel.lauss@gmail.com>
X-Mailer: git-send-email 2.53.0
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list