public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [edk2-devel] [PATCH 0/7] Add VirtMmCommunication driver, enable for OVMF and ArmVirt.
@ 2023-11-23 15:02 Gerd Hoffmann
  2023-11-23 15:02 ` [edk2-devel] [PATCH 1/7] OvmfPkg: add IndustryStandard/QemuUefiVars.h Gerd Hoffmann
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: Gerd Hoffmann @ 2023-11-23 15:02 UTC (permalink / raw)
  To: devel; +Cc: Oliver Steffen, László Érsek, Gerd Hoffmann

This is the edk2 side of the qemu patch series posted last week to
qemu-devel:
  https://lists.gnu.org/archive/html/qemu-devel/2023-11/msg03714.html

The driver forwards MM calls to the virtualization host instead of the
MM code running in SMM (x64) or el3 (arm) mode.  The functionality
traditionally implemented by the SMM code is provided by qemu instead.

This allows to provide persistent variable support without an
(virtual) flash device and it also allows to support secure
boot without depending on SMM or el3 emulation support in the
hypervisor.

take care,
  Gerd

Gerd Hoffmann (7):
  OvmfPkg: add IndustryStandard/QemuUefiVars.h
  OvmfPkg: add new VirtMmCommunicationDxe driver
  OvmfPkg/OvmfPkgX64: add QEMU_VARS option
  OvmfPkg: add PcdQemuVarsRequire
  OvmfPkg/VirtMmCommunicationDxe: stop on init failure
  OvmfPkg/VirtMmCommunicationDxe: add arm support
  ArmVirtPkg/ArmVirtQemu: add QEMU_VARS option

 OvmfPkg/OvmfPkg.dec                           |   3 +
 ArmVirtPkg/ArmVirt.dsc.inc                    |   3 +
 ArmVirtPkg/ArmVirtQemu.dsc                    |  11 +
 ArmVirtPkg/ArmVirtQemuKernel.dsc              |  11 +
 OvmfPkg/OvmfPkgX64.dsc                        |  17 +-
 OvmfPkg/OvmfPkgX64.fdf                        |  12 +-
 OvmfPkg/PlatformPei/PlatformPei.inf           |   1 +
 .../VirtMmCommunication.inf                   |  67 +++
 .../Include/IndustryStandard/QemuUefiVars.h   |  41 ++
 .../VirtMmCommunication.h                     |  37 ++
 OvmfPkg/PlatformPei/Platform.c                |   4 +
 OvmfPkg/VirtMmCommunicationDxe/QemuFdt.c      | 208 ++++++++++
 OvmfPkg/VirtMmCommunicationDxe/QemuX64.c      | 106 +++++
 .../VirtMmCommunication.c                     | 390 ++++++++++++++++++
 ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc          |   5 +
 15 files changed, 914 insertions(+), 2 deletions(-)
 create mode 100644 OvmfPkg/VirtMmCommunicationDxe/VirtMmCommunication.inf
 create mode 100644 OvmfPkg/Include/IndustryStandard/QemuUefiVars.h
 create mode 100644 OvmfPkg/VirtMmCommunicationDxe/VirtMmCommunication.h
 create mode 100644 OvmfPkg/VirtMmCommunicationDxe/QemuFdt.c
 create mode 100644 OvmfPkg/VirtMmCommunicationDxe/QemuX64.c
 create mode 100644 OvmfPkg/VirtMmCommunicationDxe/VirtMmCommunication.c

-- 
2.42.0



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#111684): https://edk2.groups.io/g/devel/message/111684
Mute This Topic: https://groups.io/mt/102767943/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



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

end of thread, other threads:[~2023-11-28  8:33 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-23 15:02 [edk2-devel] [PATCH 0/7] Add VirtMmCommunication driver, enable for OVMF and ArmVirt Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 1/7] OvmfPkg: add IndustryStandard/QemuUefiVars.h Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 2/7] OvmfPkg: add new VirtMmCommunicationDxe driver Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 3/7] OvmfPkg/OvmfPkgX64: add QEMU_VARS option Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 4/7] OvmfPkg: add PcdQemuVarsRequire Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 5/7] OvmfPkg/VirtMmCommunicationDxe: stop on init failure Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 6/7] OvmfPkg/VirtMmCommunicationDxe: add arm support Gerd Hoffmann
2023-11-23 15:02 ` [edk2-devel] [PATCH 7/7] ArmVirtPkg/ArmVirtQemu: add QEMU_VARS option Gerd Hoffmann
2023-11-28  8:33 ` [edk2-devel] [PATCH 0/7] Add VirtMmCommunication driver, enable for OVMF and ArmVirt Ard Biesheuvel

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