How to tell if an emulated aarch64 CPU has stopped doing work?

2020-05-14 Thread Dave Bort
We use qemu (4.0.0, about to flip the switch to 5.0.0) to test our aarch64 images, running in linux containers on x86_64 alongside other workloads. We've recently run into issues where it looks like an emulated CPU (out of four) sometimes stops making progress for ten or more seconds, and we're

Re: Using All Cores of CPU on Snapdragon Processor during x86-to-ARM User Space Emulation

2020-05-14 Thread Peter Maydell
On Thu, 14 May 2020 at 11:32, Jakob Bohm wrote: > The one exception to this lack was instruction decoding, where certain > commonly used branch instructions were defined as implicitly picking up > any changes in instruction memory. This of cause corresponds to the TCG > checking for needed

Re: Using All Cores of CPU on Snapdragon Processor during x86-to-ARM User Space Emulation

2020-05-14 Thread Jakob Bohm
On 13/05/2020 12:02, Alex Bennée wrote: Vijay Daita writes: Hello It is my understanding that one would be unable to do x86-to-ARM user space emulation while utilizing all cores because of x86 barriers. Actually the utilisation of multiple cores (often referred to at MTTCG) is a function of