audk/UefiCpuPkg/Library/MpInitLib
Tom Lendacky d150439b72 UefiCpuPkg/MpInitLib: For SEV-ES guest, set stack based on processor number
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3008

Set the SEV-ES reset stack address for an AP based on the processor number
instead of the APIC ID in case the APIC IDs are not zero-based and densely
packed/enumerated. This will ensure an AP reset stack address does not get
set outside of the AP reset stack memory allocation.

Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Acked-by: Ray Ni <ray.ni@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <24866de07d2a954dec71df70972f1851273020d8.1604685192.git.thomas.lendacky@amd.com>
2020-11-10 19:07:55 +00:00
..
Ia32 UefiCpuPkg/MpInitLib: Prepare SEV-ES guest APs for OS use 2020-08-17 02:46:39 +00:00
X64 UefiCpuPkg/MpInitLib: Set the SW exit fields when performing VMGEXIT 2020-11-10 19:07:55 +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, OvmfPkg: Disable interrupts when using the GHCB 2020-11-10 19:07:55 +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: For SEV-ES guest, set stack based on processor number 2020-11-10 19:07:55 +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