From owner-freebsd-amd64@FreeBSD.ORG Mon Apr 13 17:55:08 2009 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 57C561065670 for ; Mon, 13 Apr 2009 17:55:08 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id DB72D8FC13 for ; Mon, 13 Apr 2009 17:55:03 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 9DBED46B2E; Mon, 13 Apr 2009 13:54:57 -0400 (EDT) Received: from jhbbsd.hudson-trading.com (unknown [209.249.190.8]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 78D648A04E; Mon, 13 Apr 2009 13:54:46 -0400 (EDT) From: John Baldwin To: freebsd-amd64@freebsd.org Date: Mon, 13 Apr 2009 11:56:35 -0400 User-Agent: KMail/1.9.7 References: <200904121520.n3CFK6G8032035@freefall.freebsd.org> <20090412193044.GN3014@deviant.kiev.zoral.com.ua> In-Reply-To: <20090412193044.GN3014@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200904131156.36255.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 13 Apr 2009 13:54:46 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.1 required=4.2 tests=RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Scott Long Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates bounce buffer requirements for userspace buffers X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 17:55:08 -0000 On Sunday 12 April 2009 3:30:44 pm Kostik Belousov wrote: > On Sun, Apr 12, 2009 at 03:20:06PM +0000, Scott Long wrote: > > The following reply was made to PR amd64/133592; it has been noted by GNATS. > > > > From: Scott Long > > To: bug-followup@FreeBSD.org, jason.harmening@gmail.com > > Cc: > > Subject: Re: amd64/133592: [busdma] [patch] busdma incorrectly calculates > > bounce buffer requirements for userspace buffers > > Date: Sun, 12 Apr 2009 08:53:47 -0600 > > > > You're right, it's definitely a problem. The patch looks correct, feel > > free to commit to i386, amd64, and ia64. Arm needs a similar fix, but > > the code looks to be somewhat different. > > Below is updated patch. It was compile-tested on all affected arches. > Scott, any notes ? I've had a similar patch in a branch for years, it should definitely go in. -- John Baldwin