Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932527AbWCBUa5 (ORCPT ); Thu, 2 Mar 2006 15:30:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932528AbWCBUa4 (ORCPT ); Thu, 2 Mar 2006 15:30:56 -0500 Received: from caramon.arm.linux.org.uk ([212.18.232.186]:28687 "EHLO caramon.arm.linux.org.uk") by vger.kernel.org with ESMTP id S932527AbWCBUa4 (ORCPT ); Thu, 2 Mar 2006 15:30:56 -0500 Date: Thu, 2 Mar 2006 20:30:39 +0000 From: Russell King To: James Bottomley Cc: Tejun Heo , Dave Miller , axboe@suse.de, bzolnier@gmail.com, james.steward@dynamicratings.com, jgarzik@pobox.com, linux-kernel@vger.kernel.org, mattjreimer@gmail.com Subject: Re: [PATCHSET] block: fix PIO cache coherency bug Message-ID: <20060302203039.GH28895@flint.arm.linux.org.uk> Mail-Followup-To: James Bottomley , Tejun Heo , Dave Miller , axboe@suse.de, bzolnier@gmail.com, james.steward@dynamicratings.com, jgarzik@pobox.com, linux-kernel@vger.kernel.org, mattjreimer@gmail.com References: <11371658562541-git-send-email-htejun@gmail.com> <1137167419.3365.5.camel@mulgrave> <20060113182035.GC25849@flint.arm.linux.org.uk> <1137177324.3365.67.camel@mulgrave> <20060113190613.GD25849@flint.arm.linux.org.uk> <20060222082732.GA24320@htj.dyndns.org> <1141325189.3238.37.camel@mulgrave.il.steeleye.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1141325189.3238.37.camel@mulgrave.il.steeleye.com> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1542 Lines: 35 On Thu, Mar 02, 2006 at 12:46:28PM -0600, James Bottomley wrote: > On Wed, 2006-02-22 at 17:27 +0900, Tejun Heo wrote: > > The objection raised by James Bottomley is that although syncing the > > kernel page is the responsbility of the driver, syncing user page is > > not; thus, use of flush_dcache_page() is excessive. James suggested > > use of flush_kernel_dcache_page(). > > The problem is that it's not only excessive, it would entangle us with > mm locking. Basically, all you want to ensure is that the underlying > memory has the information after you've done (rather than the CPU > cache), flush_kernel_dcache_page() will achieve this. The block layer > itself takes care of user space coherency. Your understanding of the problem on ARM remains fundamentally flawed. I see no way to resolve this since you don't seem to listen or accept my reasoning. Therefore, message I'm getting from you is that we are not allowed to have an ARM system which can possibly work correctly with PIO. As a result, I have no further interest in trying to resolve this issue, period. ARM people will just have to accept that PIO mode IDE drivers just will not be an option. Thanks. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/