From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web10.33517.1613994597880384881 for ; Mon, 22 Feb 2021 03:49:58 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Ai5VcyyO; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1613994597; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=684vYuCrnmdDoCtHa/EOq4dIhDExvMGkCdzVRHIel+0=; b=Ai5VcyyOZe+MjtJTSwUtDamPgTqJVHNJYW01O8TXz0VwLPHm9/4nZeYQTYs5r+w7txGhaF ZshtjePvTdGpPnfD5zLHLnVQakgYvP5h0DNIKtncg0x+HQAiEpf0We/Y+DSUpltavmYXaI A1UbU0nWcFJij0MgJLmgSjX0vXKhyio= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-165-RuhTx8rZMQ28Ya7Z5d-h9w-1; Mon, 22 Feb 2021 06:49:53 -0500 X-MC-Unique: RuhTx8rZMQ28Ya7Z5d-h9w-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6987180196C; Mon, 22 Feb 2021 11:49:52 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-113-67.ams2.redhat.com [10.36.113.67]) by smtp.corp.redhat.com (Postfix) with ESMTP id ABBBD60C04; Mon, 22 Feb 2021 11:49:50 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH v8 01/10] OvmfPkg/CpuHotplugSmm: refactor hotplug logic To: devel@edk2.groups.io, ankur.a.arora@oracle.com Cc: imammedo@redhat.com, boris.ostrovsky@oracle.com, Jordan Justen , Ard Biesheuvel , Aaron Young References: <20210222071928.1401820-1-ankur.a.arora@oracle.com> <20210222071928.1401820-2-ankur.a.arora@oracle.com> From: "Laszlo Ersek" Message-ID: Date: Mon, 22 Feb 2021 12:49:49 +0100 MIME-Version: 1.0 In-Reply-To: <20210222071928.1401820-2-ankur.a.arora@oracle.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit On 02/22/21 08:19, 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 > Cc: Jordan Justen > Cc: Ard Biesheuvel > Cc: Igor Mammedov > Cc: Boris Ostrovsky > Cc: Aaron Young > Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3132 > Signed-off-by: Ankur Arora > Reviewed-by: Laszlo Ersek > --- > > 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(-) OK, this is identical to the v7 counterpart. Thanks Laszlo