On Mon, Nov 30, 2026 at 02:55:20AM +0200, Cristian Ciocaltea wrote:
> With autoneg enabled, as21xxx_read_status() derives the result purely in > software via phy_resolve_aneg_linkmode(). That does not work reliably > here: the advertisement is driven by the firmware over IPC, which > ignores the Clause 45 AN registers phylib writes except for the maximum > speed, and arbitrary subsets of speeds are not supported.
So the firmware is totally FUBAR? So autoneg does not work, other than for a single link mode? This suggests you are setting phydev->supported wrongly. It should have a single link mode in it, the top speed the PHY supports. phylib should then do the correct thing, it will only let the user select that one link mode for advertisement. Andrew