Alexander Spyridakis <a.spyrida...@virtualopensystems.com> 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