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: Jordan Justen <jordan.l.justen@intel.com>
Subject: [PATCH v3 0/2] OvmfPkg: broadcast SMIs and dynamically revert to traditional AP sync mode
Date: Tue, 31 Jan 2017 12:02:19 +0100	[thread overview]
Message-ID: <20170131110221.25860-1-lersek@redhat.com> (raw)

Previous version (v2):
<https://lists.01.org/pipermail/edk2-devel/2016-November/005003.html>.

In this version (again), OVMF negotiates the broadcast SMI feature with
QEMU dynamically. If the feature is available, OVMF selects it, and also
re-sets the UefiCpuPkg PCDs that are related to BSP-AP synchronization
to their "UefiCpuPkg.dec" defaults.

The difference relative to v2 is that for the SMI features, QEMU gained
a dedicated fw_cfg-based negotiation interface, replacing the previously
proposed (somewhat ad-hoc) ICH9_APM_STS-based interface. The QEMU
commits implementing and documenting the new interface are listed in
patch #2. (But, I also commented patch #2 heavily.)

Patch for patch:

- v2 1/4 was committed separately (b43dd22981b7,
  "UefiCpuPkg/PiSmmCpuDxeSmm: dynamic PcdCpuSmmApSyncTimeout,
  PcdCpuSmmSyncMode", 2016-11-17),

- v2 2/4 is now carried forward without changes, as patch #1 (I've
  picked up Jordan's R-b),

- the rest of v2 is replaced with patch #2.

I formatted this series with 7 lines of context, to make it an easier
read.

Repo:   https://github.com/lersek/edk2/
Branch: broadcast_smi_v3
Ref:    https://bugzilla.tianocore.org/show_bug.cgi?id=230

Cc: Jordan Justen <jordan.l.justen@intel.com>

Thanks,
Laszlo

Laszlo Ersek (2):
  OvmfPkg: dynamic defaults for PcdCpuSmmApSyncTimeout,
    PcdCpuSmmSyncMode
  OvmfPkg/SmmControl2Dxe: select broadcast SMI if available

 OvmfPkg/OvmfPkgIa32.dsc                   |   7 +-
 OvmfPkg/OvmfPkgIa32X64.dsc                |   7 +-
 OvmfPkg/OvmfPkgX64.dsc                    |   7 +-
 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.inf |   8 +
 OvmfPkg/SmmControl2Dxe/SmiFeatures.h      |  49 +++
 OvmfPkg/SmmControl2Dxe/SmiFeatures.c      | 324 ++++++++++++++++++++
 OvmfPkg/SmmControl2Dxe/SmmControl2Dxe.c   |  21 ++
 7 files changed, 417 insertions(+), 6 deletions(-)
 create mode 100644 OvmfPkg/SmmControl2Dxe/SmiFeatures.h
 create mode 100644 OvmfPkg/SmmControl2Dxe/SmiFeatures.c

-- 
2.9.3



             reply	other threads:[~2017-01-31 11:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-31 11:02 Laszlo Ersek [this message]
2017-01-31 11:02 ` [PATCH v3 1/2] OvmfPkg: dynamic defaults for PcdCpuSmmApSyncTimeout, PcdCpuSmmSyncMode Laszlo Ersek
2017-01-31 11:02 ` [PATCH v3 2/2] OvmfPkg/SmmControl2Dxe: select broadcast SMI if available Laszlo Ersek
     [not found]   ` <148646137918.13729.17315316362028292158@jljusten-ivb>
2017-02-07 11:32     ` 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=20170131110221.25860-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