public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/3] UefiCpuPkg, OvmfPkg: set maximum (V)CPU count dynamically
@ 2016-11-24 20:56 Laszlo Ersek
  2016-11-24 20:56 ` [PATCH v2 1/3] UefiCpuPkg/PiSmmCpuDxeSmm: handle dynamic PcdCpuMaxLogicalProcessorNumber Laszlo Ersek
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Laszlo Ersek @ 2016-11-24 20:56 UTC (permalink / raw)
  To: edk2-devel-01; +Cc: Igor Mammedov, Jeff Fan, Jordan Justen, Michael Kinney

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



^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-11-28 11:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-24 20:56 [PATCH v2 0/3] UefiCpuPkg, OvmfPkg: set maximum (V)CPU count dynamically Laszlo Ersek
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox