From: Kordian Chmielewski <kudzo51@gmail.com>
To: Florian Fainelli <florian.fainelli@broadcom.com>
Cc: netdev@vger.kernel.org, Doug Berger <opendmb@gmail.com>,
Nicolai Buchwitz <nb@tipi-net.de>,
Broadcom internal kernel review list
<bcm-kernel-feedback-list@broadcom.com>,
Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
"David S . Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@kernel.org>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net-next 0/3] net: mdio: Clause 45 support for
Date: Sat, 14 Nov 2026 01:00:01 +0100 [thread overview]
Message-ID: <20261114000001.518424-1-kudzo51@gmail.com> (raw)
In-Reply-To: <20261113211554.2058181-1-florian.fainelli@broadcom.com>
On Fri, 13 Nov 2026 13:15:51 -0800, Florian Fainelli wrote:
> This patch series adds support for Clause 45 MDIO operations within the
> mdio-bcm-unimac driver.
Tested on a TP-Link Archer AX6000 (BCM4908) with OpenWrt and Linux
6.18.55, with this series in place of our own C45 support. The bus has
the switch's internal PHYs, which are C22, and the BCM54991E WAN PHY at
address 0x1d, which is C45.
The BCM54991E takes its firmware over C45 and links at 1000 Mbit/s,
ethtool -r brings the link back, and the WAN carries traffic. 8000
reads through SIOCGMIIREG gave no errors. Such a read, ioctl included,
takes 18 us on average for C45 and 10 us for C22, against 64 and 32 us
with the old polling, which starts with a fixed 30 us delay per frame
(our C45 code used the same wait).
The PHY's DT node has only its ID compatible; our PHY driver, which is
not upstream, switches it to C45 in probe. So the new check in
unimac_mdio_reset() never matched, and since the bus is registered
from DT, the C45 scan at registration did not run either.
Tested-by: Kordian Chmielewski <kudzo51@gmail.com>
prev parent reply other threads:[~2026-11-14 0:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 21:15 [PATCH net-next 0/3] net: mdio: Clause 45 support for Florian Fainelli
2026-11-13 21:15 ` [PATCH net-next 1/3] net: mdio: mdio-bcm-unimac: Define MDIO_OP_SHIFT Florian Fainelli
2026-11-13 21:55 ` Andrew Lunn
2026-11-13 21:15 ` [PATCH net-next 2/3] net: mdio: mdio-bcm-unimac: Poll for completion at 1us granularity Florian Fainelli
2026-11-13 21:58 ` Andrew Lunn
2026-11-13 21:15 ` [PATCH net-next 3/3] net: mdio: mdio-bcm-unimac: Add Clause 45 support Florian Fainelli
2026-11-13 22:04 ` Andrew Lunn
2026-11-13 22:14 ` Florian Fainelli
2026-11-14 0:00 ` Kordian Chmielewski [this message]
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=20261114000001.518424-1-kudzo51@gmail.com \
--to=kudzo51@gmail.com \
--cc=andrew@lunn.ch \
--cc=bcm-kernel-feedback-list@broadcom.com \
--cc=davem@davemloft.net \
--cc=edumazet@kernel.org \
--cc=florian.fainelli@broadcom.com \
--cc=hkallweit1@gmail.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=nb@tipi-net.de \
--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