[Top] [All Lists]

Re: dcache issue...

To: moreau francis <>
Subject: Re: dcache issue...
From: Ralf Baechle <>
Date: Thu, 20 Jan 2005 14:49:22 +0100
In-reply-to: <>
Original-recipient: rfc822;
References: <>
User-agent: Mutt/1.4.1i
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.


<Prev in Thread] Current Thread [Next in Thread>