From: Brijesh Singh <brijesh.singh@amd.com>
To: edk2-devel@lists.01.org
Cc: Tom Lendacky <Thomas.Lendacky@amd.com>,
Paolo Bonzini <pbonzini@redhat.com>,
Michael Kinney <michael.d.kinney@intel.com>,
Brijesh Singh <brijesh.singh@amd.com>,
Jordan Justen <jordan.l.justen@intel.com>,
Laszlo Ersek <lersek@redhat.com>,
Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH v2 0/2] Add SMM support when SEV is active
Date: Wed, 28 Feb 2018 10:14:13 -0600 [thread overview]
Message-ID: <20180228161415.28723-1-brijesh.singh@amd.com> (raw)
The series adds the SMM support for the SEV guest.
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
repo: https://github.com/codomania/edk2.git
branch: smm-v2
Changes since v1:
- add more comments to explain why we are not clearing the C-bit
from relocated SMM Saved area.
- restore the C-bit of initial SMM Saved Area after SMBASE is
relocated.
- Drop "Fvb" prefix from BeforeFlashProbe() and call this from
Qemu flash initialization.
Brijesh Singh (2):
OvmfPkg/AmdSevDxe: Clear the C-bit from SMM Saved State
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active
OvmfPkg/AmdSevDxe/AmdSevDxe.inf | 4 +++
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.inf | 1 +
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf | 1 +
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.h | 7 ++++
OvmfPkg/AmdSevDxe/AmdSevDxe.c | 35 ++++++++++++++++++++
OvmfPkg/Library/SmmCpuFeaturesLib/SmmCpuFeaturesLib.c | 21 ++++++++++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceDxe.c | 12 +++++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceSmm.c | 33 ++++++++++++++++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlash.c | 6 ++++
9 files changed, 120 insertions(+)
--
2.14.3
next reply other threads:[~2018-02-28 16:09 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-28 16:14 Brijesh Singh [this message]
2018-02-28 16:14 ` [PATCH v2 1/2] OvmfPkg/AmdSevDxe: Clear the C-bit from SMM Saved State Brijesh Singh
2018-02-28 19:06 ` Laszlo Ersek
2018-02-28 19:23 ` Brijesh Singh
2018-02-28 16:14 ` [PATCH v2 2/2] OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Clear C-bit when SEV is active Brijesh Singh
2018-02-28 19:41 ` Laszlo Ersek
2018-03-01 15:02 ` Brijesh Singh
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=20180228161415.28723-1-brijesh.singh@amd.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