[Top] [All Lists]

Re: CVS linux

To: (Ralf Baechle)
Subject: Re: CVS linux
From: Kanoj Sarcar <>
Date: Wed, 6 Sep 2000 16:51:19 -0700 (PDT)
In-reply-to: <> from "Ralf Baechle" at Sep 07, 2000 01:45:21 AM
> On Wed, Sep 06, 2000 at 04:36:29PM -0700, Kanoj Sarcar wrote:
> >     Compile fix: flush only L2 cache.
> That's wrong, sysmips(FLUSH_CACHE) is supposed to flush all caches.
>   Ralf

The act of flushing the L2 cache, should include flushing the L1
cache, whether done by software or processor provided primitives, 
to guarantee the inclusion principle.

Notwithstanding, feel free to add in a call to flush_cache_l1()
(and I don't know whether you want to flush the i and d caches
both, or just one), making sure there are no compile breakages.
(the breakage that I fixed was due to the fact that there is no
__flush_cache_all for mips64).


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