aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/kernel
diff options
context:
space:
mode:
authorNathan Lynch <nathanl@linux.ibm.com>2020-12-07 15:51:46 -0600
committerMichael Ellerman <mpe@ellerman.id.au>2020-12-08 21:40:58 +1100
commitaeca35b9a52b0e0d019a5244fbaab699f753b443 (patch)
treee818c586ecbe1461c16370566656122dd74e4bd9 /arch/powerpc/kernel
parentpowerpc/pseries/mobility: signal suspend cancellation to platform (diff)
downloadlinux-dev-aeca35b9a52b0e0d019a5244fbaab699f753b443.tar.xz
linux-dev-aeca35b9a52b0e0d019a5244fbaab699f753b443.zip
powerpc/pseries/mobility: retry partition suspend after error
This is a mitigation for the relatively rare occurrence where a virtual IOA can be in a transient state that prevents the suspend/migration from succeeding, resulting in an error from ibm,suspend-me. If the join/suspend sequence returns an error, it is acceptable to retry as long as the VASI suspend session state is still "Suspending" (i.e. the platform is still waiting for the OS to suspend). Retry a few times on suspend failure while this condition holds, progressively increasing the delay between attempts. We don't want to retry indefinitey because firmware emits an error log event on each unsuccessful attempt. Signed-off-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201207215200.1785968-15-nathanl@linux.ibm.com
Diffstat (limited to 'arch/powerpc/kernel')
0 files changed, 0 insertions, 0 deletions