Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755839Ab0BBLsP (ORCPT ); Tue, 2 Feb 2010 06:48:15 -0500 Received: from smtp-out003.kontent.com ([81.88.40.217]:53685 "EHLO smtp-out003.kontent.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752029Ab0BBLsO (ORCPT ); Tue, 2 Feb 2010 06:48:14 -0500 From: Oliver Neukum To: Catalin Marinas Subject: Re: USB mass storage and ARM cache coherency Date: Tue, 2 Feb 2010 12:48:10 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.33-rc3-0.1-default; KDE/4.3.1; x86_64; ; ) Cc: Matthew Dharm , Sergei Shtylyov , Ming Lei , linux-usb@vger.kernel.org, "linux-kernel" , Sebastian Siewior , Greg KH References: <20100129185434.GH19501@one-eyed-alien.net> <1265045354.25750.52.camel@pc1117.cambridge.arm.com> In-Reply-To: <1265045354.25750.52.camel@pc1117.cambridge.arm.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201002021248.10994.oliver@neukum.org> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 715 Lines: 18 Am Montag, 1. Februar 2010 18:29:14 schrieb Catalin Marinas: > + if (usb_pipein(urb->pipe) && usb_pipetype(urb->pipe) == PIPE_BULK) { > + void *ptr; > + for (ptr = urb->transfer_buffer; > + ptr < urb->transfer_buffer + urb->transfer_buffer_length; > + ptr += PAGE_SIZE) > + flush_dcache_page(virt_to_page(ptr)); Is it correct to limit this to BULK pipes? 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/