linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Vincent Pelletier <plr.vincent@gmail.com>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Artur Petrosyan <Arthur.Petrosyan@synopsys.com>,
	"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
	Minas Harutyunyan <Minas.Harutyunyan@synopsys.com>
Subject: Re: dwc2 gadget rejecting new AIO transfer when bus is suspended
Date: Sun, 27 Dec 2020 01:49:00 +0000	[thread overview]
Message-ID: <20201227014900.2ff91bab@gmail.com> (raw)
In-Reply-To: <20201226165230.GB606763@rowland.harvard.edu>

Hello Alan,

On Sat, 26 Dec 2020 11:52:30 -0500, Alan Stern <stern@rowland.harvard.edu> wrote:
> The kernel shouldn't have to sit on anything.  The requests should be 
> accepted immediately.

I must have used this sentence incorrectly: I meant what you described,
the kernel accepting the transfer and the module submitting it to
hardware whenever able.

Also, strictly speaking (and to avoid confusion if I failed further at
English expression in my previous emails) aio_submit itself does
succeed, so in a sense the kernel already accepts the transfer. The
issue is that the transfer completion happens immediately after, with
this EAGAIN status.

Regards,
-- 
Vincent Pelletier

  reply	other threads:[~2020-12-27  1:58 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-24 12:50 dwc2 gadget rejecting new AIO transfer when bus is suspended Vincent Pelletier
2020-12-25 10:56 ` Artur Petrosyan
2020-12-26  0:46   ` Vincent Pelletier
2020-12-26 16:52     ` Alan Stern
2020-12-27  1:49       ` Vincent Pelletier [this message]
2020-12-29  7:29         ` Artur Petrosyan
2021-01-05 13:46           ` Vincent Pelletier

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=20201227014900.2ff91bab@gmail.com \
    --to=plr.vincent@gmail.com \
    --cc=Arthur.Petrosyan@synopsys.com \
    --cc=Minas.Harutyunyan@synopsys.com \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /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).