On 02/19/21 10:04, Ankur Arora wrote: > Refactor CpuHotplugMmi() to pull out the CPU hotplug logic into > ProcessHotAddedCpus(). This is in preparation for supporting CPU > hot-unplug. > > Cc: Laszlo Ersek <ler...@redhat.com> > Cc: Jordan Justen <jordan.l.jus...@intel.com> > Cc: Ard Biesheuvel <ard.biesheu...@arm.com> > Cc: Igor Mammedov <imamm...@redhat.com> > Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> > Cc: Aaron Young <aaron.yo...@oracle.com> > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3132 > Signed-off-by: Ankur Arora <ankur.a.ar...@oracle.com> > Reviewed-by: Laszlo Ersek <ler...@redhat.com> > --- > > Notes: > Addresses these review comments from v6: > (1) s/EFI_ERROR(/EFI_ERROR (/ > (2) Remove the empty line in the comment block above > ProcessHotAddedCpus(). > () Nest the EFI_ERROR handling inside the (PluggedCount > 0) clause. > > OvmfPkg/CpuHotplugSmm/CpuHotplug.c | 210 > ++++++++++++++++++++++--------------- > 1 file changed, 126 insertions(+), 84 deletions(-)
LGTM, thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#71938): https://edk2.groups.io/g/devel/message/71938 Mute This Topic: https://groups.io/mt/80751393/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-