public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Takanori Kawano <t-kawano@ebina.hitachi.co.jp>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Modifing memory attributes needs cache flush
Date: Wed, 09 Jan 2002 08:39:38 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590698805781@msgid-missing> (raw)

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









             reply	other threads:[~2002-01-09  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-09  8:39 Takanori Kawano [this message]
2002-01-10 19:17 ` [Linux-ia64] Modifing memory attributes needs cache flush David Mosberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590698805781@msgid-missing \
    --to=t-kawano@ebina.hitachi.co.jp \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox