linux-mips
[Top] [All Lists]

quick question regarding CONFIG_MIPS_UNCACHED..

To: linux-mips@linux-mips.org
Subject: quick question regarding CONFIG_MIPS_UNCACHED..
From: "atul srivastava" <atulsrivastava9@rediffmail.com>
Date: 26 Nov 2002 11:02:45 -0000
Original-recipient: rfc822;linux-mips@linux-mips.org
Reply-to: "atul srivastava" <atulsrivastava9@rediffmail.com>
Sender: linux-mips-bounce@linux-mips.org
Hello,

In order to confirm a cache related problem , Is just setting
CONFIG_MIPS_UNCACHED is suficient..as so many places function
to operate on caches are  called directly while they should be
under "#ifdef CONFIG_MIPS_UNCACHED " if not technically then
atleast to make coding consistent.

secondly i am setting the uncached feature by,
change_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);

now, should the dump_tlb() show the page coherency attribute for each entries as "UNCACHED" in whole 4 gb address space..in my case for some entries the page coherency attribute is still showing "Cacheable, noncoherent, write-through, no write allocate".

Best Regards,
Atul





<Prev in Thread] Current Thread [Next in Thread>
  • quick question regarding CONFIG_MIPS_UNCACHED.., atul srivastava <=