summaryrefslogtreecommitdiffstats
path: root/include/vdso/limits.h
diff options
context:
space:
mode:
authorLaurent Dufour <ldufour@linux.ibm.com>2022-07-13 17:47:26 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-07-25 05:28:45 +0200
commit882c0d1704cf61df13f01933269202d51e74b9f3 (patch)
tree241eaf53fe246fae076728acf7ed476c280ae52d /include/vdso/limits.h
parentselftests/powerpc/ptrace: Add peek/poke of FPRs (diff)
downloadlinux-882c0d1704cf61df13f01933269202d51e74b9f3.tar.xz
linux-882c0d1704cf61df13f01933269202d51e74b9f3.zip
powerpc/mobility: wait for memory transfer to complete
In pseries_migration_partition(), loop until the memory transfer is complete. This way the calling drmgr process will not exit earlier, allowing callbacks to be run only once the migration is fully completed. If reading the VASI state is done after the hypervisor has completed the migration, the HCALL is returning H_PARAMETER. We can safely assume that the memory transfer is achieved if this happens. This will also allow to manage the NMI watchdog state in the next commits. Signed-off-by: Laurent Dufour <ldufour@linux.ibm.com> Reviewed-by: Nathan Lynch <nathanl@linux.ibm.com> Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220713154729.80789-2-ldufour@linux.ibm.com
Diffstat (limited to 'include/vdso/limits.h')
0 files changed, 0 insertions, 0 deletions