From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 21 Nov 2001 12:15:39 +0100 (CET) From: Roman Zippel To: Armin Kuster Cc: ppcdevel , ppclists Subject: Re: New API for non cache coherent ppc cpu's In-Reply-To: <3BFAB960.DAA72239@mvista.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: Hi, On Tue, 20 Nov 2001, Armin Kuster wrote: > About a month ago a new API made its way into the ppc, > consistent_sync_page. Another one? We have now 3 APIs for this: - cache_(push|clear): that's the old m68k API (and also used by APUS) - dma_cache_(inv|wback|wback_inv): used by mips(64), parisc, sh - consistent_sync_page: ppc > For CONFIG_NOT_COHERENT_CACHE processors, > requires > proper flushing of the page being used. Please review and provide feed > back Two comments: - I'm not sure about the page argument, although I'd like to see it, the problem is the drivers usually don't have a page pointer. - I think it was never defined, what should be done if offset/size isn't cache line aligned. That's especially a problem in the invalidate only case. I'd prefer to make this illegal, as it's mostly not a problem for drivers. bye, Roman ** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/