linux-mips
[Top] [All Lists]

quick question for CONFIG_MIPS_UNCACHED...

To: linux-mips@linux-mips.org
Subject: quick question for CONFIG_MIPS_UNCACHED...
From: "atul srivastava" <atulsrivastava9@rediffmail.com>
Date: 26 Nov 2002 12:37:50 -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 problem is it sufficient to set
"CONFIG_MIPS_UNCACHED" , as in so many places functions to
operate on cache are called directly while they should under
"#ifdef CONFIg_MIPS_UNCACHED" if not technically then atleast
for consistent coding practice.

I am setting uncached opertion by,
change_cp0_config(CONF_CM_CMASK, CONF_CM_UNCACHED);
now should the dump_tlb_all() show the "page coherency atributes"
for all entries "UNCACHED" anywhere in 4GB space..is it true ?
why in my case for some entries it is still showing "Cacheable, noncoherent, write-through, no write allocate" ?

Best Regards,
Atul




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