All of lore.kernel.org
 help / color / mirror / Atom feed
* smsc9511: Register access happens after unregistration
@ 2022-03-03 13:14 Fabio Estevam
  2022-03-04 13:58 ` Fabio Estevam
  0 siblings, 1 reply; 10+ messages in thread
From: Fabio Estevam @ 2022-03-03 13:14 UTC (permalink / raw)
  To: Schrempf Frieder
  Cc: Marek Vasut, USB list, oneukum, Adam Ford, Andrew Lunn,
	Martyn Welch, peter.chen, Steve Glendinning

Hi,

On a imx8mm-iotgateway board running kernel 5.17-rc6 I am getting the following
smsc95xx errors after a 'reboot' command:

ci_hdrc ci_hdrc.1: remove, state 1
usb usb2: USB disconnect, device number 1
usb 2-1: USB disconnect, device number 2
usb 2-1.1: USB disconnect, device number 3
smsc95xx 2-1.1:1.0 eth1: unregister 'smsc95xx' usb-ci_hdrc.1-1.1,
smsc95xx USB 2.0 Ethernet
smsc95xx 2-1.1:1.0 eth1: Failed to read reg index 0x00000114: -19
smsc95xx 2-1.1:1.0 eth1: Error reading MII_ACCESS
smsc95xx 2-1.1:1.0 eth1: __smsc95xx_mdio_read: MII is busy
smsc95xx 2-1.1:1.0 eth1: Failed to read reg index 0x00000114: -19
smsc95xx 2-1.1:1.0 eth1: Error reading MII_ACCESS
smsc95xx 2-1.1:1.0 eth1: __smsc95xx_mdio_read: MII is busy
smsc95xx 2-1.1:1.0 eth1: hardware isn't capable of remote wakeup
usb 2-1.4: USB disconnect, device number 4
ci_hdrc ci_hdrc.1: USB bus 2 deregistered
ci_hdrc ci_hdrc.0: remove, state 4
usb usb1: USB disconnect, device number 1
ci_hdrc ci_hdrc.0: USB bus 1 deregistered
imx2-wdt 30280000.watchdog: Device shutdown: Expect reboot!
reboot: Restarting system

smsc95xx register accesses are happening after the device is unregistered.

What would be the correct way to prevent such smsc95xx register accesses
to happen?

Hi Frieder,

I see that imx8mm-kontron-n801x-s.dts also uses an SMSC9514 device.

Do you also see such errors after running "reboot"?

Thanks,

Fabio Estevam

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-03-05  0:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-03 13:14 smsc9511: Register access happens after unregistration Fabio Estevam
2022-03-04 13:58 ` Fabio Estevam
2022-03-04 14:11   ` Andrew Lunn
2022-03-04 14:18     ` Martyn Welch
2022-03-04 14:45       ` Andrew Lunn
2022-03-04 14:40     ` Fabio Estevam
2022-03-04 14:51       ` Andrew Lunn
2022-03-04 15:57         ` Fabio Estevam
2022-03-04 18:01           ` Fabio Estevam
2022-03-04 23:59             ` Andrew Lunn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.