summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2010-10-14 21:46:53 +0000
committermarius <marius@FreeBSD.org>2010-10-14 21:46:53 +0000
commit1917efc62771b6911102b7503cd444b6f52a453e (patch)
treef38a9499678f6c7f7d16f160b12acc39c03ea8d6 /sys/sparc64
parentd6c8505c8726e52a33070dba24c533bf2d8d18c7 (diff)
downloadFreeBSD-src-1917efc62771b6911102b7503cd444b6f52a453e.zip
FreeBSD-src-1917efc62771b6911102b7503cd444b6f52a453e.tar.gz
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 loose some race. PR: 151404 MFC after: 3 days
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/sparc64/machdep.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/sparc64/machdep.c b/sys/sparc64/sparc64/machdep.c
index 42bdf5e..82643ab 100644
--- a/sys/sparc64/sparc64/machdep.c
+++ b/sys/sparc64/sparc64/machdep.c
@@ -590,6 +590,7 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec)
* enable them.
*/
intr_init2();
+ wrpr(pil, 0, 0);
wrpr(pstate, 0, PSTATE_KERNEL);
/*
OpenPOWER on IntegriCloud