From owner-svn-src-head@FreeBSD.ORG Thu Jan 22 16:27:26 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0C4DCBB; Thu, 22 Jan 2015 16:27:26 +0000 (UTC) Received: from mx1.sbone.de (mx1.sbone.de [IPv6:2a01:4f8:130:3ffc::401:25]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 57E58C6F; Thu, 22 Jan 2015 16:27:26 +0000 (UTC) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 2A6AA25D3815; Thu, 22 Jan 2015 16:27:13 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id D724FC7700C; Thu, 22 Jan 2015 16:27:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Cvh6QVbohJBu; Thu, 22 Jan 2015 16:27:01 +0000 (UTC) Received: from [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6] (orange-tun0-ula.sbone.de [IPv6:fde9:577b:c1a9:4420:cabc:c8ff:fe8b:4fe6]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id D3509C76FFA; Thu, 22 Jan 2015 16:27:00 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Subject: Re: svn commit: r277511 - head/sys/dev/firewire From: "Bjoern A. Zeeb" In-Reply-To: <201501212008.t0LK8PhR001309@svn.freebsd.org> Date: Thu, 22 Jan 2015 16:26:58 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201501212008.t0LK8PhR001309@svn.freebsd.org> To: Will Andrews , gibbs@FreeBSD.org X-Mailer: Apple Mail (2.1993) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Thu, 22 Jan 2015 16:27:26 -0000 > On 21 Jan 2015, at 20:08 , Will Andrews wrote: >=20 > Author: will > Date: Wed Jan 21 20:08:24 2015 > New Revision: 277511 > URL: https://svnweb.freebsd.org/changeset/base/277511 >=20 > Log: > Fix remote DMA based firewire debugging when targeting > systems with more than 4GB of physical memory. >=20 > To remotely debug the system 'stealthy' which has a kernel > with this change installed and firewire properly configured: >=20 > % fwcontrol -m stealthy (or stealthy's firewire EUI64) > % kgdb kernel /dev/fwmem0.0 >=20 > sys/dev/firewire/fwohci.c: > Rather than hard code the upper limit for hw based > automatic responses to remote DMA requests at 4GB, > program the hardware using Maxmem, the page number > one higher than the highest physical page detected > in the system. >=20 > While here, garbage collect more useless splfw() > calls. >=20 > Submitted by: gibbs > MFC after: 1 week > Sponsored by: Spectra Logic > MFSpectraBSD: 1110994 on 2015/01/06 arm doesn=E2=80=99t define a Maxmem; the kernel builds are thus = currently broken. converting beaglebone.dts -> = /storage/head/obj/arm.armv6/scratch/tmp/bz/head.svn/sys/BEAGLEBONE/beagleb= one.dtb = /scratch/tmp/bz/head.svn/sys/modules/firewire/firewire/../../../dev/firewi= re/fwohci.c:1856:28: error: use of undeclared identifier 'Maxmem' prequpper =3D ((uintmax_t)Maxmem << PAGE_SHIFT) = >> 16; ^ = /scratch/tmp/bz/head.svn/sys/modules/firewire/firewire/../../../dev/firewi= re/fwohci.c:1862:20: error: use of undeclared identifier 'Maxmem' (uintmax_t)Maxmem << PAGE_SHIFT, ^ 2 errors generated. =E2=80=94=20 Bjoern A. Zeeb Charles Haddon Spurgeon: "Friendship is one of the sweetest joys of life. Many might have failed beneath the bitterness of their trial had they not found a friend."