Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754110Ab0BQJPy (ORCPT ); Wed, 17 Feb 2010 04:15:54 -0500 Received: from smtp-out002.kontent.com ([81.88.40.216]:51484 "EHLO smtp-out002.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751055Ab0BQJPw (ORCPT ); Wed, 17 Feb 2010 04:15:52 -0500 From: Oliver Neukum To: Benjamin Herrenschmidt Subject: Re: USB mass storage and ARM cache coherency Date: Wed, 17 Feb 2010 10:15:52 +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> <201002160922.47072.oliver@neukum.org> <1266397543.16346.264.camel@pasglop> In-Reply-To: <1266397543.16346.264.camel@pasglop> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201002171015.52875.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 23 Am Mittwoch, 17. Februar 2010 10:05:43 schrieb Benjamin Herrenschmidt: > > Would you care to elaborate on the exact nature of the bug you are > > fixing? > > I missed part of this thread, so forgive me if I'm a bit off here, but > if the problem is indeed I$/D$ cache coherency vs. PIO transfers, then > this is a long solved issue on other archs such as ppc (and I think > sparc). We should have changed the subject line. There's a second problem. It turns out that on ARM mapping for DMA must not be done if PIO will be used. Some HCDs use PIO for some transfers but DMA for others. The generic layer must learn about this. 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/