From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: [PATCH 3/3] USB: ehci: tegra: Align DMA transfers to 32 bytes Date: Fri, 4 Feb 2011 11:49:54 -0800 Message-ID: <20110204194954.GA25180@kroah.com> References: <1295559715-14264-1-git-send-email-rmorell@nvidia.com> <1296097609-32302-4-git-send-email-rmorell@nvidia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1296097609-32302-4-git-send-email-rmorell@nvidia.com> Sender: linux-kernel-owner@vger.kernel.org To: Robert Morell Cc: David Brownell , Greg Kroah-Hartman , Benoit Goby , Alan Stern , Sarah Sharp , Matthew Wilcox , Ming Lei , Jacob Pan , Oliver Neukum , Olof Johansson , Erik Gilling , Colin Cross , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org List-Id: linux-tegra@vger.kernel.org On Wed, Jan 26, 2011 at 07:06:49PM -0800, Robert Morell wrote: > The Tegra2 USB controller doesn't properly deal with misaligned DMA > buffers, causing corruption. This is especially prevalent with USB > network adapters, where skbuff alignment is often in the middle of a > 4-byte dword. > > To avoid this, allocate a temporary buffer for the DMA if the provided > buffer isn't sufficiently aligned. > > Signed-off-by: Robert Morell > --- > drivers/usb/host/ehci-tegra.c | 90 +++++++++++++++++++++++++++++++++++++++++ This file doesn't seem to be in any tree that I can find, including my own, so I can't apply this patch. What am I supposed to do with it? confused, greg k-h