From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mx.groups.io with SMTP id smtpd.web10.3515.1578056607752783286 for ; Fri, 03 Jan 2020 05:03:28 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=y3lU3DgB; spf=pass (domain: linaro.org, ip: 209.85.128.65, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wm1-f65.google.com with SMTP id d73so8333429wmd.1 for ; Fri, 03 Jan 2020 05:03:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=O6gUCQ1cJBQ3YwtJiw60xoig0fN/Zo37mT3WTR5YMe4=; b=y3lU3DgBJ0fBCgnHfZi1blGw7TuuIZbLCy5YGQg42vrlJWXuaipfKQGhy2uvK7tYFR n2GqOCXqqSYZqqMv2DWi78vf2iCW5shCBCiE29yUWW/rWK9PpZFTTwgdoJxR8s0IEKkM UzxMyijcavg2fbRAS2156Hhr6lCfF4+a5cdEh3Pb7+knCXFlhMrkaGIRFMni2/iT0mqG YXtaRqXROpLQimglor34wtplKrpZ1H93NfOWoJiL8NwRlChL4C/+9pXVeYVMc3ZShI3i o/uCxhc1SmubooBoNuzOqaWcIVXFEwiPgiDOHhTMTvFpGOdQiqLd7FX3l3cqTYE3uwqb 71jQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=O6gUCQ1cJBQ3YwtJiw60xoig0fN/Zo37mT3WTR5YMe4=; b=aSLJmD0qSqrxLUULAVnne8qXqTQG/lXDCBUAFLQetMEwnTW+LJT58mFt+IA4HYcUNz xZQky7xxvf/K44al4+TUBPR1RTAdkdHyasCdKhI47+1yS/qwhLyixK5VWzjrQOlXga/n +5jmh+g2BPlMdxPY06mLWAz/viYfNjNoala5vnfMgw8KHkwX3kqP1UHUXEP5msxyf1/Z 30yGhIhc2dxHJOrvyTEZLKJY7SPTg9jg6hVZdNsA0SCZLKJVRgxgG6FB8fp25b4wHGR0 ghMt4J6/cXB5F7eVbJBIsCWfcA65cItXapjFBk6Y75EpuYwqkuIIfcT3jMVEcZdZC89l 7Iig== X-Gm-Message-State: APjAAAX1/nFERgQp9P/jJXyhBuaV+TLIHQKMMB8VbUlYBS+Cdjcg5hfD VSG5c07jXat/Nlx1xzT5/Ob8JLaLhl0BM3WMWuSuag== X-Google-Smtp-Source: APXvYqygPVCByiL8wKEME5HVPlclYd8e7jxt7EzXXOeNPbBKVsJpW+rwqrBQfbEwssAz0H4wlfR9BB78loMgUh/z+Ls= X-Received: by 2002:a1c:3dc3:: with SMTP id k186mr18932622wma.95.1578056606323; Fri, 03 Jan 2020 05:03:26 -0800 (PST) MIME-Version: 1.0 References: <20191206152946.624-1-ard.biesheuvel@arm.com> In-Reply-To: <20191206152946.624-1-ard.biesheuvel@arm.com> From: "Ard Biesheuvel" Date: Fri, 3 Jan 2020 14:03:15 +0100 Message-ID: Subject: Re: [PATCH 0/7] New implementation of MM communicate for standalone MM To: Ard Biesheuvel Cc: edk2-devel-groups-io , Michael D Kinney , Leif Lindholm , Liming Gao , Hao A Wu , Eric Dong , Ray Ni , Achin Gupta , Jiewen Yao Content-Type: text/plain; charset="UTF-8" On Fri, 6 Dec 2019 at 16:29, Ard Biesheuvel wrote: > > From: Ard Biesheuvel > > This series implements the changes proposed by Mantis ticket 1993, which > describes how we need to modify the MM communicate protocol to make it > compatible with standalone MM based DXE_RUNTIME_DRIVER MM client using > virtually remapped memory. > > These changes have been accepted as errata for PI spec v1.7 > > Cc: Michael D Kinney > Cc: Leif Lindholm > Cc: Liming Gao > Cc: Hao A Wu > Cc: Eric Dong > Cc: Ray Ni > Cc: Achin Gupta > Cc: Jiewen Yao > Ping? > 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 > protocol > MdeModulePkg/VariableSmmRuntimeDxe: switch to MM communicate 2 > protocol > StandaloneMmPkg: switch to MM communicate 2 protocol > > .../MmCommunicationDxe/MmCommunication.c | 79 +++++++++---------- > .../MmCommunicationDxe/MmCommunication.inf | 6 +- > .../Application/VariableInfo/VariableInfo.c | 19 +++-- > .../Application/VariableInfo/VariableInfo.inf | 2 +- > MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c | 79 +++++++++++++++++++ > 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, 254 insertions(+), 94 deletions(-) > create mode 100644 MdePkg/Include/Protocol/MmCommunication2.h > > -- > 2.17.1 >