From: EXTERNAL B. M. (P. ST-FIR/Eng) <ext...@de...> - 2007-08-27 12:22:33
|
Hi, I played a bit with the cache of my SH7720 a bit today. It is the same as the one of SH7705, 4-way 16Kb/32kb. I enabled the 32 kb cache by writing to CCR3. This worked well for write through mode and with a little speed benefit. In writeback mode the kernel did mount the initrd, but did not run any executeables on it. I enabled the SH7705_CACHE_32KB option, but it seems to be broken. I had to include <linux/fs.h> in pg-sh7705.c to make it compile.=20 The kernel reportet an CRC error when tried to loaded the initrd. This time it didn't even work with writethrough. Why is there so much code for the cache handling for the 32KB mode (pg-sh7705.c)? What has to be done else than writing CCR3 to enable 32kb cache? Why doesn't writeback work with 32KB cache? Regards Markus |