If there are any logical processor reporting an APIC ID of 255 or greater. We should enable x2APIC mode.
v2 updating: a. Drop v1 patch 1/3 and check if APIC ID is larger than 254 directly. b. Move ApFuncEnableX2Apic() from 1/2 to 2/2. Jeff Fan (2): UefiCpuPkg/CpuMpPei: Set X2APIC flag if one x2APIC ID larger than 254 UefiCpuPkg/CpuMpPei: Enable x2APIC mode on BSP/APs UefiCpuPkg/CpuMpPei/CpuMpPei.c | 60 ++++++++++++++++++++++++++++++++++++++---- UefiCpuPkg/CpuMpPei/CpuMpPei.h | 2 ++ 2 files changed, 57 insertions(+), 5 deletions(-) -- 1.9.5.msysgit.0 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel