Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751944Ab0BQKXb (ORCPT ); Wed, 17 Feb 2010 05:23:31 -0500 Received: from smtp-out002.kontent.com ([81.88.40.216]:58725 "EHLO smtp-out002.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751196Ab0BQKX3 (ORCPT ); Wed, 17 Feb 2010 05:23:29 -0500 From: Oliver Neukum To: Benjamin Herrenschmidt Subject: Re: USB mass storage and ARM cache coherency Date: Wed, 17 Feb 2010 11:23:30 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.33-rc6-0.1-default; KDE/4.3.1; x86_64; ; ) Cc: "Shilimkar, Santosh" , Matthew Dharm , "Russell King - ARM Linux" , Ming Lei , "Mankad, Maulik Ojas" , Sergei Shtylyov , Catalin Marinas , Sebastian Siewior , "linux-usb@vger.kernel.org" , "linux-kernel" , Pavel Machek , Greg KH , "linux-arm-kernel" References: <20100208065519.GE1290@ucw.cz> <201002171109.32107.oliver@neukum.org> <1266401881.16346.278.camel@pasglop> In-Reply-To: <1266401881.16346.278.camel@pasglop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201002171123.30389.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 844 Lines: 20 Am Mittwoch, 17. Februar 2010 11:18:01 schrieb Benjamin Herrenschmidt: > > No problem here. USB core does the mapping only if the low-level driver > > so requests. The only exception is in usb_buffer_alloc(), but that boils > > down to dma_alloc_coherent() > > Allright, so why do we need to "fix" anything ? Or is the whole thread > moot ? :-) The request a low-level driver does is all or nothing. Either DMA issues have to be handled by that driver alone, or a finer-grained description of the DMA requirements is needed. A fix using the latter approach is being worked on. Regards Oliver -- 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/