From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web08.13445.1614958091255950506 for ; Fri, 05 Mar 2021 07:28:11 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=NdbyETZe; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614958090; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BhoEtWjLgNSpXE0yu3cV2v+EzKj1SMa4W559xp5pTtU=; b=NdbyETZe0Mbl05ZDtl8VCyBcma+h4z7SsTwgH+Olwc4sBAocJrfgZVhgfx1rdO8MNmefMt FU1Q9/ssRaeoibPnU+DMrEpjJHSWufxA4pRSiq4tEQHQMP9mBQMvnl01zfzYvI3H4mDQAW bRcWIC+BC93B75wqlMPTweXqpG8yYUY= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-521-cR2kjikiNCqkITdZOMUmtg-1; Fri, 05 Mar 2021 10:28:06 -0500 X-MC-Unique: cR2kjikiNCqkITdZOMUmtg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 080BD108BD0B; Fri, 5 Mar 2021 15:28:04 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-112-63.ams2.redhat.com [10.36.112.63]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0A15F60CEA; Fri, 5 Mar 2021 15:28:00 +0000 (UTC) Subject: Re: [edk2-devel] [PATCH v6 0/7] Add MmUnblockMemoryLib Interface and Usages To: devel@edk2.groups.io, kun.q@outlook.com Cc: Michael D Kinney , Liming Gao , Zhiguang Liu , Jiewen Yao , Jian J Wang , Hao A Wu , Ard Biesheuvel , Jordan Justen , Qi Zhang , Rahul Kumar References: <166956FE12B1DAB7.16425@groups.io> From: "Laszlo Ersek" Message-ID: Date: Fri, 5 Mar 2021 16:28:00 +0100 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=WINDOWS-1252 Content-Language: en-US Content-Transfer-Encoding: 8bit On 03/05/21 05:59, Kun Qin wrote: > Hi, > > Thanks to all the reviewers helping through this patch series. Each individual patch has received reviewed-by tag in this v6 version. It has also just passed all CI build tests here: Unblock mem v6 by kuqin12 · Pull Request #1473 · tianocore/edk2 (github.com) Could one of the maintainers help to merge these patches into the mainline when you have a chance? > > Please let me know if there is anything needed from me to merge in these patches. Thanks in advance! (1) Series merged as commit range c5740f360636..59a3ccb09e7a, via . (2) I couldn't tell if there was a TianoCore BZ specifically associated with this series. Some patches in the series do not reference any BZs, while some other patches reference two different BZs, namely #3168 and #3169. Neither #3168 nor #3169 contains links to *all six* postings (versions) of the patch series. So I can't decide if now, with the v6 series merged, I should close these tickets, or not. (IOW, if other tasks remain, for solving the BZs.) In case the tickets should be closed at this point, please go ahead and close them yourself, as RESOLVED|FIXED. Please also include a new comment in each ticket, repeating my point (1) above, verbatim -- each solved BZ should highlight the commit range and the pull request that solved it. (3) For the future, please fix up your email setup. I'm not sure what's happening -- it looks like whatever SMTP server you use throws away the Message-Id headers generated by git-send-email, and generates new Message-Ids. Or something similar -- FWIW, the In-Reply-To headers look questionable as well. Whatever the background, the threading in your posted patch set is broken; I had to jump through hoops to collect the individual patches from my list folder. Please fix this issue for your next contribution. Thanks, Laszlo > > Regards, > Kun > > From: Kun Qin > Sent: Thursday, March 4, 2021 20:13 > To: devel@edk2.groups.io > Cc: Michael D Kinney; Liming Gao; Zhiguang Liu; Jiewen Yao; Jian J Wang; Hao A Wu; Laszlo Ersek; Ard Biesheuvel; Jordan Justen; Qi Zhang; Rahul Kumar > Subject: [edk2-devel] [PATCH v6 0/7] Add MmUnblockMemoryLib Interface and Usages > > This patch series is a follow up of previous submission: > https://edk2.groups.io/g/devel/message/72442 > > v6 patches mainly focus on feedback for reviewed commits in v5 patches, > including: > a. Adding "Reviewed-by" and "Acked-by" tags for applicable patch; > b. Updating library class description for newly added interface; > > Patch v6 branch: https://github.com/kuqin12/edk2/tree/unblock_mem_v6 > > Cc: Michael D Kinney > Cc: Liming Gao > Cc: Zhiguang Liu > Cc: Jiewen Yao > Cc: Jian J Wang > Cc: Hao A Wu > Cc: Laszlo Ersek > Cc: Ard Biesheuvel > Cc: Jordan Justen > Cc: Qi Zhang > Cc: Rahul Kumar > > Kun Qin (7): > MdePkg: MmUnblockMemoryLib: Added definition and null instance > OvmfPkg: resolve MmUnblockMemoryLib (mainly for VariableSmmRuntimeDxe) > MdeModulePkg: VariableSmmRuntimeDxe: Added request unblock memory > interface > SecurityPkg: Tcg2Smm: Switching from gSmst to gMmst > SecurityPkg: Tcg2Smm: Separate Tcg2Smm into 2 modules > SecurityPkg: Tcg2Smm: Added support for Standalone Mm > SecurityPkg: Tcg2Acpi: Added unblock memory interface for NVS region > > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c | 42 + > MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.c | 44 + > SecurityPkg/Tcg/{Tcg2Smm/Tcg2Smm.c => Tcg2Acpi/Tcg2Acpi.c} | 362 ++++----- > SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.c | 48 ++ > SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c | 857 ++++---------------- > SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.c | 71 ++ > SecurityPkg/Tcg/Tcg2Smm/Tcg2TraditionalMm.c | 82 ++ > MdeModulePkg/MdeModulePkg.dsc | 1 + > MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf | 1 + > MdePkg/Include/Library/MmUnblockMemoryLib.h | 44 + > MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf | 34 + > MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.uni | 21 + > MdePkg/MdePkg.dec | 5 + > MdePkg/MdePkg.dsc | 1 + > OvmfPkg/OvmfPkgIa32.dsc | 3 + > OvmfPkg/OvmfPkgIa32X64.dsc | 3 + > OvmfPkg/OvmfPkgX64.dsc | 3 + > SecurityPkg/Include/Guid/TpmNvsMm.h | 68 ++ > SecurityPkg/SecurityPkg.ci.yaml | 1 + > SecurityPkg/SecurityPkg.dec | 8 + > SecurityPkg/SecurityPkg.dsc | 12 + > SecurityPkg/Tcg/{Tcg2Smm/Tcg2Smm.inf => Tcg2Acpi/Tcg2Acpi.inf} | 35 +- > SecurityPkg/Tcg/{Tcg2Smm => Tcg2Acpi}/Tpm.asl | 0 > SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf | 43 + > SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.h | 121 +-- > SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 27 +- > SecurityPkg/Tcg/Tcg2Smm/{Tcg2Smm.inf => Tcg2StandaloneMm.inf} | 50 +- > 27 files changed, 952 insertions(+), 1035 deletions(-) > create mode 100644 MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.c > copy SecurityPkg/Tcg/{Tcg2Smm/Tcg2Smm.c => Tcg2Acpi/Tcg2Acpi.c} (72%) > create mode 100644 SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.c > create mode 100644 SecurityPkg/Tcg/Tcg2Smm/Tcg2StandaloneMm.c > create mode 100644 SecurityPkg/Tcg/Tcg2Smm/Tcg2TraditionalMm.c > create mode 100644 MdePkg/Include/Library/MmUnblockMemoryLib.h > create mode 100644 MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.inf > create mode 100644 MdePkg/Library/MmUnblockMemoryLib/MmUnblockMemoryLibNull.uni > create mode 100644 SecurityPkg/Include/Guid/TpmNvsMm.h > copy SecurityPkg/Tcg/{Tcg2Smm/Tcg2Smm.inf => Tcg2Acpi/Tcg2Acpi.inf} (76%) > rename SecurityPkg/Tcg/{Tcg2Smm => Tcg2Acpi}/Tpm.asl (100%) > create mode 100644 SecurityPkg/Tcg/Tcg2Smm/Tcg2MmDependencyDxe.inf > copy SecurityPkg/Tcg/Tcg2Smm/{Tcg2Smm.inf => Tcg2StandaloneMm.inf} (52%) > > -- > 2.30.0.windows.1 > > > > > > > > > > > >