Skip to contentSkip to conversation

quick question for CONFIG_MIPS_UNCACHED...

DISCUSSION atul srivastava 1 participant 1 message Nov 28, 2002 MIPS

lore
Share & tools
lore
#0 lore raw

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