Linux MIPS Architecture development
 help / color / mirror / Atom feed
* quick question for CONFIG_MIPS_UNCACHED...
@ 2002-11-26 12:37 atul srivastava
  0 siblings, 0 replies; 2+ messages in thread
From: atul srivastava @ 2002-11-26 12:37 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* quick question for CONFIG_MIPS_UNCACHED...
@ 2002-11-26 12:17 atul srivastava
  0 siblings, 0 replies; 2+ messages in thread
From: atul srivastava @ 2002-11-26 12:17 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-28 14:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-26 12:37 quick question for CONFIG_MIPS_UNCACHED atul srivastava
  -- strict thread matches above, loose matches on Subject: below --
2002-11-26 12:17 atul srivastava

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox