Date: Fri, 31 Mar 2006 06:20:23 GMT From: Andrew Belashov <bel@orel.ru> To: freebsd-sparc64@FreeBSD.org Subject: Re: sparc64/94778: panic in intr_fast() Message-ID: <200603310620.k2V6KNb5028002@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR sparc64/94778; it has been noted by GNATS.
From: Andrew Belashov <bel@orel.ru>
To: bug-followup@FreeBSD.org
Cc:
Subject: Re: sparc64/94778: panic in intr_fast()
Date: Fri, 31 Mar 2006 10:12:58 +0400
With following workaround the kernel does not a panic:
--- interrupt.S.diff begins here ---
--- sys/sparc64/sparc64/interrupt.S.orig Sat Apr 16 19:05:56 2005
+++ sys/sparc64/sparc64/interrupt.S Thu Mar 30 13:35:18 2006
@@ -159,7 +159,7 @@
ret
restore
-2: wrpr %g0, PSTATE_NORMAL, %pstate
+2: /* wrpr %g0, PSTATE_NORMAL, %pstate */
ldx [%l0 + IR_NEXT], %l1
brnz,pt %l1, 3f
--- interrupt.S.diff ends here ---
Whether it is necessary to do interrupt handler queue operations
(add to queue/remove from queue) as atomic?
--
Andrew Belashov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200603310620.k2V6KNb5028002>
