Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7df447930c42addaf2cc0d32916141d95ded677e
      
https://github.com/tianocore/edk2/commit/7df447930c42addaf2cc0d32916141d95ded677e
  Author: Chasel Chiu <chasel.c...@intel.com>
  Date:   2023-04-04 (Tue, 04 Apr 2023)

  Changed paths:
    M IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryT.nasm
    M IntelFsp2Pkg/FspSecCore/X64/FspApiEntryT.nasm

  Log Message:
  -----------
  IntelFsp2Pkg: LoadMicrocodeDefault() causing unnecessary delay.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4391

FSP should support the scenario that CPU microcode already loaded
before calling LoadMicrocodeDefault(), in this case it should return
directly without spending more time.
Also the LoadMicrocodeDefault() should only attempt to load one version
of the microcode for current CPU and return directly without parsing
rest of the microcode in FV.

This patch also removed unnecessary LoadCheck code after supporting
CPU microcode already loaded scenario.

Cc: Nate DeSimone <nathaniel.l.desim...@intel.com>
Cc: Star Zeng <star.z...@intel.com>
Cc: Ray Ni <ray...@intel.com>
Signed-off-by: Chasel Chiu <chasel.c...@intel.com>
Reviewed-by: Ted Kuo <ted....@intel.com>
Reviewed-by: Nate DeSimone <nathaniel.l.desim...@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>




_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to