Branch: refs/heads/UDK2018
  Home:   https://github.com/tianocore/edk2
  Commit: 3885ffd8418a17fc6d59ae0e2e34e95f1dce7a72
      
https://github.com/tianocore/edk2/commit/3885ffd8418a17fc6d59ae0e2e34e95f1dce7a72
  Author: Ruiyu Ni <ruiyu...@intel.com>
  Date:   2018-02-08 (Thu, 08 Feb 2018)

  Changed paths:
    M UefiCpuPkg/Library/CpuCommonFeaturesLib/ClockModulation.c

  Log Message:
  -----------
  UefiCpuPkg/FeaturesLib: Fix Haswell CPU hang with 50% throttling

Today's implementation only assumes SandyBridge CPU supports
Extended On-Demand Clock Modulation Duty Cycle.
Actually it is supported when CPUID.06h.EAX[5] == 1.

When platform requests 50% throttling, it causes value 1000b
set to the low-4 bits of IA32_CLOCK_MODULATION.
But the wrong code sets 1000b to bits[1-3] which causes assertion.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu...@intel.com>
Cc: Jeff Fan <vanjeff_...@hotmail.com>
Reviewed-by: Eric Dong <eric.d...@intel.com>
(cherry picked from commit 0c8b88022372846a377c424f46e671d8868d4ece)


------------------------------------------------------------------------------
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