From owner-freebsd-arm@FreeBSD.ORG Fri Feb 8 22:30:48 2013 Return-Path: Delivered-To: freebsd-arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8A56F4B4; Fri, 8 Feb 2013 22:30:48 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 2AF276C4; Fri, 8 Feb 2013 22:30:47 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1U3wTH-0005IU-Lq; Fri, 08 Feb 2013 22:31:03 +0000 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1U3wSx-000FMj-1S; Fri, 08 Feb 2013 22:30:43 +0000 Date: Fri, 8 Feb 2013 22:30:11 +0000 From: Steve O'Hara-Smith To: Andrew Turner Subject: Re: named kills raspberry pi Message-Id: <20130208223011.b1790cdc86120b43788825b1@sohara.org> In-Reply-To: <20130209102413.5c5d8fe6@bender> References: <20130207223038.ec308967273d6a16c41be97b@sohara.org> <20130208075702.a755649a60d10dabf10a058b@sohara.org> <0B9B84F3-D627-497F-B1DA-BE4D0F9BC5DA@bsdimp.com> <20130208121803.e6b57c3822271cce6e56b4b2@sohara.org> <20130208152351.GB19514@FreeBSD.org> <20130208162814.346c605ce15a229e878dee27@sohara.org> <20130209102413.5c5d8fe6@bender> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Auth-Info: 15567@permanet.ie (plain) Cc: Tim Kientzle , freebsd-arm@FreeBSD.org, Romain =?UTF-8?B?VGFydGnDqHJl?= X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Feb 2013 22:30:48 -0000 On Sat, 09 Feb 2013 10:24:13 +1300 Andrew Turner wrote: > On Fri, 8 Feb 2013 16:28:14 +0000 > Steve O'Hara-Smith wrote: > > > On Fri, 8 Feb 2013 16:23:51 +0100 > > Romain Tartière wrote: > > > > > Hi > > > > > > On Fri, Feb 08, 2013 at 12:18:03PM +0000, Steve O'Hara-Smith wrote: > > > > I had a nasty feeling it might be, I was just hoping it might > > > > still work anyway. Failing that I'll look into an armv6 > > > > implementation of cpmxchg. Either way if I get it to work I'll > > > > post a patch to this list. > > > > > > First of all, please note that I am only an ARM user and never > > > hacked or whatever for ARM, so this could be completely out-topic, > > > please accept my apologies if it's the case :-) > > > > That's a nice clean copy of the three year old fix I > > mentioned. > > > > It doesn't solve my problem, but it probably should be > > committed. > > > > Can you try this patch [1]. It should fix the arm isc_atomic_cmpxchg > and add an armv6 implementation. I wrote it without knowing about > Romain's patch but it appears our armv[45] changes are almost identical. Looks to be very like the one I have building now - except that I put the implementations in sys/arm/include/atomic.h. I'll post the patch after testing, or if it messes up I'll try yours. -- Steve O'Hara-Smith | Directable Mirror Arrays C:>WIN | A better way to focus the sun The computer obeys and wins. | licences available see You lose and Bill collects. | http://www.sohara.org/