On 07/24/19 09:07, Dong, Eric wrote: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1973 > > For semaphore type register, it required all processors to do the > task at the same time. > Current logic begins BSP's task after all APs have finished their tasks. > This will caused set semaphore task hang if semaphore has package > level type. > This patch use new EDKII_PEI_MP_SERVICES2_PPI to start all processors at > the same time to fix the potential hang issue. > > Cc: Ray Ni <[email protected]> > Cc: Laszlo Ersek <[email protected]> > Cc: Chandana Kumar <[email protected]> > Cc: Star Zeng <[email protected]> > Signed-off-by: Eric Dong <[email protected]> > --- > .../CpuFeaturesInitialize.c | 2 +- > .../DxeRegisterCpuFeaturesLib.c | 6 +- > .../PeiRegisterCpuFeaturesLib.c | 66 ++++++++++++++----- > .../PeiRegisterCpuFeaturesLib.inf | 1 + > .../RegisterCpuFeatures.h | 2 +- > 5 files changed, 54 insertions(+), 23 deletions(-)
My testing did not cover this patch. Thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#44460): https://edk2.groups.io/g/devel/message/44460 Mute This Topic: https://groups.io/mt/32581679/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
