Received: from eggs.gnu.org ([2001:4830:134:3::10]:41889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c2b2T-0006Pa-Ov for qemu-devel@nongnu.org; Fri, 04 Nov 2016 05:43:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c2b2Q-00049q-Jh for qemu-devel@nongnu.org; Fri, 04 Nov 2016 05:43:57 -0400 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:59206) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c2b2Q-000466-DS for qemu-devel@nongnu.org; Fri, 04 Nov 2016 05:43:54 -0400 References: <1478182068-14082-1-git-send-email-laurent@vivier.eu> <06f03abb-3a18-12c3-b359-dcdc0aaeabfe@redhat.com> <32960507-f61e-e3a1-76f3-74a755adb7e3@vivier.eu> <2379a026-68ec-7a9f-4482-32d190c70251@physik.fu-berlin.de> From: John Paul Adrian Glaubitz Message-ID: <121ee4a7-2f98-40cd-8a18-e5ca61b56049@physik.fu-berlin.de> Date: Fri, 4 Nov 2016 10:43:51 +0100 MIME-Version: 1.0 In-Reply-To: <2379a026-68ec-7a9f-4482-32d190c70251@physik.fu-berlin.de> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] target-sh4: add atomic tas List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Laurent Vivier , Paolo Bonzini , Aurelien Jarno Cc: Richard Henderson , qemu-devel@nongnu.org On 11/04/2016 10:23 AM, John Paul Adrian Glaubitz wrote: > On 11/03/2016 05:21 PM, Laurent Vivier wrote: >> It should,:the problem was reported by Adrian (cc:) while compiling ghc >> in qemu-sh4, but I have just tested the functionality with the softmmu >> version, not the atomicity. >> >> Adrian, could you test this patch? > > Will absolutely do that. Awesome to see progress here :). Ok, I couldn't wait. It doesn't help with the GHC issue, unfortunately: root@ikarus:~/ghc-7.8.4/utils/ghc-pwd# ghc Main.hs [1 of 1] Compiling Main ( Main.hs, Main.o ) qemu-sh4-static: /home/glaubitz/upstream/qemu/translate-all.c:175: tb_lock: Assertion `!have_tb_lock' failed. qemu-sh4-static: /home/glaubitz/upstream/qemu/translate-all.c:175: tb_lock: Assertion `!have_tb_lock' failed. Segmentation fault root@ikarus:~/ghc-7.8.4/utils/ghc-pwd# I've also seen it lock up and strace showing it hanging in a futex lock. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaubitz@debian.org `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913