audk/UefiCpuPkg/Library/MpInitLib
Tom Lendacky 93edd1887e UefiCpuPkg/MpInitLib: Reduce reset vector memory pressure
The AP reset vector stack allocation is only required if running as an
SEV-ES guest. Since the reset vector allocation is below 1MB in memory,
eliminate the requirement for bare-metal systems and non SEV-ES guests
to allocate the extra stack area, which can be large if the
PcdCpuMaxLogicalProcessorNumber value is large, and also remove the
CPU_STACK_ALIGNMENT alignment.

Fixes: 7b7508ad78 ("UefiCpuPkg: Allow AP booting under SEV-ES")
Cc: Garrett Kirkendall <garrett.kirkendall@amd.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <21345cdbc906519558202b3851257ca07b9239ba.1600884239.git.thomas.lendacky@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
[lersek@redhat.com: supply missing space character after "PcdGet32"]
2020-10-19 21:47:21 +00:00
..
Ia32 UefiCpuPkg/MpInitLib: Prepare SEV-ES guest APs for OS use 2020-08-17 02:46:39 +00:00
X64 UefiCpuPkg/MpInitLib: Prepare SEV-ES guest APs for OS use 2020-08-17 02:46:39 +00:00
DxeMpInitLib.inf UefiCpuPkg: Allow AP booting under SEV-ES 2020-08-17 02:46:39 +00:00
DxeMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
DxeMpLib.c UefiCpuPkg/MpInitLib: Prepare SEV-ES guest APs for OS use 2020-08-17 02:46:39 +00:00
Microcode.c UefiCpuPkg: Remove FIT based microcode shadow logic from MpInitLib. 2020-02-14 04:31:18 +00:00
MpLib.c UefiCpuPkg/MpInitLib: Reduce reset vector memory pressure 2020-10-19 21:47:21 +00:00
MpLib.h UefiCpuPkg/MpInitLib: Prepare SEV-ES guest APs for OS use 2020-08-17 02:46:39 +00:00
PeiMpInitLib.inf UefiCpuPkg: Allow AP booting under SEV-ES 2020-08-17 02:46:39 +00:00
PeiMpInitLib.uni UefiCpuPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:28 -07:00
PeiMpLib.c UefiCpuPkg: Allow AP booting under SEV-ES 2020-08-17 02:46:39 +00:00