linux-2.2.13pre15 stability w/ head.S patch

David Edelsohn dje at watson.ibm.com
Fri Oct 29 03:39:04 EST 1999


	The general, conservative procedure that should be followed for
any BAT change is:

	li	rX, 0
	mtdbatu N, rX
	isync
	mtdbatl N, rL
	mtdbatu N, rU
	isync

I do not see the posted assembly code performing any isync's to prevent
speculation.  mtspr does not produce complete serialization in the
pipeline, and the serialization is implementation-dependent.

David

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list