Article View: linux.kernel.netdev
Article #16163Re: [PATCH net 0/2] net: usb: smsc95xx: propagate MDIO errors
From: Artem Novak
Date: Sat, 14 Nov 2026 05:18
Date: Sat, 14 Nov 2026 05:18
44 lines
13800 bytes
13800 bytes
Hi, The issue was discovered after a kernel panic on my Raspberry Pi server. I investigated the failure by inspecting the BCM2835 SDHOST driver's DMA preparation and PIO fallback paths. This led me to identify that when DMA mapping or descriptor preparation fails, the final scatterlist entry remains shortened after space has been reserved for FIFO drain words. The request then falls back to PIO with a modified scatterlist. The patch restores the original scatterlist length and clears the drain word count before returning to the fallback path. Thanks, Artem On Fri, Nov 13, 2026 at 11:12 PM <netdev-bot+sinfo@kernel.org> wrote: > > Hi! > > This is an automated message. This series looks like a fix, but its > commit messages seem to be missing some information: > > - How the issue was discovered, e.g. hit in production, hit during > development, syzbot report, manual code inspection, LLM or static > analysis tool scan. > > - Whether the issue was actually triggered, or is only theoretical > (e.g. found by LLM and not proven at runtime). If it was triggered > please include the symptoms, like the stack trace or kernel messages. > > Please do not repost the series just to address the above. Instead, > reply to this email with the missing information, so that reviewers > can take it into account. > > *IMPORTANT*: If you do repost (for other reasons) - please include > the relevant info in the cover letter or commit messages. > -- > The evaluation is done by an LLM so it may be wrong, if you think > that is the case please reply and explain.
Technical Details
Message-ID:
<CAPufuha49_gkJxbLYrc=3OtbeFd6MMUSuuxEznDBnA+hDTOfJQ@mail.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-363103-linux-kernel-netdev=dewy.ruReferences:
<20261114050954.275495-1-artem122novak@gmail.com> <179463314815.2168702.3601648779918603836@kernel.org>Show 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-363103-linux-kernel-netdev=dewy.ru
From: artem122novak@gmail.com (Artem Novak)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net 0/2] net: usb: smsc95xx: propagate MDIO errors
Date: Fri, 13 Nov 2026 23:18:25 -0600
Organization: Usenet Network
Message-ID: <CAPufuha49_gkJxbLYrc=3OtbeFd6MMUSuuxEznDBnA+hDTOfJQ@mail.gmail.com>
References: <20261114050954.275495-1-artem122novak@gmail.com> <179463314815.2168702.3601648779918603836@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
logging-data="1513564"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:1+AuQ3TZaOa+VStQFPXtsiTNGbM= sha256:6sKAT2AzkUmnBLic1fLlMbGTIyFS3IB3cjK+WQJl2ug=
sha1:fMae6J+pIXrixb480BF+JsHvUkw= sha256:So0YTjmQvSfIerDLZMnSdfeHKsAJc7/BTbY9293xeAU=
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 A175A114616; Sat, 14 Nov 2026 08:19:03 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.149
X-Spam-Status: No, score=-3.149 tagged_above=-9999 required=6.31
tests=[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 XwheWy6-Ee_8;
Sat, 14 Nov 2026 08:19:00 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-363103-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
by mail.dewy.ru (Postfix) with ESMTPS id 390D8114769; Sat, 14 Nov 2026 08:18:50 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
by sto.lore.kernel.org (Postfix) with ESMTP id 2ACF4615D79; Sat, 14 Nov 2026 05:18:40 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794633518;
b=4XmHoYoWjtaKdL32KWYH/DLrqFq94WCZIbbMXmaC5+cuXbY7MzbyCZKYIuJrxDdIXwYC
eJQBVy5J7/jvu052SKH8I/ufYZ2OnL5GYk9IzrQdMMJ9Tc/5sgDh6AvY9q4b6IBVdkN5q
nBuPLYuvh25PluF0PPOiH+9an3xB6EKJWMipF3lxJEq2TJzgdF9EMXz5r5Lgmcizmxcf+
axE9IzpI3Yz4G3cguqNsKJTVJXDyIRcBmY6OAPCTsgD/RgmBRHS+VwdpvcpAZRvwyOf2/
aYXW0q3MdPSohP+LlGPcLc62HeqxaICufk8l9n0vCGDoyH51wWQ4HYrvekwAitUKovQ==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794633518;
h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature:
X-Google-DKIM-Signature:X-Forwarded-Encrypted:X-Gm-Message-State:
X-Gm-Gg:X-Received:X-Mailing-List:List-Id:List-Post:List-Help:
List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
References:In-Reply-To:From:Date:X-Gm-Features:Message-ID:Subject:To:
Cc:Content-Type:Content-Transfer-Encoding;
bh=QZepFGhbJzlLfvq9xOUY5XlSYHu4zw+0b86yQizHsKk=;
b=yOZvSNFoJF3ra4PQv/37BhCAfXQlnGqv5ahHjSkv4T2K3XSPdKk4mRmgU1oYpt3RyOD5
UVgTsOvjrgL2Ht71pJ3/0+htfKbILydamNubISevQcfGJaIKcoK4s93ADhhvlAGWF/QT4
QIXTMQ0dwbp2ILw2u+jhbcq8PLvis2Alj32+bC971q/7XEELTlM1bjHgyLyT/ErFDfiQo
3nXFj9KYT2uFNhtIurIQBwlAQV1+kE+0wmfoNjM3Gwv/5mgIv8H4oGtNFylRSDbl88rJM
rpo9SvA3PCM0qKHMmaMaZgr9t/UFXWOsyf7+uj+KYji/TFSejlgixDYYuliNTSi+d5w==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org;
dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=Tt09t7lG;
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 A4D62606A337;
Sat, 14 Nov 2026 05:18:38 +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=Tt09t7lG
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.219.46
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
t=1794633517;
b=g2VLZjh7F0sxcMMhbdbAzndFVPw6bGtQrGOOqual1SvVxEC2/gV5Zm/cybvN9TzIuWbD
pPSUu7qtAW6NyaW4uBAdxNLGELp3TRTvTgNKSdkielzxpDECqg9agZLBvWoEAxIBmDvol
K/nevTXcw+LSkFdfL7E5B9gjzMoz9wSkMsUQC20IIT/xh8LyezDPGx85OIUVOxug+NOiX
xy5/qvQTBbyg2RP2ifkg/QeaHTgfr4kInjCnYFlO5//bfyxofN1x2k5xiwqHLALvJu50y
YoU/iq899AC4rU9NGMVnDViVou+hoR8WaOvxe8KhiXtWQ+37PJi+h7jKtBmr9sH+2sQ==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
a=rsa-sha256; c=relaxed/relaxed; t=1794633517;
h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature:
X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:
MIME-Version:References:In-Reply-To:From:Date:X-Gm-Features:
Message-ID:Subject:To:Cc:Content-Type:Content-Transfer-Encoding;
bh=QZepFGhbJzlLfvq9xOUY5XlSYHu4zw+0b86yQizHsKk=;
b=hJHCeOsymiijYYasPCMYt+RZgDZlc3ciYEKyJ1jvsP+NagM8XHkNw6DBSi6CmeOKnESc
bxuQuy2+rGf0k2ODTmpnRAtFyenj3H8Ve2be2xPbbraWU8mRYDLgUL6Eqn+EagP0rlXjo
ah7X28WiJONIAgxaJFZqurkPmYqFB2p5ZJ3ktzIGLhoaK3fNaTEvmgeBem70/FGsCkwLD
BEeXIpxNJY2GM+BRCODkc+P7xMaW+MCXrmyWki3eHW7mWd4yICRcypbIu1dmvMHbw4zt4
UOIBVVqVEuZh95AK61yMvNDeX41EoiSTWSbLKn3W5+qvSjpf3QPckFUWzjVNDScrwGw==
X-ARC-Authentication-Results: i=2; 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=Tt09t7lG;
arc=pass header.oldest-pass=0 smtp.remote-ip=209.85.219.46
X-Received: from mail-qv1-f46.google.com (mail-qv1-f46.google.com [209.85.219.46])
(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 74F93606A329
for <netdev@vger.kernel.org>; Sat, 14 Nov 2026 05:18:37 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 74F93606A329
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-qv1-f46.google.com with SMTP id 6a1803df08f44-91eb449364cso31849886d6.2
for <netdev@vger.kernel.org>; Fri, 13 Nov 2026 21:18:37 -0800 (PST)
X-ARC-Seal: i=1; a=rsa-sha256; t=1794633516; cv=none;
d=google.com; s=arc-20260327;
b=GtAvwyFut0IjpKHivesuAVbKyCkHKfiAa4xdEPSEvUrKSCvPplCXqRt/06Zx/6OEZM
mjw7RIDmIXiSRMBNy+liALc/KlJJBBZxE0Ra3pDv9xJqxfUxxa553N+r7Rei1cuymkNo
vWa/85mm1GfaDWWPDdhe1YWhKl2V4woFj018ShOT0DZau6ixF8tWBZFyZ1UKHPypGXJr
MHbYz2X2hIlLHzu0CsAzYGOdQj2gpHCX7vydeGso9L7m0HKdgyG9Hr0RDwXvx7xtu81/
xgox8yoUoWZT+d8YDNuaiBps/XSZ8BQm9fMZ/xK5DQe7L6jaDNeFPIkpEIG4QHFnzTZ5
Heqg==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=QZepFGhbJzlLfvq9xOUY5XlSYHu4zw+0b86yQizHsKk=;
fh=xRqbFiMXH+vo1cOQSGIIhVhNEj5DrggyPuX9xxnPePY=;
b=XtbbsBm8K6El9JV1HoiQ1CKeChDGXGR/8pM9Y2cawp+VjPJQRbGWM9n7kCWMVeo5dA
qO6kMRjkUzmLQHmRmUyrTsLbT72WBcIbnulJad4+GEiOeOw1nZCl2cy3wdNnil/A/RYT
qfIEKuDTMqyATK932lS1vm0CD6TaLum4VG+Ee0bfmnROSqyO6f6cgPykom5Fn1XQ9Ca9
+c9kx1ZK2jxuimGp8QBK399kkrP6mk90DPr/gEwAvdBqWdCvmQqHbory+d6DV+thYp98
xowgkCN+cgTPDQLviXNu2EufwwmO0qeJEiSA1VqBDsv3h4T+CA+L8A40uhHSBAp+Hkw2
CBQQ==;
darn=vger.kernel.org
X-ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1794633516; x=1795238316; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:from:to:cc:subject
:date:message-id:reply-to:content-type;
bh=QZepFGhbJzlLfvq9xOUY5XlSYHu4zw+0b86yQizHsKk=;
b=Tt09t7lGscB0cCnQBYFBnRK+bJZYgLQoIndD1y8Z7jDoxkgW3qQBBJEvdGU1awSTkL
znAq0qnJ7Pog7Rfv9H6rKYJy0JmhW6mCJsyoB+DOV8C7kF7ynAwLgPrP1AB4OzDROM0Z
QyOrticqVumIPgkAEsQ4kVm5mC683TimDL4phYi6hnu/3FBkgUhFk34mnomc62KUDq8m
uzl6TVHuiePubIUqOviFouPNp+3szljKc/TRlyTNQbdWT/xz1GNzopc3U7/fEms4VcRF
TzJ7MInocO7mb0/7AKszVp6f8/YdMGuwY2cFm3ajYwYCkrBK7U6+Yo8jECblJ7Be1QOq
1hZA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1794633516; x=1795238316;
h=content-transfer-encoding:content-type:cc:to:subject:message-id
:date:from:in-reply-to:references:mime-version:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=QZepFGhbJzlLfvq9xOUY5XlSYHu4zw+0b86yQizHsKk=;
b=o+bk4Dh9EflKdIVyYBhwkb9yYxvuFmP7ivEp4k4xxZgEJqgtY3T3xOWEPY+iKY0X98
3Wng7DSusi4TzHJ2faNYfSwvOhAExtynhPzUZro0ieWJRdNniVX0QCaELMVASDfJc2UC
tbwLxzW6pZqShty+HQd6ONb7TbzLZe1KbyFBaOWMWzum7xdgJgYfGCwBUuuBs6bBPkPM
Xb+vRay6xAflIgqH04MPscdhfxk8bMwV4BM1K51JgvaPhOlmfBZtiiAq20PWaX3dTFrN
toXMA7LjgrdteefooQDgHh0CI0UUIfzmkvEzcEL2ncxnZ1rGZxp+bC0GyO7BaiYxT9Ea
FetQ==
X-Forwarded-Encrypted: i=1; AL+hErGonKqXJcsGthTxGh0QpCyAgYJB1k2Z/GPYu0PL0e1Hp4kNu6cWFVGE0yl1QxzCCbQKaRzoiP4=@vger.kernel.org
X-Gm-Message-State: APuU4Z8M3nQsNH4U/aDpRqfbTQdeSDFa7SuUHyWJ+lw307pkuIw3PHeH
JXvgO291kTwkUpdjq3oWBhXo8eHDcyXuIlvsbWKgwrL9JI1a+kon8E2Jf3D4KF3213TrOa1yOSZ
a19UsiVGrqQ/iTnTCEEcLeOv+ScHpkSY=
X-Gm-Gg: AYBFou0KiZc4ZwMkEI99mJ9UxYdbCzuLcz5TPUMV5NOazgXHr+tEM6UvwLzVj55c1X4
RuvL9t7NABPW+Rfztkk5C1S5zcI9xAAFgrgIdsTEBY58sxwcHDg7UiOusA9DkCzL/d1jB/PvXbc
XNKnfHQfQJ8dfuWWrVIEIow3qoxoe1lBdOpM7TNG3WPLsaDvKl/bVrs0FYehVRDwFQzr6qcCWwp
goLniVrLO4t4LyGfwJZJ6T+ODmbcT3H+9c7tx3BB704xXWIY5kRqhQJ5zzZgvxNsAUI40zM0tjv
eRG4rW21b8GT48IHSnKaGqc30ebXp8GO6HyUmoXc+CWmz5CC1Fo7qEJebrgC7CoMxwHX+VkyCXH
1jVAWVVj2sKZ4oT6OcA2aS8Hruwr+WUG+atQhgF9SXSVjwrDVJzZxLDH3nQ==
X-Received: by 2002:a05:6214:1315:b0:91e:9693:1dad with SMTP id
6a1803df08f44-91f2418bbcemr76958436d6.20.1794633516437; Fri, 13 Nov 2026
21:18:36 -0800 (PST)
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
X-In-Reply-To: <179463314815.2168702.3601648779918603836@kernel.org>
X-Gm-Features: AclHuK-ysfMO1m51fCmYfB7QkCzo-oPWNJOqR8JONxvHDkoWVwWrsjmRva2E1u4
X-Cc: Steve Glendinning <steve.glendinning@shawell.net>, UNGLinuxDriver@microchip.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>,
Alexandru Tachici <alexandru.tachici@analog.com>, Andre Edich <andre.edich@microchip.com>,
netdev@vger.kernel.org, linux-usb@vger.kernel.org