Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-08 Thread veerasena reddy
Ralf, thanks for the detailed information. > Anyway, it would be much easier to help you if we > knew what you are trying > to achieve with these functions. Basically our target has a MIPS24KE host processor on which Linux runs and a networking processor (NP) which sits between the EMAC contoller

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-03 Thread Ralf Baechle
On Mon, Oct 01, 2007 at 01:10:59PM +0100, veerasena reddy wrote: > Is there any problem if we use the below API's in > linxu-2.6.18 > - dma_cache_wback_inv() > - dma_cache_wback() > - dma_cache_inv() > > functionality wise, especially in r4k.c i dont see any > difference between the implem

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-03 Thread veerasena reddy
Hi Geert, Thanks for your repsonse. In linux-2.6.18 (for MIPS24KE processor): suppose if i want to do flush only then which API i should use? Similarly, if i want to do invalidation only which API i should use? Thanks again. Regards, Veerasena. --- Geert Uytterhoeven <[EMAIL PROTECTED]> wrote:

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-02 Thread veerasena reddy
hi Geert, here i mean 'flush' is 'write-back only' Regards, Veerasena. --- Geert Uytterhoeven <[EMAIL PROTECTED]> wrote: > On Mon, 1 Oct 2007, veerasena reddy wrote: > > In linux-2.6.18 (for MIPS24KE processor): > > suppose if i want to do flush only then which API > i > > should use? > > `flus

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread veerasena reddy
Hi Ralf, Thanks for the reply. Is there any problem if we use the below API's in linxu-2.6.18 - dma_cache_wback_inv() - dma_cache_wback() - dma_cache_inv() functionality wise, especially in r4k.c i dont see any difference between the implementation of these APIs. Can we apply the 2.6.24

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread Geert Uytterhoeven
On Mon, 1 Oct 2007, veerasena reddy wrote: > In linux-2.6.18 (for MIPS24KE processor): > suppose if i want to do flush only then which API i > should use? `flush' is fuzzy terminology: some people mean invalidate, others mean write back, others mean both. > Similarly, if i want to do invalidation

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread Ralf Baechle
On Mon, Oct 01, 2007 at 10:04:32AM +0100, veerasena reddy wrote: > I have ported Linux-2.6.18 kernel on MIPS24KE > processor. I am using write back cache policy. > > Could you please guide me under what cases the below > cache API's are being used: > - dma_cache_wback_inv() : Could you explain w

Re: linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread Geert Uytterhoeven
On Mon, 1 Oct 2007, veerasena reddy wrote: > I have ported Linux-2.6.18 kernel on MIPS24KE > processor. I am using write back cache policy. > > Could you please guide me under what cases the below > cache API's are being used: > - dma_cache_wback_inv() : Could you explain what > exactly this func

linux cache routines for Write-back cache policy on MIPS24KE

2007-10-01 Thread veerasena reddy
Hi, I have ported Linux-2.6.18 kernel on MIPS24KE processor. I am using write back cache policy. Could you please guide me under what cases the below cache API's are being used: - dma_cache_wback_inv() : Could you explain what exactly this function does - dma_cache_wback() : This function write