Module Name: src Committed By: msaitoh Date: Fri Dec 8 06:05:15 UTC 2017
Modified Files: src/sys/arch/sparc/include [netbsd-8]: cpu.h src/sys/arch/sparc/sparc [netbsd-8]: cpu.c intr.c Log Message: Pull up following revision(s) (requested by macallan in ticket #429): sys/arch/sparc/sparc/cpu.c: revision 1.250 sys/arch/sparc/include/cpu.h: revision 1.99 sys/arch/sparc/sparc/intr.c: revision 1.119 - return early in xcall() if the function is sparc_noop() instead of triggering the IPI and then ignoring responses ( or lack thereof ) - write the .tag field last to avoid a race when polling for an incoming IPI - add event counters for IPIs being caught with the mutex not held, and for messages that are already marked as completed With this my SS20 made it through 48 hours of pkgsrc with MAKE_JOBS=3 and a pair of SM81s. Hypersparcs still crash but instead of craziness we get actual error messages, apparently one CPU will occasionally do a watchdog reset, which according to the manual is caused by catching a trap with traps disabled. Now to figure out how that can even happen... To generate a diff of this commit: cvs rdiff -u -r1.97 -r1.97.8.1 src/sys/arch/sparc/include/cpu.h cvs rdiff -u -r1.249 -r1.249.6.1 src/sys/arch/sparc/sparc/cpu.c cvs rdiff -u -r1.118 -r1.118.22.1 src/sys/arch/sparc/sparc/intr.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.