Re: [PATCH net-next v6 4/4] net: mdio: mdio-bcm-unimac: Add Clause 45 support
From: Florian Fainelli
Date: Tue Nov 24 2026 - 13:35:40 EST
On 11/24/2026 8:49 AM, netdev-bot+sashiko@xxxxxxxxxx wrote:
Thank you for your contribution! Sashiko AI review found 2 potential
issue(s) to consider.
Critical: 0 · High: 0 · Medium: 1 · Low: 1
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] On ACPI (non-DT) GENET systems, the new C45 scan can create a
phy_device that GENET then attaches to instead of the intended PHY.
No change planned. Providing read_c45/write_c45 unconditionally is the intended design and has been the same since v1; it is the only way to get Clause 45 support from the UniMAC block. The scenario requires something that answers C45 ID reads at an address below the real PHY. That is not the case on known boards, including the RPi4 BCM54213PE, and the C45 scan only runs on addresses that have no C22 device. Should a PHY ever ghost C45 frames, mdiobus_prevent_c45_scan() is the existing place to handle it.
- [Low] Adding read_c45/write_c45 slows GENET probe on ACPI (non-DT)
systems by much more than the commit message says.
The commit message already documents the extra probe time on the unmasked non-DT GENET bus, and that it is the same trade-off the C22 scan makes there. We do not plan to exclude that bus from the C45 scan.
Please do not flag this again in later revisions.
--
Florian