From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7nhd-000452-P5 for qemu-devel@nongnu.org; Wed, 24 Jun 2015 12:39:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7nha-0001T7-G5 for qemu-devel@nongnu.org; Wed, 24 Jun 2015 12:39:09 -0400 Received: from mail-wi0-f169.google.com ([209.85.212.169]:38075) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7nha-0001Sv-A0 for qemu-devel@nongnu.org; Wed, 24 Jun 2015 12:39:06 -0400 Received: by wibdq8 with SMTP id dq8so52089189wib.1 for ; Wed, 24 Jun 2015 09:39:05 -0700 (PDT) References: From: Alex =?utf-8?Q?Benn=C3=A9e?= In-reply-to: Date: Wed, 24 Jun 2015 17:39:43 +0100 Message-ID: <871th1ysa8.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] TCG baremetal tests repo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Spyridakis Cc: mttcg@listserver.greensocs.com, Alvise Rigo , Mark Burton , QEMU Developers , KONRAD =?utf-8?B?RnLDqWTDqXJpYw==?= Alexander Spyridakis writes: > Hello all, > > You can find the latest tcg atomic test payload in the following repo: >> git clone https://git.virtualopensystems.com/dev/tcg_baremetal_tests.git > > You also need an arm baremetal cross-compiler like arm-none-gnueabi- (arm) > and the usual aarch64-linux-gnu- (arm64). Due to a PSCI bug in the current > multithreading tcg repo, the atomic test was modified to work also on the > vexpress machine model. I sent a patch to fix the PSCI hang case to wake up the sleeping CPU. I couldn't figure out how the vexpress code was waking it's CPUs. Do they just start powered on? > > To run it: >> make vexpress (or virt/virt64 for other targets) >> ../mttcg/arm-softmmu/qemu-system-arm -nographic -M vexpress-a15 -kernel > build-vexpress/image-vexpress.axf -smp 4 > > On my machine it takes around 30 seconds for one run of the test and the > results vary from as low as 5 to 30 errors per vCPU per 10 million > iterations (no errors with KVM). It is also very interesting to note, that > the current test finishes faster on upstream qemu than multithreaded qemu. > > Best regards. -- Alex Bennée