Branch: refs/heads/UDK2015
  Home:   https://github.com/tianocore/edk2
  Commit: bb0034fd8e45e6021f0998e6771f208916e8fcca
      
https://github.com/tianocore/edk2/commit/bb0034fd8e45e6021f0998e6771f208916e8fcca
  Author: Jeff Fan <jeff....@intel.com>
  Date:   2016-12-02 (Fri, 02 Dec 2016)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c

  Log Message:
  -----------
  UefiCpuPkg/PiSmmCpuDxeSmm: Clear some semaphores on S3 boot path

Some semaphores are not cleared on S3 boot path. For example,
mSmmMpSyncData->CpuData[CpuIndex].Present. It may still keeps the value set at
SMM runtime during S3 resume. It may causes BSP have the wrong judgement on SMM
AP's present state.

We have one related fix at e78a2a49ee6b0c0d7c6997c87ace31d7761cf636. But that is
not completed.

This fix is to clear Busy/Run/Present semaphores in InitializeMpSyncData().

Cc: Laszlo Ersek <ler...@redhat.com>
Cc: Feng Tian <feng.t...@intel.com>
Cc: Jiewen Yao <jiewen....@intel.com>
Cc: Michael D Kinney <michael.d.kin...@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff....@intel.com>
Acked-by: Laszlo Ersek <ler...@redhat.com>
Tested-by: Laszlo Ersek <ler...@redhat.com>
Reviewed-by: Feng Tian <feng.t...@intel.com>
(cherry picked from commit 56e4a7d72660b229be333bbb5e1b5790d3c17890)


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to