From: Felipe Balbi <felipe.balbi@linux.intel.com>
To: Pavel Hofman <pavel.hofman@ivitera.com>
Cc: Linux USB <linux-usb@vger.kernel.org>, Roger Quadros <rogerq@ti.com>
Subject: Re: [PATCH] usb: dwc3: gadget: fix race when disabling ep with cancelled xfers
Date: Thu, 31 Oct 2019 11:23:26 +0200 [thread overview]
Message-ID: <87k18le0a9.fsf@gmail.com> (raw)
In-Reply-To: <3cd8a46e-8c1a-84c1-eb82-27713cf16a87@ivitera.com>
Hi,
Pavel Hofman <pavel.hofman@ivitera.com> writes:
> Hi,
>
> Dne 31. 10. 19 v 10:07 Felipe Balbi napsal(a):
>> When disabling an endpoint which has cancelled requests, we should
>> make sure to giveback requests that are currently pending in the
>> cancelled list, otherwise we may fall into a situation where command
>> completion interrupt fires after endpoint has been disabled, therefore
>> causing a splat.
>>
>
> Please is this problem (and its solution) also applicable to dwc2 (i.e.
> e.g. RPi4)?
different driver, so no.
--
balbi
next prev parent reply other threads:[~2019-10-31 9:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-31 9:07 [PATCH] usb: dwc3: gadget: fix race when disabling ep with cancelled xfers Felipe Balbi
2019-10-31 9:15 ` Pavel Hofman
2019-10-31 9:23 ` Felipe Balbi [this message]
2019-10-31 10:11 ` Pavel Hofman
2019-10-31 10:47 ` Roger Quadros
2019-10-31 10:57 ` 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=87k18le0a9.fsf@gmail.com \
--to=felipe.balbi@linux.intel.com \
--cc=linux-usb@vger.kernel.org \
--cc=pavel.hofman@ivitera.com \
--cc=rogerq@ti.com \
/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).