Home
last modified time | relevance | path

Searched hist:"882 c0d1704cf61df13f01933269202d51e74b9f3" (Results 1 – 1 of 1) sorted by relevance

/linux/arch/powerpc/platforms/pseries/
H A Dmobility.cdiff 882c0d1704cf61df13f01933269202d51e74b9f3 Wed Jul 13 17:47:26 CEST 2022 Laurent Dufour <ldufour@linux.ibm.com> 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