From owner-svn-src-projects@freebsd.org Tue Oct 16 16:55:19 2018 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5F38310DA73F for ; Tue, 16 Oct 2018 16:55:19 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14B7C75622; Tue, 16 Oct 2018 16:55:18 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id D1C5810AFD2; Tue, 16 Oct 2018 12:55:16 -0400 (EDT) Subject: Re: svn commit: r339382 - projects/power8_bringup_hacks/sys/dev/bge To: Leandro Lupori , src-committers@freebsd.org, svn-src-projects@freebsd.org References: <201810161636.w9GGa3Nl001743@repo.freebsd.org> From: John Baldwin Message-ID: <8a90e167-a4ac-c32f-ae9c-d71f0fcb5471@FreeBSD.org> Date: Tue, 16 Oct 2018 09:55:13 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <201810161636.w9GGa3Nl001743@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Tue, 16 Oct 2018 12:55:18 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2018 16:55:19 -0000 On 10/16/18 9:36 AM, Leandro Lupori wrote: > Author: luporl > Date: Tue Oct 16 16:36:02 2018 > New Revision: 339382 > URL: https://svnweb.freebsd.org/changeset/base/339382 > > Log: > bge(4): limit DMA address to 2GB > > This is a temporary hack, to avoid POWER8 Broadcom NICs from becoming > unusable after transferring a reasonable amount of data. > The issue is the same as that of AHCI, where DMA addresses above 2GB > do not work and causes PCI errors. Is the issue bge specific or specific to the PCI chipset in these boxes? If the latter, the better approach would be to set the limit in a tag the chipset provides that all child devices would then inherit. -- John Baldwin