Skip to contentSkip to conversation

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

DISCUSSION sathesh babu 2 participants 2 messages Jan 18, 2007 MIPS

lore
Share & tools
lore
#0 lore raw

Hi,
I am porting linux-2.6.18.2 kernel on MIPS 24KE processor.
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.

Thanks in advance.

Regards,
Sathesh

---------------------------------
Here’s a new way to find what you're looking for - Yahoo! Answers

#1 lore raw
Quoted 1 line · sathesh babu

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

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

Quoted 8 lines

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