From owner-freebsd-arm@FreeBSD.ORG Tue May 6 09:19:03 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8EA46145; Tue, 6 May 2014 09:19:03 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 45E48969; Tue, 6 May 2014 09:19:02 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 56CD31FE029; Tue, 6 May 2014 11:19:00 +0200 (CEST) Message-ID: <5368A93D.3070608@selasky.org> Date: Tue, 06 May 2014 11:19:57 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Adrian Chadd , Ian Lepore Subject: Re: USB isochronous traffic with Rasberry Pi [WAS: Re: USB audio device on Raspberry Pi] 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> <5362638B.1080104@selasky.org> <5363C133.2000304@selasky.org> <53677CB8.5000800@selasky.org> <1399303695.22079.239.camel@revolution.hippie.lan> <1399304157.22079.243.camel@revolution.hippie.lan> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 May 2014 09:19:03 -0000 On 05/05/14 17:51, Adrian Chadd wrote: > On 5 May 2014 08:35, Ian Lepore 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