On 24 June 2015 at 17:39, Alex Bennée <alex.ben...@linaro.org> wrote: > > Alexander Spyridakis <a.spyrida...@virtualopensystems.com> writes: >> 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?
Yes -- our vexpress model is "like hardware", so all CPUs leap into the boot firmware at once, and the firmware deals with putting the secondaries into a pen to be released in a controlled manner later. [assuming you're not using -kernel; if you are then boot.c has the secondary pen code] -- PMM