forked from Minki/linux
3f713bf4dd
When the MC reboots, either as part of a firmware upgrade or due to a bug, it attempts to complete (with an error) any requests that were outstanding before the reboot. Since there is an inherent race condition in checking this, it will also write to a status word in shared memory. If we look at each of these separately, we may detect each reboot twice, resulting in a spurious command failure after a firmware upgrade or frustrating recovery from a firmware bug. Instead, if a request completion indicates a reboot, we must poll and clear the status word. This bug was previously masked by use of an incorrect address for the status word. Fix that, using the definition now included in mcdi_pcol.h. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> |
||
---|---|---|
.. | ||
bitfield.h | ||
efx.c | ||
efx.h | ||
enum.h | ||
ethtool.c | ||
falcon_boards.c | ||
falcon_xmac.c | ||
falcon.c | ||
filter.c | ||
filter.h | ||
io.h | ||
Kconfig | ||
mac.h | ||
Makefile | ||
mcdi_mac.c | ||
mcdi_pcol.h | ||
mcdi_phy.c | ||
mcdi.c | ||
mcdi.h | ||
mdio_10g.c | ||
mdio_10g.h | ||
mtd.c | ||
net_driver.h | ||
nic.c | ||
nic.h | ||
phy.h | ||
qt202x_phy.c | ||
regs.h | ||
rx.c | ||
selftest.c | ||
selftest.h | ||
siena.c | ||
spi.h | ||
tenxpress.c | ||
tx.c | ||
txc43128_phy.c | ||
workarounds.h |