All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnaud Patard <apatard@mandriva.com>
To: fredtan <tanflying@gmail.com>
Cc: linux-mips@linux-mips.org
Subject: Re: how to clear the D_cache and I_cache in the MIPS linux ?
Date: Wed, 22 Apr 2009 12:50:36 +0200	[thread overview]
Message-ID: <m31vrlgdxf.fsf@anduin.mandriva.com> (raw)
In-Reply-To: <23172497.post@talk.nabble.com> (fredtan's message of "Wed, 22 Apr 2009 02:08:13 -0700 (PDT)")

fredtan <tanflying@gmail.com> writes:

> D_CACHE,then invalidate I_CACHE,then run the code. My MIPS does not have
> SYNCI instruction,Cache 
>
> instruction is a privilege instruction, the program has no right to use it.
> So , What can I do ?

use cacheflush()

Arnaud

  reply	other threads:[~2009-04-22 10:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-22  9:08 how to clear the D_cache and I_cache in the MIPS linux ? fredtan
2009-04-22 10:50 ` Arnaud Patard [this message]
2009-04-22 11:34   ` Ralf Baechle

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=m31vrlgdxf.fsf@anduin.mandriva.com \
    --to=apatard@mandriva.com \
    --cc=linux-mips@linux-mips.org \
    --cc=tanflying@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.