Files
linux/drivers
Sukadev Bhattiprolu 0142b95786 ibmvnic: Clear failover_pending if unable to schedule
[ Upstream commit ef66a1eace ]

Normally we clear the failover_pending flag when processing the reset.
But if we are unable to schedule a failover reset we must clear the
flag ourselves. We could fail to schedule the reset if we are in PROBING
state (eg: when booting via kexec) or because we could not allocate memory.

Thanks to Cris Forno for helping isolate the problem and for testing.

Fixes: 1d85049374 ("powerpc/vnic: Extend "failover pending" window")
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.ibm.com>
Tested-by: Cristobal Forno <cforno12@linux.ibm.com>
Link: https://lore.kernel.org/r/20210203050802.680772-1-sukadev@linux.ibm.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-02-17 10:35:17 +01:00
..
2020-09-09 19:12:21 +02:00
2021-02-13 13:52:55 +01:00
2021-01-19 18:26:15 +01:00
2021-02-17 10:35:16 +01:00
2021-01-09 13:44:54 +01:00
2020-12-30 11:51:26 +01:00