[PATCH] Revert "reset: microchip-sparx5: allow building as a module"

Michael Walle michael at walle.cc
Wed Jul 13 02:03:40 PDT 2022


[+ Claudiu, Kavyasree ]
Am 2022-07-13 10:40, schrieb Philipp Zabel:
> This reverts commit b6b9585876da018bdde2d5f15d206a689c0d70f3.
> 
> This breaks MDIO on kswitch-d10, presumably because the global switch
> reset is not released early enough anymore.
> 
> Reported-by: Michael Walle <michael at walle.cc>
> Cc: Clément Léger <clement.leger at bootlin.com>
> Signed-off-by: Philipp Zabel <p.zabel at pengutronix.de>

Thanks!

Tested-by: Michael Walle <michael at walle.cc>

And maybe Microchip can chime in here and tell us what
subsystems in the SoC will actually be reset by this.
I fear this reset will affect almost every part of the
SoC. So it would have to be bound to every single
device? Or maybe adding that reset to the switch driver
was a mistake in the first place?

I mean, if it wouldn't be for the guard bit, it would
also reset the CPU core..

-michael



More information about the linux-arm-kernel mailing list