Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752717Ab1BDUO6 (ORCPT ); Fri, 4 Feb 2011 15:14:58 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:34466 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752173Ab1BDUO4 convert rfc822-to-8bit (ORCPT ); Fri, 4 Feb 2011 15:14:56 -0500 MIME-Version: 1.0 X-Originating-IP: [172.22.72.244] In-Reply-To: <20110204194954.GA25180@kroah.com> References: <1295559715-14264-1-git-send-email-rmorell@nvidia.com> <1296097609-32302-4-git-send-email-rmorell@nvidia.com> <20110204194954.GA25180@kroah.com> Date: Fri, 4 Feb 2011 12:14:54 -0800 Message-ID: Subject: Re: [PATCH 3/3] USB: ehci: tegra: Align DMA transfers to 32 bytes From: Olof Johansson To: Greg KH Cc: Robert Morell , David Brownell , Greg Kroah-Hartman , Benoit Goby , Alan Stern , Sarah Sharp , Matthew Wilcox , Ming Lei , Jacob Pan , Oliver Neukum , Erik Gilling , Colin Cross , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1161 Lines: 29 On Fri, Feb 4, 2011 at 11:49 AM, Greg KH wrote: > 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? It hasn't been posted for upstream yet, so nothing for you to do. The driver will be posted for review soon, hopefully in time for .39. -Olof -- 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/