[PATCH 0/2] handle premature return from H_JOIN in pseries mobility code

Nathan Lynch nathanl at linux.ibm.com
Mon Mar 15 19:00:43 AEDT 2021


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



More information about the Linuxppc-dev mailing list