[edk2-devel] [PATCH v1 1/1] UefiCpuPkg: Reset a parameter when BSP Exit in CPU relaxed mode.
Wu, Jiaxin
jiaxin.wu at intel.com
Mon Oct 10 05:17:45 UTC 2022
Reviewed-by: Jiaxin Wu <jiaxin.wu at intel.com>
> -----Original Message-----
> From: devel at edk2.groups.io <devel at edk2.groups.io> On Behalf Of Ni, Ray
> Sent: Saturday, October 8, 2022 2:34 PM
> To: Li, Zhihao <zhihao.li at intel.com>; devel at edk2.groups.io
> Cc: Dong, Eric <eric.dong at intel.com>
> Subject: Re: [edk2-devel] [PATCH v1 1/1] UefiCpuPkg: Reset a parameter
> when BSP Exit in CPU relaxed mode.
>
> Reviewed-by: Ray Ni <ray.ni at intel.com>
>
> > -----Original Message-----
> > From: Li, Zhihao <zhihao.li at intel.com>
> > Sent: Tuesday, September 27, 2022 8:58 PM
> > To: devel at edk2.groups.io
> > Cc: Dong, Eric <eric.dong at intel.com>; Ni, Ray <ray.ni at intel.com>
> > Subject: [PATCH v1 1/1] UefiCpuPkg: Reset a parameter when BSP Exit in
> > CPU relaxed mode.
> >
> > From: Zhihao Li <zhihao.li at intel.com>
> >
> > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4083
> >
> > In CPU relaxed mode, it doesn't reset the value of
> > mSmmMpSyncData->AllApArrivedWithException when BSP exit smm
> mode.
> > So this patch will reset this variable.
> >
> > Cc: Eric Dong <eric.dong at intel.com>
> > Cc: Ray Ni <ray.ni at intel.com>
> >
> > Signed-off-by: Zhihao Li <zhihao.li at intel.com>
> > ---
> > UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c | 5 +++--
> > 1 file changed, 3 insertions(+), 2 deletions(-)
> >
> > diff --git a/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c
> > b/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c
> > index 13c2cb8da4c3..c79da418e37c 100644
> > --- a/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c
> > +++ b/UefiCpuPkg/PiSmmCpuDxeSmm/MpService.c
> > @@ -696,8 +696,9 @@ BSPHandler (
> > //
> >
> > // Allow APs to check in from this point on
> >
> > //
> >
> > - *mSmmMpSyncData->Counter = 0;
> >
> > - *mSmmMpSyncData->AllCpusInSync = FALSE;
> >
> > + *mSmmMpSyncData->Counter = 0;
> >
> > + *mSmmMpSyncData->AllCpusInSync = FALSE;
> >
> > + mSmmMpSyncData->AllApArrivedWithException = FALSE;
> >
> > }
> >
> >
> >
> > /**
> >
> > --
> > 2.26.2.windows.1
>
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#94873): https://edk2.groups.io/g/devel/message/94873
Mute This Topic: https://groups.io/mt/93948933/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list