pseries VMs in shared processor mode are susceptible to failed migrations becasue stray H_PRODs from the paravirt spinlock implementation can bump threads out of joining state before the suspend has occurred. Fix this by adding a small amount of shared state and ordering accesses to it with respect to H_PROD and H_JOIN.
Nathan Lynch (2): powerpc/pseries/mobility: use struct for shared state powerpc/pseries/mobility: handle premature return from H_JOIN arch/powerpc/platforms/pseries/mobility.c | 48 +++++++++++++++++++++-- 1 file changed, 44 insertions(+), 4 deletions(-) -- 2.29.2