On 07/03/19 04:42, Dong, Eric wrote: > v3 changes: > 1. Fix Token clean up too early caused CheckProcedure return error. > > v2 changes: > 1. Remove some duplicated global variables. > 2. Enhance token design to support multiple task trig for different APs at > the same time. > > V1 changes: > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1937 > > Add MM Mp Protocol in PiSmmCpuDxeSmm driver. > > Cc: Ray Ni <ray...@intel.com> > Cc: Laszlo Ersek <ler...@redhat.com> > Signed-off-by: Eric Dong <eric.d...@intel.com> > --- > UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 536 ++++++++++++++++++- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c | 11 + > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.h | 160 +++++- > UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf | 3 + > UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c | 372 +++++++++++++ > UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h | 286 ++++++++++ > 6 files changed, 1351 insertions(+), 17 deletions(-) > create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.c > create mode 100644 UefiCpuPkg/PiSmmCpuDxeSmm/SmmMp.h
The patch applies successfully now; it just adds a few whitespace errors: > Applying: UefiCpuPkg/PiSmmCpuDxeSmm: Enable MM MP Protocol. > .git/rebase-apply/patch:94: trailing whitespace. > if ((ApIndex != > gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu) && > .git/rebase-apply/patch:98: trailing whitespace. > if ((ApIndex2 != > gSmmCpuPrivate->SmmCoreEntryContext.CurrentlyExecutingCpu) && > .git/rebase-apply/patch:222: trailing whitespace. > if (mSmmMpSyncData->CpuData[Index].Present && > .git/rebase-apply/patch:606: trailing whitespace. > UINTN CpuIndex; > .git/rebase-apply/patch:1320: new blank line at EOF. > + > warning: 5 lines add whitespace errors. No need to resubmit the series just because of those; please clean them up on push. I'll follow up with regression test results. Thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#43229): https://edk2.groups.io/g/devel/message/43229 Mute This Topic: https://groups.io/mt/32293746/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-