From owner-svn-src-head@FreeBSD.ORG Fri Jun 11 19:09:16 2010 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44338106564A; Fri, 11 Jun 2010 19:09:16 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 208708FC0C; Fri, 11 Jun 2010 19:09:15 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L3V0048R6JCAF90@asmtp024.mac.com>; Fri, 11 Jun 2010 12:09:13 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1006110125 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-06-11_02:2010-02-06, 2010-06-11, 2010-06-11 signatures=0 From: Marcel Moolenaar In-reply-to: <20100611185245.GK13776@michelle.cdnetworks.com> Date: Fri, 11 Jun 2010 12:09:11 -0700 Message-id: <5202F479-7191-4513-8470-6A5DA1C288A1@mac.com> References: <19B0DF11-5998-40F5-8095-8D2521B1C597@mac.com> <291D17F7-F387-4A13-8ED9-2898A9F7E018@mac.com> <028BA7D4-90C8-4D2D-B9A5-C1C3CF9B6D7D@samsco.org> <20100611174137.GC13776@michelle.cdnetworks.com> <9F065122-7D91-42E9-A251-5AF4AAF0B4E5@samsco.org> <20100611175016.GD13776@michelle.cdnetworks.com> <59E450BB-1E79-440E-AF82-B78E1E8FE334@mac.com> <20100611180824.GG13776@michelle.cdnetworks.com> <20100611185245.GK13776@michelle.cdnetworks.com> To: pyunyh@gmail.com X-Mailer: Apple Mail (2.1078) Cc: svn-src-head@freebsd.org, Scott Long , src-committers@freebsd.org, svn-src-all@freebsd.org, John Baldwin Subject: Re: svn commit: r209026 - in head/sys/ia64: ia64 include X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 19:09:16 -0000 On Jun 11, 2010, at 11:52 AM, Pyun YongHyeon wrote: > On Fri, Jun 11, 2010 at 11:49:14AM -0700, Marcel Moolenaar wrote: >> >> On Jun 11, 2010, at 11:08 AM, Pyun YongHyeon wrote: >> >>> On Fri, Jun 11, 2010 at 11:06:06AM -0700, Marcel Moolenaar wrote: >>>> >>>> On Jun 11, 2010, at 10:50 AM, Pyun YongHyeon wrote: >>>> >>>>>>>> >>>>>>>> I'm not clear why you even need bounce buffers for RX. The chip supports 64bit addresses with no boundary or alignment restrictions. >>>>>>>> >>>>>>> >>>>>>> Some controllers have 4G boundary bug so bge(4) restricts dma >>>>>>> address space. >>>>>> >>>>>> That limitation should be reflected in the boundary attribute of the tag, not the lowaddr/highaddr attributes. >>>>>> >>>>> >>>>> Yes, but that needed more code. And I don't have these buggy >>>>> controllers so I chose more simple way that would work even though >>>>> it may be inefficient. >>>> >>>> Do you happen to know if one or both of the hardware I have access to >>>> is the "buggy" hardware? >>>> >>> >>> Yes, both devices below can not handle 4GB boundary crossing in DMA >>> state machine. >> >> Thanks. I'll keep that in mind. If I have a few cycles I'll patch the >> kernel to allow 64-bit DMA addresses with a 4G boundary restriction >> and run that through stress2. >> > > I'll let you know when I have a patch to try on your box. I'm not sure > when that could be done though. Not to worry. I appreciate your support. Just let me know when you want me to test something. -- Marcel Moolenaar xcllnt@mac.com