some questions
Marius Strobl
marius at alchemy.franken.de
Sun Feb 5 03:38:45 PST 2006
On Sat, Feb 04, 2006 at 02:19:30PM +0300, Andrew Belashov wrote:
>
> My system have two hacks, related to following problems:
>
> 1. SMP kernel panic: ipi_send: couldn't send ipi
> <http://www.freebsd.org/cgi/query-pr.cgi?pr=sparc64/66314>
> (src/sys/sparc64/include/smp.h v1.17 does not resolve problem,
> I bump IPI_RETRIES to high value).
>
Could you please try whether the attached patch fixes this
(using the original value for IPI_RETRIES)?
Marius
--
This mail was scanned by AntiVir Milter.
This product is licensed for non-commercial use.
See www.antivir.de for details.
-------------- next part --------------
Index: mp_machdep.c
===================================================================
RCS file: /mnt/futile/usr/data/bsd/cvs/fbsd/src/sys/sparc64/sparc64/mp_machdep.c,v
retrieving revision 1.30
diff -u -r1.30 mp_machdep.c
--- mp_machdep.c 3 Nov 2005 21:08:20 -0000 1.30
+++ mp_machdep.c 5 Feb 2006 11:04:21 -0000
@@ -87,6 +87,7 @@
#include <machine/tick.h>
#include <machine/tlb.h>
#include <machine/tte.h>
+#include <machine/ver.h>
static ih_func_t cpu_ipi_ast;
static ih_func_t cpu_ipi_stop;
@@ -438,6 +439,10 @@
stxa(AA_SDB_INTR_D1, ASI_SDB_INTR_W, d1);
stxa(AA_SDB_INTR_D2, ASI_SDB_INTR_W, d2);
stxa(AA_INTR_SEND | (mid << 14), ASI_SDB_INTR_W, 0);
+ if (cpu_impl < CPU_IMPL_ULTRASPARCIII) {
+ membar(Sync);
+ (void)ldxa(0x20, ASI_SDB_INTR_R);
+ }
membar(Sync);
while (ldxa(0, ASI_INTR_DISPATCH_STATUS) & IDR_BUSY)
;
More information about the freebsd-sparc64
mailing list