From owner-freebsd-arm@FreeBSD.ORG Tue Jul 14 09:21:41 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E81C106564A; Tue, 14 Jul 2009 09:21:41 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 1E14A8FC13; Tue, 14 Jul 2009 09:21:40 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from [10.0.0.34] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 4B5EFC3A96; Tue, 14 Jul 2009 11:18:35 +0200 (CEST) Message-Id: From: Rafal Jaworowski To: Hans Petter Selasky In-Reply-To: <200907141036.44652.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v935.3) Date: Tue, 14 Jul 2009 11:21:39 +0200 References: <200906231035.43096.kosmo@semihalf.com> <200907091834.42462.hselasky@c2i.net> <200907141031.11185.kosmo@semihalf.com> <200907141036.44652.hselasky@c2i.net> X-Mailer: Apple Mail (2.935.3) Cc: thompsa@freebsd.org, freebsd-arm@freebsd.org, Marcel Moolenaar , =?ISO-8859-2?Q?Piotr_Zi=EAcik?= , freebsd-usb@freebsd.org Subject: Re: CPU Cache and busdma usage in USB X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 09:21:42 -0000 On 2009-07-14, at 10:36, Hans Petter Selasky wrote: > On Tuesday 14 July 2009 10:31:10 Piotr Zi=EAcik wrote: >>> 1) My analysis: Only the data areas are being flushed/invalidated. =20= >>> No >>> transfer descriptors are flushed/invalidated. I see no cache =20 >>> operations >>> happening on any DMA control structures, even though there are =20 >>> calls from >>> EHCI to xxx_pc_flush() and xxx_pc_invalidate(). >> > >> Probaby you see more on your AT91 device as you know USB stack =20 >> internals. >> Have you tried to bring up OHCI on you ARM board ? > > Not yet. I'm terribly busy with some LibUSB stuff headed for the 8-=20 > current > release. As soon as I find time I will fire off a build and debug. Please note these problems should be considered as a showstopper for =20 the release since USB is currently broken on at least three ARM =20 platforms in the tree (Marvell). > BTW: Has pmap been fixed for ARM in 8-current? Seems like the most critical problems (panics) are resolved and will =20 be pushed into SVN shortly. In case you'd like to apply the fix =20 directly, see: = http://people.freebsd.org/~raj/patches/arm/pmap-fixes.diff Rafal