From: Florian Fainelli <florian.fainelli@broadcom.com>
To: netdev-bot+sashiko@kernel.org
Cc: netdev@vger.kernel.org, nb@tipi-net.de, carlos.soto@broadcom.com,
justin.chen@broadcom.com, opendmb@gmail.com,
bcm-kernel-feedback-list@broadcom.com, andrew@lunn.ch,
hkallweit1@gmail.com, linux@armlinux.org.uk, davem@davemloft.net,
edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
linux-kernel@vger.kernel.org, kudzo51@gmail.com
Subject: Re: [PATCH net-next v6 1/4] net: phy: Map C45 probe read errors to -ENODEV during bus scan
Date: Tue, 24 Nov 2026 10:28:33 -0800 [thread overview]
Message-ID: <be288244-9f14-41d4-a699-f666ce354158@broadcom.com> (raw)
In-Reply-To: <179553896595.3135.12489762291979495707@kernel.org>
On 11/24/2026 8:49 AM, netdev-bot+sashiko@kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 4 potential
> issue(s) to consider.
>
> Critical: 0 · High: 0 · Medium: 2 · Low: 2
>
> If you believe none of the issues are legitimate, please reply to each
> issue of Medium severity or higher and explain why the AI is wrong.
> If any of them are legitimate and you plan to respin, please let patchwork
> know by including "pw-bot: cr" as a separate line at the end of your reply
> (one such reply per series is enough).
>
> - [Medium] The commit message describes the SFP impact wrongly.
Agreed this was wrong. mdio-i2c reports an absent PHY as 0xffff so only
a Rollball I2C transport error is affected, reworded in v7.
> - [Medium] get_phy_c45_devs_in_pkg() reads MDIO_DEVS2 and then
> MDIO_DEVS1, and returns the raw bus error from whichever read fails.
Agreed, only a MDIO_DEVS2 failure is mapped to -ENODEV now, a MDIO_DEVS1
failure stays as -EIO.
> - [Low] The commit message says errors from the vendor MMD presence check
> in the identifier loop "are not mapped, so a PHY that fails midway is…
The vendor-MMD error path predates this patch. I dropped the "not
silently skipped" claim for it rather than changing its behavior.
> - [Low] When a devices-in-package read in the MMD search loop of
> get_phy_c45_ids() fails with -EIO/-ENODEV, the new code breaks out of…
We are not continuing the loop. The vendor MMD presence check would
return -ENODEV at MMD 30 and end the scan before the MMD 0 fallback,
which would break PHYs that only answer on MMD 0. I noted that in the
commit message.
pw-bot:cr
--
Florian
next prev parent reply other threads:[~2026-11-24 18:28 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-23 16:48 [PATCH net-next v6 0/4] net: mdio: Clause 45 support for mdio-bcm-unimac Florian Fainelli
2026-11-23 16:48 ` [PATCH net-next v6 1/4] net: phy: Map C45 probe read errors to -ENODEV during bus scan Florian Fainelli
2026-11-24 16:49 ` netdev-bot+sashiko
2026-11-24 18:28 ` Florian Fainelli [this message]
2026-11-23 16:48 ` [PATCH net-next v6 2/4] net: mdio: mdio-bcm-unimac: Define MDIO_OP_SHIFT Florian Fainelli
2026-11-23 16:48 ` [PATCH net-next v6 3/4] net: mdio: mdio-bcm-unimac: Poll for completion at 1us granularity Florian Fainelli
2026-11-23 16:48 ` [PATCH net-next v6 4/4] net: mdio: mdio-bcm-unimac: Add Clause 45 support Florian Fainelli
2026-11-24 16:49 ` netdev-bot+sashiko
2026-11-24 18:35 ` Florian Fainelli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=be288244-9f14-41d4-a699-f666ce354158@broadcom.com \
--to=florian.fainelli@broadcom.com \
--cc=andrew@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=carlos.soto@broadcom.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=hkallweit1@gmail.com \
--cc=justin.chen@broadcom.com \
--cc=kuba@kernel.org \
--cc=kudzo51@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=nb@tipi-net.de \
--cc=netdev-bot+sashiko@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=opendmb@gmail.com \
--cc=pabeni@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®