Re: [PATCH 2/3] net: dsa: b53: mmap: register MDIO Mux bus controller

From: Vladimir Oltean
Date: Fri Mar 17 2023 - 07:51:36 EST


On Fri, Mar 17, 2023 at 12:34:26PM +0100, Álvaro Fernández Rojas wrote:
> b53 MMAP devices have a MDIO Mux bus controller that must be registered after
> properly initializing the switch. If the MDIO Mux controller is registered
> from a separate driver and the device has an external switch present, it will
> cause a race condition which will hang the device.

Could you describe the race in more details? Why does it hang the device?