]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on AMD processors.
authorEric Dong <eric.dong@intel.com>
Tue, 19 Jun 2018 05:15:39 +0000 (13:15 +0800)
committerEric Dong <eric.dong@intel.com>
Tue, 19 Jun 2018 05:15:39 +0000 (13:15 +0800)
commitbf252e29a5a1a68fdd584b1cd117b728d7d67ec0
tree362cc65935e20ff0583632d570e13f087ae2ca72
parentaeb6f576258ef18c0debca1d6b908df1799e0d9b
UefiCpuPkg/LocalApicLib: Exclude second SendIpi sequence on AMD processors.

On AMD processors the second SendIpi in the SendInitSipiSipi and
SendInitSipiSipiAllExcludingSelf routines is not required, and may cause
undesired side-effects during MP initialization.

This patch leverages the StandardSignatureIsAuthenticAMD check to exclude
the second SendIpi and its associated MicroSecondDelay (200).

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Leo Duran <leo.duran@amd.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c
UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c