linux-mips
[Top] [All Lists]

Re: missing flush_dcache_page call in 2.4 kernel

To: Peter Horton <pdh@colonel-panic.org>
Subject: Re: missing flush_dcache_page call in 2.4 kernel
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
Date: Fri, 26 Mar 2004 20:27:51 +0100 (CET)
Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp>, phorton@bitbox.co.uk, linux-mips@linux-mips.org
In-reply-to: <20040326184317.GA3661@skeleton-jack>
Organization: Technical University of Gdansk
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20040325.224229.112629304.nemoto@toshiba-tops.co.jp> <20040325143319.GA873@linux-mips.org> <4062F1A1.9070005@bitbox.co.uk> <20040326.122258.41628012.nemoto@toshiba-tops.co.jp> <20040326184317.GA3661@skeleton-jack>
Sender: linux-mips-bounce@linux-mips.org
On Fri, 26 Mar 2004, Peter Horton wrote:

> > I'm quite sure that it's a kernel bug and may cause problems if any
> > PIO block device (PIO ide, ide-cs, mtdblock, etc.) are used on CPUs
> > which have d-cache aliases (not only MIPS).  We need a correct fix ...
> 
> True. A proper fix would flush the relevant page after PIO transfers
> into the page cache / swap pages. Unfortunately this would require a
> hook in the generic kernel.

 Why is it unfortunate?  A bug in generic code deserves a fix just like 
any other.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

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