linux-mips
[Top] [All Lists]

Re: Setting Write through mode in linux-2.6.18.2 kernel ( MIPS 24KE)

To: sathesh babu <sathesh_edara2003@yahoo.co.in>
Subject: Re: Setting Write through mode in linux-2.6.18.2 kernel ( MIPS 24KE)
From: Ralf Baechle <ralf@linux-mips.org>
Date: Thu, 18 Jan 2007 12:04:52 +0000
Cc: linux-mips@linux-mips.org
In-reply-to: <42504.24060.qm@web7902.mail.in.yahoo.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <42504.24060.qm@web7902.mail.in.yahoo.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.4.2.2i
On Thu, Jan 18, 2007 at 02:33:31AM +0000, sathesh babu wrote:

>     I am porting linux-2.6.18.2 kernel on MIPS 24KE processor.

Strange, I though we already did that years ago ...

>   I would like to configure  write through cache mode.
>    
>   I checked the cache defines ( asm-mips/pgtable-bits.h) .
>    
>   Only write back mode is defined for MIPS32.
>    
>   Does the linux-2.6.18.2 kernel ( on MIPS 24KE) have support for write 
> through mode?.
>   Could you please tell me write through mode is there in linux-2.6.18.2 
> kernel for MIPS 24KE.

Just set CONF_CM_DEFAULT to the cache mode of choice.

But why would you want to use a slower cache mode anyway ...

  Ralf

<Prev in Thread] Current Thread [Next in Thread>