From: "Laszlo Ersek" <lersek@redhat.com>
To: edk2-devel-groups-io <devel@edk2.groups.io>
Cc: "Ard Biesheuvel" <ard.biesheuvel@linaro.org>,
"Jordan Justen" <jordan.l.justen@intel.com>,
"Philippe Mathieu-Daudé" <philmd@redhat.com>
Subject: [PATCH 0/5] OvmfPkg: improve SMM comms security with adaptive MemoryTypeInformation
Date: Tue, 10 Mar 2020 23:27:34 +0100 [thread overview]
Message-ID: <20200310222739.26717-1-lersek@redhat.com> (raw)
Repo: https://pagure.io/lersek/edk2.git
Branch: mem_type_info
Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=386
The following "A Tour Beyond BIOS" whitepapers, available at
https://github.com/tianocore/tianocore.github.io/wiki/EDK-II-white-papers
discuss the WSMT ACPI table:
- "Secure SMM Communication"
- "Memory Protection in UEFI BIOS"
- "Memory Map and Practices in UEFI BIOS"
With time, OVMF should install the WSMT ACPI table. I made an effort to
analyze what was missing for that, here:
[edk2-devel] WSMT bits
http://mid.mail-archive.com/3c32815c-3ee9-261a-b473-1be341bdfb0c@redhat.com
https://edk2.groups.io/g/devel/message/55715
The part (or, well, "one part") that OVMF seems to miss is
Assumption/Recommendation #3 from "Secure SMM Communication", so this
series supplies that.
This series overlaps with TianoCore#386 (although the series is
motivated differently from the BZ). I used TianoCore#386 as the BZ
reference in the patches, for simplicity.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Thanks
Laszlo
Laszlo Ersek (5):
OvmfPkg/QemuFlashFvbServicesRuntimeDxe: drop unused PCDs
OvmfPkg/QemuFlashFvbServices: factor out
SetPcdFlashNvStorageBaseAddresses
OvmfPkg: set fixed FlashNvStorage base addresses with -D SMM_REQUIRE
OvmfPkg: include FaultTolerantWritePei and VariablePei with -D
SMM_REQUIRE
OvmfPkg: improve SMM comms security with adaptive
MemoryTypeInformation
OvmfPkg/OvmfPkg.fdf.inc | 6 +
OvmfPkg/OvmfPkgIa32.dsc | 6 +
OvmfPkg/OvmfPkgIa32.fdf | 2 +
OvmfPkg/OvmfPkgIa32X64.dsc | 6 +
OvmfPkg/OvmfPkgIa32X64.fdf | 2 +
OvmfPkg/OvmfPkgX64.dsc | 6 +
OvmfPkg/OvmfPkgX64.fdf | 2 +
OvmfPkg/PlatformPei/MemTypeInfo.c | 147 ++++++++++++++++++++
OvmfPkg/PlatformPei/Platform.c | 23 +--
OvmfPkg/PlatformPei/Platform.h | 5 +
OvmfPkg/PlatformPei/PlatformPei.inf | 2 +
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesRuntimeDxe.inf | 2 -
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FvbServicesSmm.inf | 7 -
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.c | 19 +--
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockService.h | 5 +
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceDxe.c | 27 ++++
OvmfPkg/QemuFlashFvbServicesRuntimeDxe/FwBlockServiceSmm.c | 10 ++
17 files changed, 228 insertions(+), 49 deletions(-)
create mode 100644 OvmfPkg/PlatformPei/MemTypeInfo.c
--
2.19.1.3.g30247aa5d201
next reply other threads:[~2020-03-10 22:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-10 22:27 Laszlo Ersek [this message]
2020-03-10 22:27 ` [PATCH 1/5] OvmfPkg/QemuFlashFvbServicesRuntimeDxe: drop unused PCDs Laszlo Ersek
2020-03-10 22:27 ` [PATCH 2/5] OvmfPkg/QemuFlashFvbServices: factor out SetPcdFlashNvStorageBaseAddresses Laszlo Ersek
2020-03-10 22:27 ` [PATCH 3/5] OvmfPkg: set fixed FlashNvStorage base addresses with -D SMM_REQUIRE Laszlo Ersek
2020-03-11 15:44 ` [edk2-devel] " Leif Lindholm
2020-03-11 16:14 ` Laszlo Ersek
2020-03-11 16:20 ` Leif Lindholm
2020-03-11 16:41 ` Laszlo Ersek
2020-03-12 14:20 ` Leif Lindholm
2020-03-12 22:19 ` Laszlo Ersek
2020-03-10 22:27 ` [PATCH 4/5] OvmfPkg: include FaultTolerantWritePei and VariablePei " Laszlo Ersek
2020-03-10 22:27 ` [PATCH 5/5] OvmfPkg: improve SMM comms security with adaptive MemoryTypeInformation Laszlo Ersek
2020-03-11 16:00 ` [edk2-devel] " Leif Lindholm
2020-03-11 16:22 ` Laszlo Ersek
2020-03-11 19:36 ` Leif Lindholm
2020-03-12 0:30 ` Laszlo Ersek
2020-03-12 10:40 ` Leif Lindholm
2020-03-12 21:19 ` 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=20200310222739.26717-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