From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from parcelfarce.linux.theplanet.co.uk (parcelfarce.linux.theplanet.co.uk [195.92.249.252]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTP id DC84F67F38 for ; Mon, 8 Aug 2005 02:03:11 +1000 (EST) Date: Sun, 7 Aug 2005 12:57:31 -0300 From: Marcelo Tosatti To: Aristeu Sergio Rozanski Filho Message-ID: <20050807155731.GA2715@dmt.cnet> References: <20050806180353.GW5210@cathedrallabs.org> <20050806232701.GD1099@dmt.cnet> <20050807043110.GA6316@dmt.cnet> <09b0792f426f1d5883cf5d437723f075@embeddededge.com> <20050807154432.GE5210@cathedrallabs.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20050807154432.GE5210@cathedrallabs.org> Cc: linuxppc-embedded@ozlabs.org Subject: Re: [PATCH] 8xx: add cpm_get_cpmp() List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, Aug 07, 2005 at 12:44:32PM -0300, Aristeu Sergio Rozanski Filho wrote: > > It depends how you define the semantics of this function call. > > Can you call it any (and all of the) time you need it, or does it > > actually perform an ioremap() and you only want to call it > > once? > what about don't cache it and call ioremap() from driver? (I guess > ioremap() already check if an area is already mapped, no?) Yep, ioremap() should be doing virtual address caching already, no?