From owner-freebsd-arm@FreeBSD.ORG Sat Feb 9 12:15:45 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CFC35766 for ; Sat, 9 Feb 2013 12:15:45 +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 63A1273E for ; Sat, 9 Feb 2013 12:15:44 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1U49LY-0003dj-4E for freebsd-arm@freebsd.org; Sat, 09 Feb 2013 12:15:56 +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 1U49LC-000Bec-Ft for freebsd-arm@freebsd.org; Sat, 09 Feb 2013 12:15:34 +0000 Date: Sat, 9 Feb 2013 12:14:53 +0000 From: Steve O'Hara-Smith To: freebsd-arm@freebsd.org Subject: Re: named kills raspberry pi Message-Id: <20130209121453.5e5bce9045bbce9854dce4fc@sohara.org> In-Reply-To: <20130208223011.b1790cdc86120b43788825b1@sohara.org> 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> <20130208223011.b1790cdc86120b43788825b1@sohara.org> 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) 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: Sat, 09 Feb 2013 12:15:45 -0000 On Fri, 8 Feb 2013 22:30:11 +0000 "Steve O'Hara-Smith" wrote: > 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. Mine blew up - yours is building now. -- Steve O'Hara-Smith