Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 2014 11:19:57 +0200
From:      Hans Petter Selasky <hps@selasky.org>
To:        Adrian Chadd <adrian@freebsd.org>, Ian Lepore <ian@freebsd.org>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: USB isochronous traffic with Rasberry Pi [WAS: Re: USB audio device on Raspberry Pi]
Message-ID:  <5368A93D.3070608@selasky.org>
In-Reply-To: <CAJ-Vmok-%2B7%2Bcq%2BDa6_C2AA7BuP5readY_Gfwwm_RF5kh4VerQA@mail.gmail.com>
References:  <20140425154430.GA76168@utility-01.thismonkey.com> <535A8AEA.1000100@selasky.org> <20140425204134.GA458@cicely7.cicely.de> <20140430091411.GA45015@utility-01.thismonkey.com> <5360C0A7.9010407@selasky.org> <1398867266.22079.51.camel@revolution.hippie.lan> <CAGW5k5bZ_bTQUXuzNm=tbwx3npz1_HoOR3vM8TBRVFs8zWCq-w@mail.gmail.com> <5362638B.1080104@selasky.org> <5363C133.2000304@selasky.org> <53677CB8.5000800@selasky.org> <CAJ-Vmo=XmH-RX6_i13NuAXhq-jTC%2BWedGiyOMJaPO4r014DSgw@mail.gmail.com> <1399303695.22079.239.camel@revolution.hippie.lan> <1399304157.22079.243.camel@revolution.hippie.lan> <CAJ-Vmok-%2B7%2Bcq%2BDa6_C2AA7BuP5readY_Gfwwm_RF5kh4VerQA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 05/05/14 17:51, Adrian Chadd wrote:
> On 5 May 2014 08:35, Ian Lepore <ian@freebsd.org> wrote:
>
>> Oh never mind, I just noticed you said KTR, not printf.
>
> Heh.
>
> That's why I like KTR.
>
> I bet some devices dislike you doing the "read registers all the time"
> dance. Espeically if they're on an ISA bus where it's really expensive
> to do things. But yes, your point is pretty spot on.
>

Hi,

I've made another patch to reduce the number of interrupts generated by 
the DWC OTG in host mode:

http://svnweb.freebsd.org/changeset/base/265427

Still it is loosing service intervals at fixed rate 8K/second.

I added to DELAY():

if (!cold)
	return;

It made no difference.

I also tried to set INTR_PRIO_TTY instead of XXX_BIO.

No difference either.

I'll do some more checking later today.

--HPS



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