From owner-cvs-all@FreeBSD.ORG Sat Mar 8 18:59:48 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AB28106566C; Sat, 8 Mar 2008 18:59:48 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from smtpoutm.mac.com (smtpoutm.mac.com [17.148.16.71]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB178FC21; Sat, 8 Mar 2008 18:59:47 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from mac.com (asmtp002-s [10.150.69.65]) by smtpoutm.mac.com (Xserve/smtpout008/MantshX 4.0) with ESMTP id m28Ixlg1019674; Sat, 8 Mar 2008 10:59:47 -0800 (PST) Received: from [192.168.1.100] (209-128-86-226.bayarea.net [209.128.86.226]) (authenticated bits=0) by mac.com (Xserve/asmtp002/MantshX 4.0) with ESMTP id m28Ixhjp001096 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 8 Mar 2008 10:59:45 -0800 (PST) Message-Id: <82F5E125-8914-46CB-8522-8FA39F05DC4A@mac.com> From: Marcel Moolenaar To: Rafal Jaworowski In-Reply-To: <47D2681F.2070309@semihalf.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sat, 8 Mar 2008 10:59:42 -0800 References: <200803080536.m285aPN7047604@repoman.freebsd.org> <47D2681F.2070309@semihalf.com> X-Mailer: Apple Mail (2.919.2) Cc: cvs-src@FreeBSD.org, Marcel Moolenaar , cvs-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/powerpc/booke machdep.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:59:48 -0000 On Mar 8, 2008, at 2:19 AM, Rafal Jaworowski wrote: > Marcel Moolenaar wrote: >> marcel 2008-03-08 05:36:25 UTC >> >> FreeBSD src repository >> >> Modified files: >> sys/powerpc/booke machdep.c >> Log: >> Enable the D-cache and I-cache when not already enabled. >> It so happens that U-Boot disables the D-cache when booting >> an ELF image, so this change makes sure we run with the >> D-cache enabled from now on. It shows too... >> > > Thanks for hooking this up, Marcel; it was [far] on my list too :) I just wanted my kernel builds to be faster :-) > BTW: currently U-Boot is broken for most of PPC variations > (including 85xx) in > the following way: d-cache is not being flushed before disabling and > strange > things happen as you imagine. For a quick workaround apply something > like this > when using ELF images: > http://people.freebsd.org/~raj/patches/misc/uboot-dcache-workaround.diff Yup. That's what we do at Juniper. I don't see any bad effects other than having to invalidate the cache before (re-)enabling it so I don't have that patch applied myself... The problem I'm having with U-Boot is with the TSEC driver as you've seen on the U-Boot mailing list. I have one MPC8555CDS sitting idle after the U-Boot upgrade because I can't netboot :-/ -- Marcel Moolenaar xcllnt@mac.com