Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: moreau francis <francis_moreau2000@yahoo.fr>
Cc: linux-mips@linux-mips.org
Subject: Re: dcache issue...
Date: Thu, 20 Jan 2005 14:49:22 +0100	[thread overview]
Message-ID: <20050120134922.GA3684@linux-mips.org> (raw)
In-Reply-To: <20050120111543.38076.qmail@web25105.mail.ukl.yahoo.com>

On Thu, Jan 20, 2005 at 12:15:43PM +0100, moreau francis wrote:

> I almost done to run linux in kseg2. But I noticed a
> bug
> related to the cache that I can't explain. Maybe
> you'll
> have an idea...
> 
> I configured kseg2 to map kernel space, and to be
> "uncached". So when accessing kernel space, virtual
> addr > 0xc0000000, I don't use both icache and dcache.
> When kernel maps a user page in user space, it uses
> data cache. In this scenario, some kernel data are
> corrupted. But when I map kernel space and activate
> caches to access it, it seems to work.

Live is tough, use caches ;-)

Mixing different cache modes for results in unspecified behaviour, such
as data corruption.

  Ralf

  reply	other threads:[~2005-01-20 13:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-20 11:15 dcache issue moreau francis
2005-01-20 13:49 ` Ralf Baechle [this message]
2005-01-20 14:00   ` moreau francis
2005-01-20 14:18     ` Maciej W. Rozycki
2005-01-20 14:34       ` Ralf Baechle
2005-01-20 15:11         ` moreau francis

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=20050120134922.GA3684@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=francis_moreau2000@yahoo.fr \
    --cc=linux-mips@linux-mips.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