[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250728221823.11968-1-sean.anderson@linux.dev>
Date: Mon, 28 Jul 2025 18:18:16 -0400
From: Sean Anderson <sean.anderson@...ux.dev>
To: Radhey Shyam Pandey <radhey.shyam.pandey@....com>,
Andrew Lunn <andrew+netdev@...n.ch>,
"David S . Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>,
netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Michal Simek <michal.simek@....com>,
linux-arm-kernel@...ts.infradead.org,
Leon Romanovsky <leon@...nel.org>,
Sean Anderson <sean.anderson@...ux.dev>
Subject: [PATCH net-next v3 0/7] net: axienet: Fix deferred probe loop
Fix a deferred-probe loop by splitting the MAC and MDIO functionality
into separate drivers. Please refer to the last patch for an extended
look at the problem this series is attempting to solve.
This is a rather large fix for a rather rare bug, so I have sent it
for net-next. The first patch is a smaller fix, however, and could go
via net.
Changes in v3:
- Use ioread32/iowrite32 directly in MDIO
- Use MDIO bus device in prints
- Use device variable to probe
- Rework to use a separate axienet_common structure, as netdevs cannot
be reused once registered.
- Use ida_alloc for aux id
Changes in v2:
- Fix building as a module
- Expand commit message with much more info on the problem and possible
solutions
Sean Anderson (7):
net: axienet: Fix resource release ordering
net: axienet: Use ioread32/iowrite32 directly
net: axienet: Use MDIO bus device in prints
net: axienet: Simplify axienet_mdio_setup
net: axienet: Use device variable in probe
net: axienet: Rearrange lifetime functions
net: axienet: Split into MAC and MDIO drivers
drivers/net/ethernet/xilinx/Kconfig | 1 +
drivers/net/ethernet/xilinx/xilinx_axienet.h | 45 +-
.../net/ethernet/xilinx/xilinx_axienet_main.c | 383 +++++++++++-------
.../net/ethernet/xilinx/xilinx_axienet_mdio.c | 158 ++++----
4 files changed, 350 insertions(+), 237 deletions(-)
--
2.35.1.1320.gc452695387.dirty
Powered by blists - more mailing lists