Re: [PATCH net v3] net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset

From: Jakub Kicinski
Date: Wed Aug 16 2023 - 23:21:11 EST


On Mon, 14 Aug 2023 17:13:23 -0700 Alfred Lee wrote:
> If the switch is reset during active EEPROM transactions, as in
> just after an SoC reset after power up, the I2C bus transaction
> may be cut short leaving the EEPROM internal I2C state machine
> in the wrong state. When the switch is reset again, the bad
> state machine state may result in data being read from the wrong
> memory location causing the switch to enter unexpected mode
> rendering it inoperational.

I'll apply this instead of the v4:

https://lore.kernel.org/all/20230815220453.32035-1-l00g33k@xxxxxxxxx/

since you dropped Andrew's tag :( Please make sure you keep the tags
you were given.