Skip to content

handle premature return from H_JOIN in pseries mobility code

Nathan Lynch linuxppc-dev 1 version Applied

Status from this message: Applied to powerpc/fixes.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2powerpc/pseries/mobility: use struct for shared statearch/powerpc/platforms/pseries/mobility.c+19 -30 replies
2/2powerpc/pseries/mobility: handle premature return from H_JOINarch/powerpc/platforms/pseries/mobility.c+25 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.29.2