Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 3ed1c784666282bd95faf9ba91edbcf56813862e
      
https://github.com/tianocore/edk2/commit/3ed1c784666282bd95faf9ba91edbcf56813862e
  Author: Kirkendall, Garrett <[email protected]>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M PcAtChipsetPkg/PcAtChipsetPkg.dsc

  Log Message:
  -----------
  PcAtChipsetPkg: PcAtChipsetPkg.dsc add UefiCpuLib LibraryClass

In preparation for moving StandardSignatureIsAuthenticAMD to UefiCpuLib
in UefiCpuPkg, PcAtChipset/PcAtChipsetPkg.dsc needs LibraryClass
UefiCpuLib.
LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf will need
UefiCpuLib LibraryClass.  Likely most "real" platforms will be using
BaseX2XApicLib instance which already required UefiCpuLib.

Cc: Ray Ni <[email protected]>
Signed-off-by: Garrett Kirkendall <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ray Ni <[email protected]>


  Commit: 7da5f343bcf04a2fa1bfb33243b4586d7d174514
      
https://github.com/tianocore/edk2/commit/7da5f343bcf04a2fa1bfb33243b4586d7d174514
  Author: Kirkendall, Garrett <[email protected]>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M SourceLevelDebugPkg/SourceLevelDebugPkg.dsc

  Log Message:
  -----------
  SourceLevelDebugPkg: SourceLevelDebugPkg.dsc add UefiCpuLib LibraryClass

In preparation for moving StandardSignatureIsAuthenticAMD to UefiCpuLib
in UefiCpuPkg, SourceLevelDebugPkg/SourceLevelDebugPkg.dsc needs
LibraryClass UefiCpuLib.
LocalApicLib|UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf will need
UefiCpuLib LibraryClass.  Likely most "real" platforms will be using
BaseX2XApicLib instance which already required UefiCpuLib.

Cc: Hao A Wu <[email protected]>
Signed-off-by: Garrett Kirkendall <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Hao A Wu <[email protected]>


  Commit: df667535ed45086bce89d48044009afe3c9792e6
      
https://github.com/tianocore/edk2/commit/df667535ed45086bce89d48044009afe3c9792e6
  Author: Kirkendall, Garrett <[email protected]>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M UefiCpuPkg/Include/Library/UefiCpuLib.h
    A UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.c
    M UefiCpuPkg/Library/BaseUefiCpuLib/BaseUefiCpuLib.inf
    M UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
    M UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.inf
    M UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c
    M UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.inf
    M UefiCpuPkg/Library/MpInitLib/MpLib.c

  Log Message:
  -----------
  UefiCpuPkg: Move StandardSignatureIsAuthenticAMD to BaseUefiCpuLib

Refactor StandardSignatureIsAuthenticAMD into BaseUefiCpuLib from
separate copies in BaseXApicLib, BaseXApicX2ApicLib, and MpInitLib.
This allows for future use of StandarSignatureIsAuthinticAMD without
creating more instances in other modules.

This function allows IA32/X64 code to determine if it is running on an
AMD brand processor.

UefiCpuLib is already included directly or indirectly in all modified
modules.  Complete move is made in this change.

Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Signed-off-by: Garrett Kirkendall <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Reviewed-by: Eric Dong <[email protected]>
Message-Id: <[email protected]>


  Commit: bdafda8c457eb90c65f37026589b54258300f05c
      
https://github.com/tianocore/edk2/commit/bdafda8c457eb90c65f37026589b54258300f05c
  Author: Kirkendall, Garrett <[email protected]>
  Date:   2020-07-07 (Tue, 07 Jul 2020)

  Changed paths:
    M UefiCpuPkg/PiSmmCpuDxeSmm/Ia32/SmiEntry.nasm
    M UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c
    M UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfileInternal.h
    M UefiCpuPkg/PiSmmCpuDxeSmm/X64/SmiEntry.nasm

  Log Message:
  -----------
  UefiCpuPkg: PiSmmCpuDxeSmm skip MSR_IA32_MISC_ENABLE manipulation on AMD

AMD does not support MSR_IA32_MISC_ENABLE.  Accessing that register
causes and exception on AMD processors.  If Execution Disable is
supported, but if the processor is an AMD processor, skip manipulating
MSR_IA32_MISC_ENABLE[34] XD Disable bit.

Cc: Eric Dong <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Laszlo Ersek <[email protected]>
Signed-off-by: Garrett Kirkendall <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Laszlo Ersek <[email protected]>
Tested-by: Laszlo Ersek <[email protected]>
Reviewed-by: Eric Dong <[email protected]>


Compare: https://github.com/tianocore/edk2/compare/627d1d6693b0...bdafda8c457e


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to