stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Felipe Balbi <felipe.balbi@linux.intel.com>
Cc: stable@vger.kernel.org, nsekhar@ti.com, rogerq@ti.com,
	januszx.dziedzic@intel.com
Subject: Re: [PATCH v2] usb: dwc3: gadget: delay unmap of bounced requests
Date: Mon, 10 Apr 2017 16:48:08 +0200	[thread overview]
Message-ID: <20170410144808.GA3433@kroah.com> (raw)
In-Reply-To: <20170410141513.7228-1-felipe.balbi@linux.intel.com>

On Mon, Apr 10, 2017 at 05:15:13PM +0300, Felipe Balbi wrote:
> From: Janusz Dziedzic <januszx.dziedzic@intel.com>
> 
> commit de288e36fe33f7e06fa272bc8e2f85aa386d99aa upstream.
> 
> In the case of bounced ep0 requests, we must delay DMA operation until
> after ->complete() otherwise we might overwrite contents of req->buf.
> 
> This caused problems with RNDIS gadget.
> 
> Cc: <stable@vger.kernel.org>
> Fixes: d62145929992 ("usb: dwc3: gadget: always unmap EP0 requests")
> Signed-off-by: Janusz Dziedzic <januszx.dziedzic@intel.com>
> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
> ---
> 
> Note that this commit needs to be backported to all kernels where
> d62145929992 was backported.

This patch only applied to 4.10-stable.  It should go also to at least
4.4 and 4.9-stable, but it does not apply.  Can you provide a backport
for those kernels as well?

thanks,

greg k-h

  reply	other threads:[~2017-04-10 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-10 14:15 [PATCH v2] usb: dwc3: gadget: delay unmap of bounced requests Felipe Balbi
2017-04-10 14:48 ` Greg Kroah-Hartman [this message]
2017-04-10 14:54   ` Felipe Balbi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170410144808.GA3433@kroah.com \
    --to=gregkh@linuxfoundation.org \
    --cc=felipe.balbi@linux.intel.com \
    --cc=januszx.dziedzic@intel.com \
    --cc=nsekhar@ti.com \
    --cc=rogerq@ti.com \
    --cc=stable@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).