Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd797738 authored by Benjamin Herrenschmidt's avatar Benjamin Herrenschmidt
Browse files

powerpc: Perform an isync to synchronize CPUs coming out of secondary_hold



We need to do that to guarantee they see any code change done by
dynamic patching during boot.

Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
parent 948cf67c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -147,6 +147,8 @@ __secondary_hold:
	mtctr	r4
	mr	r3,r24
	li	r4,0
	/* Make sure that patched code is visible */
	isync
	bctr
#else
	BUG_OPCODE