From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn0he-0000zo-LJ for qemu-devel@nongnu.org; Tue, 28 Apr 2015 04:17:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yn0hb-0006gO-Gn for qemu-devel@nongnu.org; Tue, 28 Apr 2015 04:17:14 -0400 Received: from greensocs.com ([193.104.36.180]:56462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yn0hb-0006g2-2w for qemu-devel@nongnu.org; Tue, 28 Apr 2015 04:17:11 -0400 Message-ID: <553F4202.8080306@greensocs.com> Date: Tue, 28 Apr 2015 10:17:06 +0200 From: Frederic Konrad MIME-Version: 1.0 References: <1421428797-23697-1-git-send-email-fred.konrad@greensocs.com> <87wq22bvmd.fsf@linaro.org> <551532CF.600@greensocs.com> <0ACA9B57-1DC6-4C75-8FA4-DEAA701B1E94@greensocs.com> <5527F444.7060808@greensocs.com> <55379366.9070304@greensocs.com> <20150427170655.GA32698@flamenco> In-Reply-To: <20150427170655.GA32698@flamenco> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 00/10] MultiThread TCG. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Emilio G. Cota" Cc: mttcg@listserver.greensocs.com, Peter Maydell , Jan Kiszka , Mark Burton , QEMU Developers , Alexander Graf , Paolo Bonzini , =?ISO-8859-1?Q?Alex_Benn=E9e?= Hi Emilio, On 27/04/2015 19:06, Emilio G. Cota wrote: > Hi Fred, > > On Wed, Apr 22, 2015 at 14:26:14 +0200, Frederic Konrad wrote: >> git clone git@git.greensocs.com:fkonrad/mttcg.git -b multi_tcg_v4 > I've tried to run buildroot's vexpress-a9 with this, but unfortunately > it gets stuck before showing much progress towards boot: > [ messages in brackets are mine ] > > $ time arm-softmmu/qemu-system-arm -M vexpress-a9 -kernel img/arm/zImage \ > -drive file=img/arm/rootfs.ext2,if=sd \ > -append "console=ttyAMA0,115200 root=/dev/mmcblk0" -net nic,model=lan9118 \ > -net user -nographic -smp 1 > > WARNING: Image format was not specified for 'img/arm/rootfs.ext2' and probing guessed raw. > Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. > Specify the 'raw' format explicitly to remove the restrictions. > tlb_flush: CPU 0 [ this 11 times more ] > audio: Could not init `oss' audio driver > tlb_flush: CPU 0 [ and this 31 times ] > [ then here it stops printing, and one thread takes 100% CPU ] > > Note that I'm running with -smp 1. My guess is that the iothread > is starved, since patch 472f4003 "Drop global lock during TCG code execution" > removes from the iothread the ability to kick CPU threads. > > Thanks, > > Emilio > Does this patch really removes the iothread the ability to kick CPU threads? Can you check where it's blocked? Thanks, Fred