Re: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging

2023-06-08 Thread Dong, Eric
Looks good to me. Thanks, Eric -Original Message- From: Ni, Ray Sent: Wednesday, June 7, 2023 4:38 PM To: devel@edk2.groups.io Cc: Dong, Eric ; Kumar, Rahul R ; Gerd Hoffmann Subject: [PATCH] UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging When a platform has lo

Re: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging

2023-06-07 Thread Ni, Ray
t; To: devel@edk2.groups.io > Cc: Dong, Eric ; Kumar, Rahul R > ; Gerd Hoffmann > Subject: [edk2-devel] [PATCH] UefiCpuPkg/SmmCpu: Add > PcdSmmApPerfLogEnable control AP perf-logging > > When a platform has lots of CPU cores/threads, perf-logging on every > AP produces lots of record

[edk2-devel] [PATCH] UefiCpuPkg/SmmCpu: Add PcdSmmApPerfLogEnable control AP perf-logging

2023-06-07 Thread Ni, Ray
When a platform has lots of CPU cores/threads, perf-logging on every AP produces lots of records. When this multiplies with number of SMIs during post, the records are even more. So, this patch adds a new PCD PcdSmmApPerfLogEnable (default TRUE) to allow platform to turn off perf-logging on APs.