Date: Tue, 16 Sep 2008 17:22:16 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/powerpc/aim mp_cpudep.c Message-ID: <200809161722.m8GHMV7T043577@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2008-09-16 17:22:16 UTC
FreeBSD src repository
Modified files:
sys/powerpc/aim mp_cpudep.c
Log:
SVN rev 183090 on 2008-09-16 17:22:16Z by marcel
Rewrite cpudep_ap_bootstrap(). We now enable L3, L2, L1D and L1I
caches if not yet enabed. This is required for coherency and
atomic operations to work, not to mention performance. We use the
L2 and L3 cache settings of the BSP to configure the APs caches.
Can't be bad.
Program NAP and not DOZE. DOZE is present only on earlier CPUs
and the bit is reserved on the MPC7441 & MPC7451. NAP will do
bus snooping to keep caches coherent.
Program the PIR with the cpuid. This may not be necessary...
Revision Changes Path
1.4 +110 -14 src/sys/powerpc/aim/mp_cpudep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809161722.m8GHMV7T043577>
