Re: [edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP

2021-03-12 Thread Laszlo Ersek
On 03/12/21 12:48, Ray Ni wrote: > MpInitLib contains a function MicrocodeDetect() which is called by > all threads as an AP procedure. > Today this function contains below code: > > if (CurrentRevision != LatestRevision) { > AcquireSpinLock(>MpLock); > DEBUG (( >

Re: [edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP

2021-03-12 Thread Dong, Eric
Reviewed-by: Eric Dong -Original Message- From: Ni, Ray Sent: Friday, March 12, 2021 7:48 PM To: devel@edk2.groups.io Cc: Dong, Eric ; Laszlo Ersek ; Kumar, Rahul1 Subject: [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP MpInitLib contains a function

[edk2-devel] [PATCH] UefiCpuPkg/MpInitLib: avoid printing debug messages in AP

2021-03-12 Thread Ni, Ray
MpInitLib contains a function MicrocodeDetect() which is called by all threads as an AP procedure. Today this function contains below code: if (CurrentRevision != LatestRevision) { AcquireSpinLock(>MpLock); DEBUG (( EFI_D_ERROR, "Updated microcode signature