linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] handle premature return from H_JOIN in pseries mobility code
@ 2021-03-15  8:00 Nathan Lynch
  2021-03-15  8:00 ` [PATCH 1/2] powerpc/pseries/mobility: use struct for shared state Nathan Lynch
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nathan Lynch @ 2021-03-15  8:00 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: tyreld, brking, npiggin

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-23 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15  8:00 [PATCH 0/2] handle premature return from H_JOIN in pseries mobility code Nathan Lynch
2021-03-15  8:00 ` [PATCH 1/2] powerpc/pseries/mobility: use struct for shared state Nathan Lynch
2021-03-15  8:00 ` [PATCH 2/2] powerpc/pseries/mobility: handle premature return from H_JOIN Nathan Lynch
2021-03-16  2:37 ` [PATCH 0/2] handle premature return from H_JOIN in pseries mobility code Nicholas Piggin
2021-03-23 12:02 ` Michael Ellerman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).