sun4v: disable MP suport for now in cpu_boot_secondary_processors() - this will allow the kernel to start probing for devices with the primary cpu as the only active cpu
This commit is contained in:
parent
9f8be6380b
commit
2434428a74
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: TODO,v 1.10 2015/02/11 04:47:11 palle Exp $ */
|
||||
/* $NetBSD: TODO,v 1.11 2015/05/07 04:03:38 palle Exp $ */
|
||||
|
||||
Things to be done:
|
||||
|
||||
|
@ -24,3 +24,4 @@ sun4v:
|
|||
- replace constructs line "wrpr %g0, PSTATE_INTR, %pstate" with ALTERNATE_GOBALS
|
||||
- sun4v tsb no need to lock... per cpu... anyway...
|
||||
- ci_tsb_desc->td_ctxidx: -1 or 1?
|
||||
- MP support - currently bypassed in cpu_boot_secondary_processors() for sun4v
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: cpu.c,v 1.124 2015/03/22 19:37:54 palle Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.125 2015/05/07 04:03:38 palle Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
|
@ -52,7 +52,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.124 2015/03/22 19:37:54 palle Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.125 2015/05/07 04:03:38 palle Exp $");
|
||||
|
||||
#include "opt_multiprocessor.h"
|
||||
|
||||
|
@ -670,6 +670,10 @@ cpu_boot_secondary_processors(void)
|
|||
return;
|
||||
}
|
||||
|
||||
/* No MP for SUN4V yet */
|
||||
if (CPU_ISSUN4V)
|
||||
return;
|
||||
|
||||
for (ci = cpus; ci != NULL; ci = ci->ci_next) {
|
||||
if (ci->ci_cpuid == cpu_myid())
|
||||
continue;
|
||||
|
|
Loading…
Reference in New Issue