Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 7bda8c648192d76f7b3f7cee54bd7b1c86a6a84f
      
https://github.com/tianocore/edk2/commit/7bda8c648192d76f7b3f7cee54bd7b1c86a6a84f
  Author: Yuanhao Xie <yuanhao....@intel.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
    M UefiCpuPkg/Library/MpInitLib/MpEqu.inc
    M UefiCpuPkg/Library/MpInitLib/MpLib.h
    M UefiCpuPkg/Library/MpInitLib/X64/AmdSev.nasm
    M UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm

  Log Message:
  -----------
  UefiCpuPkg: Duplicated AsmRelocateApLoop as AsmRelocateApLoopAmd

AsmRelocateApLoop is replicated for future Intel Logic Extraction,
further brings AP into 64-bit, and enables paging.

Signed-off-by: Yuanhao Xie <yuanhao....@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>


  Commit: 73ccde8f6d04a246377cabaed2875e69d4b6b719
      
https://github.com/tianocore/edk2/commit/73ccde8f6d04a246377cabaed2875e69d4b6b719
  Author: Xie, Yuanhao <yuanhao....@intel.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M UefiCpuPkg/Library/MpInitLib/DxeMpInitLib.inf
    M UefiCpuPkg/Library/MpInitLib/DxeMpLib.c
    A UefiCpuPkg/Library/MpInitLib/Ia32/CreatePageTable.c
    M UefiCpuPkg/Library/MpInitLib/MpLib.h
    A UefiCpuPkg/Library/MpInitLib/X64/CreatePageTable.c
    M UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm
    M UefiCpuPkg/UefiCpuPkg.dsc

  Log Message:
  -----------
  UefiCpuPkg: Has APs in 64 bit long-mode before booting to OS.

During the finalization of Mp initialization before booting into the OS,
 depending on whether Mwait is supported or not, AsmRelocateApLoop
 places Aps in MWAIT-loop or HLT-loop.

Since paging is necessary for long mode, the original implementation of
moving APs to 32-bit was to disable paging to ensure that the booting
does not crash.

The current modification creates a page table in reserved memory,
avoiding switching modes and reclaiming memory by OS. This modification
is only for 64 bit mode.

More specifically, we keep the AMD logic as the original code flow,
extract and update the Intel-related code, where the APs would stay
in 64-bit, and run in a Mwait or Hlt loop until the OS wake them up.

Signed-off-by: Ray Ni <ray...@intel.com>
Signed-off-by: Yuanhao Xie <yuanhao....@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>


  Commit: 4a8642422460635462d315defe4ca84bf6d33351
      
https://github.com/tianocore/edk2/commit/4a8642422460635462d315defe4ca84bf6d33351
  Author: Yuanhao Xie <yuanhao....@intel.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M OvmfPkg/AmdSev/AmdSevX64.dsc
    M OvmfPkg/CloudHv/CloudHvX64.dsc
    M OvmfPkg/IntelTdx/IntelTdxX64.dsc
    M OvmfPkg/Microvm/MicrovmX64.dsc
    M OvmfPkg/OvmfPkgIa32X64.dsc
    M OvmfPkg/OvmfPkgX64.dsc
    M OvmfPkg/OvmfXen.dsc

  Log Message:
  -----------
  OvmfPkg: Add CpuPageTableLib required by MpInitLib.

Add CpuPageTableLib required by MpInitLib in OvmfPkg.

Signed-off-by: Yuanhao Xie <yuanhao....@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>
Acked-by: Jiewen Yao <jiewen....@intel.com>


  Commit: 3f378450dfafc11754bfdb64af28060ec8466acb
      
https://github.com/tianocore/edk2/commit/3f378450dfafc11754bfdb64af28060ec8466acb
  Author: Yuanhao Xie <yuanhao....@intel.com>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M UefiPayloadPkg/UefiPayloadPkg.dsc

  Log Message:
  -----------
  UefiPayloadPkg: Add CpuPageTableLib required by MpInitLib.

Add CpuPageTableLib required by MpInitLib in UefiPayloadPkg.

Signed-off-by: Yuanhao Xie <yuanhao....@intel.com>
Reviewed-by: Gua Guo <gua....@intel.com>
Reviewed-by: Ray Ni <ray...@intel.com>


Compare: https://github.com/tianocore/edk2/compare/6937fc833893...3f378450dfaf


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

Reply via email to