Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753567Ab0A2QlG (ORCPT ); Fri, 29 Jan 2010 11:41:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752406Ab0A2QlE (ORCPT ); Fri, 29 Jan 2010 11:41:04 -0500 Received: from smtp-out003.kontent.com ([81.88.40.217]:44375 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751239Ab0A2QlB (ORCPT ); Fri, 29 Jan 2010 11:41:01 -0500 From: Oliver Neukum To: Catalin Marinas Subject: Re: USB mass storage and ARM cache coherency Date: Fri, 29 Jan 2010 17:41:11 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.33-rc3-0.1-default; KDE/4.3.1; x86_64; ; ) Cc: Ming Lei , Matthew Dharm , linux-usb@vger.kernel.org, "linux-kernel" References: <1264775655.4242.85.camel@pc1117.cambridge.arm.com> <1264782843.4242.91.camel@pc1117.cambridge.arm.com> In-Reply-To: <1264782843.4242.91.camel@pc1117.cambridge.arm.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001291741.11786.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 914 Lines: 23 Am Freitag, 29. Januar 2010 17:34:03 schrieb Catalin Marinas: > I was thinking about checking dev->bus->controller->dma_mask which the > code (though not the storage one) seems to imply that if the dma_mask is > 0, the HCD driver is only capable of PIO. That a HCD is capable of DMA need not imply that DMA is used for every transfer. > That would be a more general solution rather than going through each HCD > driver since my understanding is that flush_dcache_page() is only needed > together with the mass storage support. What about ub, nfs or nbd over a USB<->ethernet converter? This, I am afraid is best solved at the HCD or glue layer. 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/