svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the kernel will do ithe same. Use lwsync only when

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge or cause exceptions early enough during boot that the

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for CPUs that do not like lwsync and wedge

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 17:07, Marcel Moolenaar wrote: On May 24, 2012, at 2:13 PM, Nathan Whitehorn wrote: On 05/24/12 15:45, Marcel Moolenaar wrote: Author: marcel Date: Thu May 24 20:45:44 2012 New Revision: 235931 URL: http://svn.freebsd.org/changeset/base/235931 Log: Fix the memory barriers for

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though could be reduced to lwsync with bus_space changes) 3. __ATOMIC_REL() must be lwsync or sync This

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Nathan Whitehorn
On 05/24/12 17:22, Marcel Moolenaar wrote: On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though could be reduced to lwsync with bus_space changes) 3.

Re: svn commit: r235931 - head/sys/powerpc/include

2012-05-24 Thread Marcel Moolenaar
On May 24, 2012, at 3:46 PM, Nathan Whitehorn wrote: On 05/24/12 17:22, Marcel Moolenaar wrote: On May 24, 2012, at 3:15 PM, Nathan Whitehorn wrote: Summary: 1. *mb() must be lwsync or sync on all machines, except for wmb() which could be eieio 2. __ATOMIC_ACQ() must be isync (though