lkml.org 
[lkml]   [2011]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/3] USB: ehci: tegra: Align DMA transfers to 32 bytes
    On Fri, Feb 04, 2011 at 12:14:54PM -0800, Olof Johansson wrote:
    > On Fri, Feb 4, 2011 at 11:49 AM, Greg KH <greg@kroah.com> 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 <rmorell@nvidia.com>
    > >> ---
    > >>  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.

    Then why would someone send me a patch for it already?

    Still confused,

    greg k-h
    --
    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/

    \
     
     \ /
      Last update: 2011-02-04 21:21    [W:0.025 / U:0.160 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site