public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: edk2-devel-01 <edk2-devel@ml01.01.org>
Cc: Igor Mammedov <imammedo@redhat.com>,
	Jeff Fan <jeff.fan@intel.com>,
	Jordan Justen <jordan.l.justen@intel.com>,
	Michael Kinney <michael.d.kinney@intel.com>
Subject: [PATCH v2 0/3] UefiCpuPkg, OvmfPkg: set maximum (V)CPU count dynamically
Date: Thu, 24 Nov 2016 21:56:49 +0100	[thread overview]
Message-ID: <20161124205652.12113-1-lersek@redhat.com> (raw)

This is version 2 of the series at
<https://lists.01.org/pipermail/edk2-devel/2016-November/005073.html>.

Changes in this version:

- Patches #1 and #2 from v1 have been committed.

- Patches #3 and #4 from v1 have been reworked based on Jeff's advice.
  Namely, we now set PcdCpuMaxLogicalProcessorNumber and
  PcdCpuApInitTimeOutInMicroSeconds dynamically, rather than adding a
  new PCD. The method of waiting has been changed too, we now wait for
  the CPUs and the timeout simultaneously.

- Making PcdCpuMaxLogicalProcessorNumber actually dynamic required
  changes for PiSmmCpuDxeSmm too, so a new patch has been inserted at
  the front.

Repo:   https://github.com/lersek/edk2/
Branch: mpinit_v2

Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Jeff Fan <jeff.fan@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>

Thanks
Laszlo

Laszlo Ersek (3):
  UefiCpuPkg/PiSmmCpuDxeSmm: handle dynamic
    PcdCpuMaxLogicalProcessorNumber
  UefiCpuPkg/MpInitLib: wait no longer than necessary for initial AP
    startup
  OvmfPkg/PlatformPei: take VCPU count from QEMU and configure MpInitLib

 OvmfPkg/OvmfPkgIa32.dsc                    |  4 ++
 OvmfPkg/OvmfPkgIa32X64.dsc                 |  4 ++
 OvmfPkg/OvmfPkgX64.dsc                     |  4 ++
 OvmfPkg/PlatformPei/MemDetect.c            |  2 +-
 OvmfPkg/PlatformPei/Platform.c             | 43 +++++++++++++
 OvmfPkg/PlatformPei/Platform.h             |  2 +
 OvmfPkg/PlatformPei/PlatformPei.inf        |  1 +
 UefiCpuPkg/Library/MpInitLib/MpLib.c       | 67 +++++++++++++++++++-
 UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.c |  2 +-
 UefiCpuPkg/PiSmmCpuDxeSmm/SmmProfile.c     | 18 +++---
 UefiCpuPkg/UefiCpuPkg.dec                  |  3 +-
 11 files changed, 137 insertions(+), 13 deletions(-)

-- 
2.9.2



             reply	other threads:[~2016-11-24 20:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-24 20:56 Laszlo Ersek [this message]
2016-11-24 20:56 ` [PATCH v2 1/3] UefiCpuPkg/PiSmmCpuDxeSmm: handle dynamic PcdCpuMaxLogicalProcessorNumber Laszlo Ersek
2016-11-28  2:15   ` Fan, Jeff
2016-11-28 11:23     ` Laszlo Ersek
2016-11-24 20:56 ` [PATCH v2 2/3] UefiCpuPkg/MpInitLib: wait no longer than necessary for initial AP startup Laszlo Ersek
2016-11-28  5:37   ` Fan, Jeff
2016-11-28 10:15     ` Laszlo Ersek
2016-11-28 11:58       ` Igor Mammedov
2016-11-24 20:56 ` [PATCH v2 3/3] OvmfPkg/PlatformPei: take VCPU count from QEMU and configure MpInitLib Laszlo Ersek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161124205652.12113-1-lersek@redhat.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox