Now that version 1.7 errata A of the PI spec has finally been released, we can take another look at this series, which incorporates the new MM communicate2 protocol definition, updates the producers for conventional SMM and standalone MM, and updates the variable store components to consume the new version of the protocol. This solves a long standing compatibility issue which made standalone MM fundamentally incompatible with a virtually remapped address space as installed by SetVirtualAddressMap().
Cc: Michael D Kinney <michael.d.kin...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Jian J Wang <jian.j.w...@intel.com> Cc: Hao A Wu <hao.a...@intel.com> Cc: Leif Lindholm <l...@nuviainc.com> Cc: Sami Mujawar <sami.muja...@arm.com> Cc: Jiewen Yao <jiewen....@intel.com> Ard Biesheuvel (7): MdePkg: introduce MM communicate 2 protocol MdeModulePkg/SmmIpl: expose MM communicate 2 protocol ArmPkg/MmCommunicationDxe: expose MM Communicate 2 protocol MdeModulePkg/VariableInfo: switch to MM communicate 2 protocol MdeModulePkg/FaultTolerantWriteSmmDxe: switch to MM communicate 2 MdeModulePkg/VariableSmmRuntimeDxe: switch to MM communicate 2 StandaloneMmPkg: switch to MM communicate 2 protocol .../MmCommunicationDxe/MmCommunication.c | 81 +++++++++---------- .../MmCommunicationDxe/MmCommunication.inf | 6 +- .../Application/VariableInfo/VariableInfo.c | 19 +++-- .../Application/VariableInfo/VariableInfo.inf | 2 +- MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 80 ++++++++++++++++++ MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf | 1 + MdeModulePkg/Include/Guid/SmmVariableCommon.h | 6 +- .../FaultTolerantWriteSmmCommon.h | 2 +- .../FaultTolerantWriteSmmDxe.c | 25 +++--- .../FaultTolerantWriteSmmDxe.h | 2 +- .../FaultTolerantWriteSmmDxe.inf | 4 +- .../RuntimeDxe/VariableSmmRuntimeDxe.c | 39 ++++----- .../RuntimeDxe/VariableSmmRuntimeDxe.inf | 4 +- MdePkg/Include/Protocol/MmCommunication2.h | 69 ++++++++++++++++ MdePkg/MdePkg.dec | 7 ++ StandaloneMmPkg/Core/StandaloneMmCore.h | 2 +- .../StandaloneMmCpu/AArch64/StandaloneMmCpu.h | 2 +- 17 files changed, 256 insertions(+), 95 deletions(-) create mode 100644 MdePkg/Include/Protocol/MmCommunication2.h -- 2.17.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#58726): https://edk2.groups.io/g/devel/message/58726 Mute This Topic: https://groups.io/mt/74033563/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-