svn commit: r213952 - stable/8/sys/sparc64/sparc64
Marius Strobl
marius at FreeBSD.org
Sun Oct 17 11:51:55 UTC 2010
Author: marius
Date: Sun Oct 17 11:51:55 2010
New Revision: 213952
URL: http://svn.freebsd.org/changeset/base/213952
Log:
MFC: r213873
Explicitly lower the PIL to 0 as part of enabling interrupts, similar to
what is done on other platforms. Unlike as with the sched_throw(NULL)
called on BSPs during their startup apparently there's nothing which will
reliably lower it on APs. I'm unsure why this only came up on V215 though,
breaking these with r207248. My best guess is that these are the only
supported ones so far fast enough to lose some race.
PR: 151404
Modified:
stable/8/sys/sparc64/sparc64/machdep.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/amd64/include/xen/ (props changed)
stable/8/sys/cddl/contrib/opensolaris/ (props changed)
stable/8/sys/contrib/dev/acpica/ (props changed)
stable/8/sys/contrib/pf/ (props changed)
stable/8/sys/dev/xen/xenpci/ (props changed)
Modified: stable/8/sys/sparc64/sparc64/machdep.c
==============================================================================
--- stable/8/sys/sparc64/sparc64/machdep.c Sun Oct 17 11:40:29 2010 (r213951)
+++ stable/8/sys/sparc64/sparc64/machdep.c Sun Oct 17 11:51:55 2010 (r213952)
@@ -589,6 +589,7 @@ sparc64_init(caddr_t mdp, u_long o1, u_l
* enable them.
*/
intr_init2();
+ wrpr(pil, 0, 0);
wrpr(pstate, 0, PSTATE_KERNEL);
/*
More information about the svn-src-stable
mailing list