From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.arcor.de", Issuer "Thawte Premium Server CA" (verified OK)) by ozlabs.org (Postfix) with ESMTP id E2C68DDF52 for ; Fri, 15 Jun 2007 18:16:15 +1000 (EST) In-Reply-To: <20070614222620.GA17382@mag.az.mvista.com> References: <1181729973.25586.31.camel@dolphin.spb.rtsoft.ru> <467176EB.7060404@ru.mvista.com> <20070614222620.GA17382@mag.az.mvista.com> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: From: Segher Boessenkool Subject: Re: [RFC/PATCH] powerpc: MPC7450 L2 HW cache flush feature utilization Date: Fri, 15 Jun 2007 10:16:04 +0200 To: "Mark A. Greer" Cc: linuxppc-dev list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , >>>> /* TODO: use HW flush assist when available */ >>> >>> You want to get rid of this old comment though -- and >>> perhaps branch over the non-hardware-assisted cache >>> flushing code. >> >> Ok, I agree that the comment is obsolete now. Would you please explain >> why the branch over non-hardware-assisted code should be removed as >> well. Technically the cache is flushed and there is no need to use >> extra >> commands to fill and then re-flush the cache. > > I think Segher is saying that you can skip the manual invalidation too > (although he said "flushing", I think he really meant "invalidation"-- > the manual flushing is already skipped). Erm yes. > If I'm reading the manual > correctly, L2HWF does the invalidation as well so both the manual > flushing and invalidation can be skipped. Yeah. Not that it really matters of course. Segher