Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758150Ab0BXVRI (ORCPT ); Wed, 24 Feb 2010 16:17:08 -0500 Received: from gate.crashing.org ([63.228.1.57]:51901 "EHLO gate.crashing.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758074Ab0BXVRG (ORCPT ); Wed, 24 Feb 2010 16:17:06 -0500 Subject: Re: USB mass storage and ARM cache coherency From: Benjamin Herrenschmidt To: Oliver Neukum Cc: Catalin Marinas , Matthew Dharm , Russell King - ARM Linux , Greg KH , "Mankad, Maulik Ojas" , Sergei Shtylyov , Sebastian Siewior , linux-usb@vger.kernel.org, linux-kernel , James Bottomley , "Shilimkar, Santosh" , Pavel Machek , Ming Lei , linux-arm-kernel In-Reply-To: <201002240816.10178.oliver@neukum.org> References: <1266445892.16346.306.camel@pasglop> <201002192153.22159.oliver@neukum.org> <1266979689.23523.1669.camel@pasglop> <201002240816.10178.oliver@neukum.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 25 Feb 2010 08:12:34 +1100 Message-ID: <1267045954.23523.1692.camel@pasglop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 651 Lines: 20 On Wed, 2010-02-24 at 08:16 +0100, Oliver Neukum wrote: > I don't know. The issue seems quite complex. It would seem better to > centralize it as far as practical. Do you have a wrapper drivers could > call? flush_dcache_page() ? :-) Now, the subsystem might be the one to know whether something is mapped into userspace or not (v4l in our case) in which case a wrapper could be created. Cheers, Ben. -- 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/