On 26 September 2012 18:08, Jon Medhurst (Tixy) tixy@linaro.org wrote:
On Wed, 2012-09-26 at 16:01 +0100, Peter Maydell wrote:
The patch has added an 'enter_hyp' call into the chunk of code which is relocated to some random address, which means the code is now too long and we only relocate half of it. So when the primary CPU wakes up the secondaries they just run off into the weeds. Solution: move the enter_hyp to before the secondary-CPU pen code rather than after it.
That analysis sounds reasonable to me and I have successfully tested this modified solution on an A15x4 model. And also on A15x4-A7x4 after first applying the CCI hack to get bit.LITTLE working.
Thanks for the testing -- I have now pushed this patchset to git://git.linaro.org/arm/models/boot-wrapper.git master .
-- PMM