Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Sep 2013 23:03:24 +0400
From:      Lev Serebryakov <lev@FreeBSD.org>
To:        Hans Petter Selasky <hans.petter.selasky@bitfrost.no>
Cc:        Harald Schmalzbauer <h.schmalzbauer@omnilan.de>, FreeBSD Stable <freebsd-stable@FreeBSD.org>, freebsd-usb@FreeBSD.org
Subject:   Re: umcs (4-Port-USB-serial) triggering way too much ehci IRQs
Message-ID:  <1708432807.20130917230324@serebryakov.spb.ru>
In-Reply-To: <52381FCA.5030509@bitfrost.no>
References:  <52372DBA.6020703@omnilan.de> <zarafa.5237e529.2bc6.08fde6eb34c27a87@mail.lockless.no> <875323075.20130917124437@serebryakov.spb.ru> <523816E1.10603@omnilan.de> <1857258551.20130917124737@serebryakov.spb.ru> <5238198C.3070604@bitfrost.no> <52381BAC.5010801@omnilan.de> <52381FCA.5030509@bitfrost.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Hans.
You wrote 17 =D1=81=D0=B5=D0=BD=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2013 =D0=B3.,=
 13:24:26:

HPS> Try this patch and see what happens:
 It could throttle interrupts, but it doesn't explain, why device spams with
interrupts when all ports are closed and all UART interrupts are disabled!

HPS> BTW: I see that the umcs driver shouldn't do synchronous control=20
HPS> transfers from the USB interrupt transfer callback. This should be=20
HPS> postponed into some worker thread, for example the USB explore thread.=
=20
HPS> See USB audio driver for an example.
 I've copied code from some other ucom driver... I'll take a look at USB
audio.

--=20
// Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1708432807.20130917230324>