From owner-freebsd-arm@FreeBSD.ORG Fri Feb 8 21:25:20 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 6A7D1F51; Fri, 8 Feb 2013 21:25:20 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 30F501D1; Fri, 8 Feb 2013 21:25:19 +0000 (UTC) Received: from mxin3-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MHX00FGE7HZOX30@smtp5.clear.net.nz>; Sat, 09 Feb 2013 10:25:12 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO bender) ([202.0.48.19]) by smtpin32.paradise.net.nz with ESMTP; Sat, 09 Feb 2013 10:25:12 +1300 Date: Sat, 09 Feb 2013 10:24:13 +1300 From: Andrew Turner Subject: Re: named kills raspberry pi In-reply-to: <20130208162814.346c605ce15a229e878dee27@sohara.org> To: Steve O'Hara-Smith Message-id: <20130209102413.5c5d8fe6@bender> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: quoted-printable 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> Cc: Tim Kientzle , freebsd-arm@FreeBSD.org, Romain =?ISO-8859-1?Q?Tarti=E8re?= 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 21:25:20 -0000 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=C3=A8re wrote: >=20 > > Hi > >=20 > > 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. > >=20 > > 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 :-) >=20 > That's a nice clean copy of the three year old fix I > mentioned. >=20 > It doesn't solve my problem, but it probably should be > committed. >=20 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. Andrew [1] http://people.freebsd.org/~andrew/bind_atomic.diff