public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] Modifing memory attributes needs cache flush
@ 2002-01-09  8:39 Takanori Kawano
  2002-01-10 19:17 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Takanori Kawano @ 2002-01-09  8:39 UTC (permalink / raw)
  To: linux-ia64

It noticed current ia64 code doesn't flush any processor 
cache before modifing memory attributes, though the following 
description in SDM vol2 Section4.4.2 says it should be done.

 If software modifies the memory attributes for a page, software must flush
 any processor cache copies with the Flush Cache(fc) instruction for the 
 following memory attribute changes:
 speculative/non-speculative, cacheable/uncacheable(for transitions from 
 cacheable to uncacheable), and coherency. Software must flush any coalescing 
 buffers if a page is changes from coalescing to any other attribute.
 

Does anybody know why the current code doesn't flush cache?

I have some problem that seems to be caused by the ansence 
of cache flush and I am writing a patch fixes it, so I'll
appreciate any information about it.

---
Takanori Kawano
Hitachi Ltd,
Internet Systems Platform Division
t-kawano@ebina.hitachi.co.jp









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

end of thread, other threads:[~2002-01-10 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-09  8:39 [Linux-ia64] Modifing memory attributes needs cache flush Takanori Kawano
2002-01-10 19:17 ` David Mosberger

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