From owner-freebsd-current@FreeBSD.ORG Sun Dec 7 16:19:50 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B3761065670; Sun, 7 Dec 2008 16:19:50 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (alchemy.franken.de [194.94.249.214]) by mx1.freebsd.org (Postfix) with ESMTP id D06008FC19; Sun, 7 Dec 2008 16:19:49 +0000 (UTC) (envelope-from marius@alchemy.franken.de) Received: from alchemy.franken.de (localhost [127.0.0.1]) by alchemy.franken.de (8.14.3/8.14.3/ALCHEMY.FRANKEN.DE) with ESMTP id mB7GJmHC082882; Sun, 7 Dec 2008 17:19:48 +0100 (CET) (envelope-from marius@alchemy.franken.de) Received: (from marius@localhost) by alchemy.franken.de (8.14.3/8.14.3/Submit) id mB7GJl8w082881; Sun, 7 Dec 2008 17:19:47 +0100 (CET) (envelope-from marius) Date: Sun, 7 Dec 2008 17:19:47 +0100 From: Marius Strobl To: Hans Petter Selasky Message-ID: <20081207161947.GA82662@alchemy.franken.de> References: <20081107082740.GA1334@icarus.home.lan> <200811081023.10058.hselasky@freebsd.org> <200811161408.21562.hselasky@c2i.net> <200812061334.55365.hselasky@c2i.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200812061334.55365.hselasky@c2i.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, Alfred Perlstein , freebsd-usb@freebsd.org Subject: Re: [Serious] busdma bug in -current in relation to USB hardware - review wanted X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 16:19:50 -0000 On Sat, Dec 06, 2008 at 01:34:54PM +0100, Hans Petter Selasky wrote: > Hi, > > After various feedback from several people I have made a new patch proposal > that will fix the busdma problem. > > See: > > http://perforce.freebsd.org/chv.cgi?CH=154181 > > Review wanted! > > I don't know how to patch the psyco interface for SUN. Maybe there is nothing > that needs to be patched? Neither sparc64 nor sun4u has support for bounce buffers; it's not really worth the effort to implement IOMMU-bypass and bounce buffers for the few devices only doing < 32-bit DMA and for >= 32-bit DMA the IOMMU takes care of the address translation for all practical purposes. In any case this isn't specific to psycho(4). Marius