From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.120]) by mx.groups.io with SMTP id smtpd.web10.1877.1571782565205283066 for ; Tue, 22 Oct 2019 15:16:05 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IasWsWql; spf=pass (domain: redhat.com, ip: 205.139.110.120, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1571782564; 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; bh=ZkFAdA/Dhp4LhYtAICY5ADERELvGY1Cz+AMTSz3LVH4=; b=IasWsWqlqg5hJ2Fq+GOLKqldV6C1d9NNF0vEZoKzToeRNtqazzJ3qmXfDOR+kmndfyZdBX Ukkia2UmxzH2iJawAImoj2uaXP85vuf5nvayLkQmdIkDxkEYxdoKK+r6o0PUMM/OYAofy/ zh0ym9FI58p2YiITyTV5qL+XjFxXLqw= 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-178-KcgmvFsYOVKg3LgfevfxKw-1; Tue, 22 Oct 2019 18:15:59 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5E8EF476; Tue, 22 Oct 2019 22:15:58 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (unknown [10.36.118.54]) by smtp.corp.redhat.com (Postfix) with ESMTP id CCF345DAAF; Tue, 22 Oct 2019 22:15:56 +0000 (UTC) From: "Laszlo Ersek" To: edk2-devel-groups-io Cc: Anthony Perard , Ard Biesheuvel , Igor Mammedov , Jordan Justen , Julien Grall Subject: [PATCH v2 0/3] OvmfPkg: distinguish boot CPU count from possible CPU count Date: Wed, 23 Oct 2019 00:15:51 +0200 Message-Id: <20191022221554.14963-1-lersek@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-MC-Unique: KcgmvFsYOVKg3LgfevfxKw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Repo: https://github.com/lersek/edk2.git Branch: max_cpus_bz_1515_v2 Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1515 Version 1 was: [edk2-devel] [PATCH 0/4] UefiCpuPkg, OvmfPkg: separate PCDs for boot CPU count vs. max CPU count http://mid.mail-archive.com/20191008112714.6215-1-lersek@redhat.com https://edk2.groups.io/g/devel/message/48562 Since then, patch#1 of v1 has been rewritten and pushed as commit range a7e2d20193e8..778832bcad33. This v2 posting reworks the rest (patches #2 through #4) of the v1 series. Changes are listed per patch, in the notes sections. Cc: Anthony Perard Cc: Ard Biesheuvel Cc: Igor Mammedov Cc: Jordan Justen Cc: Julien Grall Thanks Laszlo Laszlo Ersek (3): OvmfPkg/OvmfXen.dsc: remove PcdCpu* dynamic defaults OvmfPkg/IndustryStandard: define macros for QEMU's CPU hotplug registers OvmfPkg/PlatformPei: rewrite MaxCpuCountInitialization() for CPU hotplug OvmfPkg/Include/IndustryStandard/I440FxPiix4.h | 5 + OvmfPkg/Include/IndustryStandard/Q35MchIch9.h | 2 + OvmfPkg/Include/IndustryStandard/QemuCpuHotplug.h | 43 +++++ OvmfPkg/OvmfPkgIa32.dsc | 2 +- OvmfPkg/OvmfPkgIa32X64.dsc | 2 +- OvmfPkg/OvmfPkgX64.dsc | 2 +- OvmfPkg/OvmfXen.dsc | 4 - OvmfPkg/PlatformPei/Platform.c | 172 +++++++++++++++++-= -- OvmfPkg/PlatformPei/PlatformPei.inf | 2 +- 9 files changed, 201 insertions(+), 33 deletions(-) create mode 100644 OvmfPkg/Include/IndustryStandard/QemuCpuHotplug.h --=20 2.19.1.3.g30247aa5d201