Date: Tue, 31 May 2011 15:11:43 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/i386/pci pci_cfgreg.c src/sys/ia64/ia64 machdep.c mp_machdep.c pmap.c src/sys/kern kern_idle.c sched_4bsd.c subr_kdb.c subr_pcpu.c src/sys/mips/mips mp_machdep.c src/sys/net netisr.c src/sys/powerpc/booke pmap.c ... Message-ID: <201105311512.p4VFCmL0009697@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2011-05-31 15:11:43 UTC
FreeBSD src repository
Modified files:
sys/i386/pci pci_cfgreg.c
sys/ia64/ia64 machdep.c mp_machdep.c pmap.c
sys/kern kern_idle.c sched_4bsd.c subr_kdb.c
subr_pcpu.c
sys/mips/mips mp_machdep.c
sys/net netisr.c
sys/powerpc/booke pmap.c
sys/powerpc/powerpc mp_machdep.c
sys/sparc64/sparc64 mp_machdep.c pmap.c
sys/sys pcpu.h
Log:
SVN rev 222531 on 2011-05-31 15:11:43Z by nwhitehorn
On multi-core, multi-threaded PPC systems, it is important that the threads
be brought up in the order they are enumerated in the device tree (in
particular, that thread 0 on each core be brought up first). The SLIST
through which we loop to start the CPUs has all of its entries added with
SLIST_INSERT_HEAD(), which means it is in reverse order of enumeration
and so AP startup would always fail in such situations (causing a machine
check or RTAS failure). Fix this by changing the SLIST into an STAILQ,
and inserting new CPUs at the end.
Reviewed by: jhb
Revision Changes Path
1.136 +1 -1 src/sys/i386/pci/pci_cfgreg.c
1.272 +1 -1 src/sys/ia64/ia64/machdep.c
1.89 +4 -4 src/sys/ia64/ia64/mp_machdep.c
1.230 +1 -1 src/sys/ia64/ia64/pmap.c
1.56 +1 -1 src/sys/kern/kern_idle.c
1.155 +2 -2 src/sys/kern/sched_4bsd.c
1.34 +1 -1 src/sys/kern/subr_kdb.c
1.24 +3 -3 src/sys/kern/subr_pcpu.c
1.21 +1 -1 src/sys/mips/mips/mp_machdep.c
1.43 +1 -1 src/sys/net/netisr.c
1.43 +2 -2 src/sys/powerpc/booke/pmap.c
1.38 +3 -3 src/sys/powerpc/powerpc/mp_machdep.c
1.66 +1 -1 src/sys/sparc64/sparc64/mp_machdep.c
1.212 +1 -1 src/sys/sparc64/sparc64/pmap.c
1.52 +2 -2 src/sys/sys/pcpu.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105311512.p4VFCmL0009697>
