Hi Oliver,

   Sorry for the missing information.  I am using version 7.1.63 of the A15 fast model.  I'm using the ArmVExpress-RTSM-A15_MPCore.dsc dsc file,and building against the linaro-tracking-2013.05 branch of the uefi-next repository.  I have been making some changes, mostly debug related.

I had made the following changes to the DSC file:
gArmPlatformTokenSpaceGuid.PcdCoreCount|1
gArmPlatformTokenSpaceGuid.PcdSendSgiToBringUpSecondaryCores|FALSE

This was running fine on a single core until I started removing some debug prints.

Roy




On 12 June 2013 02:10, Olivier Martin <olivier.martin@arm.com> wrote:

Hello Roy,

 

Which platform are you referring to? Which EDK2 DSC file are you using for your UEFI firmware?

 

Thanks,

Olivier

 

From: boot-architecture-bounces@lists.linaro.org [mailto:boot-architecture-bounces@lists.linaro.org] On Behalf Of Roy Franz
Sent: 12 June 2013 03:03
To: boot-architecture@lists.linaro.org
Subject: Possible race condition in multi-core EDK2

 

 

I've been working with the DEBUG build of EDK2, and thought I had changed the configuration to be 'proper' for a single core, and it ran fine on a single core simulation.  As I started removing debug prints, I started getting simulator seg faults.  I confirmed that the difference between running and crashing versions were simply debug prints.

Changing the simulation to simulator 2 cores resolved the problem.  I suspect that there may be a race condition or some other multi-core detection bug that causes this crash.

 

I don't plan to investigate this further at this point - just wanted to report this as I was surprised to find that a debug print being removed would cause the simulator to crash.

 

Roy

 

 


_______________________________________________
boot-architecture mailing list
boot-architecture@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/boot-architecture