From: Peter Mamonov <pmamonov@gmail.com>
To: Sascha Hauer <s.hauer@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH 0/2] usb: core: return -EAGAIN on usb_* functions reentrance
Date: Thu, 15 Oct 2015 15:38:56 +0300 [thread overview]
Message-ID: <20151015153856.71d1506a@berta> (raw)
In-Reply-To: <20151014140908.GS7858@pengutronix.de>
On Wed, 14 Oct 2015 16:09:08 +0200
Sascha Hauer <s.hauer@pengutronix.de> wrote:
> Hi Peter,
>
> On Wed, Oct 14, 2015 at 01:15:47PM +0300, Peter Mamonov wrote:
> > The second patch of this patch set adds reentrance detection to
> > the the following functions: usb_submit_int_msg, usb_control_msg and
> > usb_bulk_msg. These functions will return -EAGAIN if reentered.
> > Other public usb_* functions call one of these three functions.
> > This patch enables one to use regular *delay() functions
> > throughout the ehci-hcd.c.
> >
> > The first patch adds check for -EAGAIN return value to the usb
> > keyboard driver. The driver will skip keyboard poll upon getting
> > this error value from either usb_submit_int_msg() or
> > usb_get_report() functions.
> >
> > Peter Mamonov (2):
> > input: usb_kbd: skip poll on -EAGAIN error
> > usb: core: return -EAGAIN on usb_* functions reentrance
>
> Applied on -next. I believe we no longer need mdelay_non_interruptible
> in the ehci-hcd driver, right? Also we don't have to detect
> re-entrancy in the ehci driver anymore. I have applied some patches
> removing that to -next. Could you check the result?
Yes.
Yes.
I've tested the current "next" branch - the usb stuff works fine.
>
> Sascha
>
>
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2015-10-15 12:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-14 10:15 Peter Mamonov
2015-10-14 10:15 ` [PATCH 1/2] input: usb_kbd: skip poll on -EAGAIN error Peter Mamonov
2015-10-14 10:15 ` [PATCH 2/2] usb: core: return -EAGAIN on usb_* functions reentrance Peter Mamonov
2015-10-14 14:09 ` [PATCH 0/2] " Sascha Hauer
2015-10-15 12:38 ` Peter Mamonov [this message]
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=20151015153856.71d1506a@berta \
--to=pmamonov@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=s.hauer@pengutronix.de \
/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