On Fri, Jun 22, 2012 at 7:11 PM, Ralf Baechle ralf@linux-mips.org wrote:
On Fri, Jun 22, 2012 at 06:55:40PM +0800, Huacai Chen wrote:
btw, would it be a good idea to use uncached accelerated instead ?
I have tried uncached accelerated, there will be random points in the monitor, it seems a hw issue...
Have you flushed the pages from memory before switching their cache mode to uncached accelerated? The MIPS architecture defines the result of mixing cache modes as UNPREDICTABLE so be careful to flush caches before switching cache mode of a page.
Not because of flushing, CPU designing team told us a method but very complex, and that method will cause other performance drop. So, we won't use uncached accelerate mode.
Ralf