Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 0c3f8766b00bfc8e97728f3d96b8d8c084575fa6 https://github.com/tianocore/edk2/commit/0c3f8766b00bfc8e97728f3d96b8d8c084575fa6 Author: Xie, Yuanhao <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023)
Changed paths: M UefiCpuPkg/Library/MpInitLib/MpLib.h Log Message: ----------- UefiCpuPkg: Check AP_SAFE_STACK_SIZE during build time. Check if AP_SAFE_STACK_SIZE is aligned with CPU_STACK_ALIGNMENT during build time. No functional or structural changes. Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: a6f799e7fdb6389178485ddd36f472df100cebba https://github.com/tianocore/edk2/commit/a6f799e7fdb6389178485ddd36f472df100cebba Author: Xie, Yuanhao <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M UefiCpuPkg/Library/MpInitLib/DxeMpLib.c M UefiCpuPkg/Library/MpInitLib/MpLib.h Log Message: ----------- UefiCpuPkg: Split the path in RelocateApLoop into two. Add the union RELOCATE_AP_LOOP_ENTRY, split the path in RelocateApLoop into two: 1. 64-bit AMD processors with SEV-ES 2. Intel processors (32-bit or 64-bit), 32-bit AMD processors, or 64-bit AMD processors without SEV-ES. Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: e9782e69070c3a876f6bc1af966603cc1fc90320 https://github.com/tianocore/edk2/commit/e9782e69070c3a876f6bc1af966603cc1fc90320 Author: Xie, Yuanhao <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M UefiCpuPkg/Library/MpInitLib/DxeMpLib.c Log Message: ----------- UefiCpuPkg: Allocate contiguous memory for stacks and APs loop. Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: c6e655743ffb4d510d153c8179f6740841f70010 https://github.com/tianocore/edk2/commit/c6e655743ffb4d510d153c8179f6740841f70010 Author: Yuanhao Xie <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) 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. Cc: Ard Biesheuvel <ardb+tianoc...@kernel.org> Cc: Jiewen Yao <jiewen....@intel.com> Cc: Jordan Justen <jordan.l.jus...@intel.com> Cc: Gerd Hoffmann <kra...@redhat.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: 6bc74286e7f57d6c7bd29a7b5e4eb8026c5a8012 https://github.com/tianocore/edk2/commit/6bc74286e7f57d6c7bd29a7b5e4eb8026c5a8012 Author: Xie, Yuanhao <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M UefiPayloadPkg/UefiPayloadPkg.dsc Log Message: ----------- UefiPayloadPkg: Add CpuPageTableLib required by MpInitLib. Add CpuPageTableLib required by MpInitLib in UefiPayloadPkg. Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: facf52aeb8accb312acfd34b60266d4ea866afbb https://github.com/tianocore/edk2/commit/facf52aeb8accb312acfd34b60266d4ea866afbb Author: Xie, Yuanhao <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) 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/Ia32/MpFuncs.nasm M UefiCpuPkg/Library/MpInitLib/MpEqu.inc M UefiCpuPkg/Library/MpInitLib/MpLib.h A UefiCpuPkg/Library/MpInitLib/X64/CreatePageTable.c M UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm Log Message: ----------- UefiCpuPkg: Put APs in 64 bit mode before handoff to OS. Add the 'AsmRelocateApLoopStartGeneric' for X64 processors except 64-bit AMD processors with SEV-ES. Remove the unused arguments of AsmRelocateApLoopStartGeneric, updated the stack offset. Create PageTable for the allocated reserved memory. Only keep 4GB limitation of memory allocation for the case APs still need to be transferred to 32-bit mode before OS. Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: 0d1ad06c27e36bef6d89a7cbdfda39b5c36fdfbe https://github.com/tianocore/edk2/commit/0d1ad06c27e36bef6d89a7cbdfda39b5c36fdfbe Author: Yuanhao Xie <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) 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/MpFuncs.nasm Log Message: ----------- UefiCpuPkg: Rename AsmRelocateApLoopStart. Rename AsmRelocateApLoopStart to AsmRelocateApLoopStartAmdSev Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Commit: c7c25997595aa34ce0a7a21ca2e1fc5b0f9b38a6 https://github.com/tianocore/edk2/commit/c7c25997595aa34ce0a7a21ca2e1fc5b0f9b38a6 Author: Xie, Yuanhao <yuanhao....@intel.com> Date: 2023-03-07 (Tue, 07 Mar 2023) Changed paths: M UefiCpuPkg/Library/MpInitLib/X64/AmdSev.nasm M UefiCpuPkg/Library/MpInitLib/X64/MpFuncs.nasm Log Message: ----------- UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm Cc: Guo Dong <guo.d...@intel.com> Cc: Ray Ni <ray...@intel.com> Cc: Sean Rhodes <sean@starlabs.systems> Cc: James Lu <james...@intel.com> Cc: Gua Guo <gua....@intel.com> Signed-off-by: Yuanhao Xie <yuanhao....@intel.com> Acked-by: Gerd Hoffmann <kra...@redhat.com> Tested-by: Gerd Hoffmann <kra...@redhat.com> Reviewed-by: Ray Ni <ray...@intel.com> Compare: https://github.com/tianocore/edk2/compare/46f51898ff71...c7c25997595a _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits