From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 9D48BD8024A for ; Tue, 19 Dec 2023 06:27:58 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=6N++s4wCAlGxHTnUnb0owu+zyLXMrN1VdagvEeFqrhY=; c=relaxed/simple; d=groups.io; h=From:To:Cc:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Thread-Index:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20140610; t=1702967277; v=1; b=fJwqSBZeauq5GxNIb+UsnVMvJUtLmXEw5r9o3sl/jK6P/G3WV+2cjC2DVcLGbl5xMtRK1RUs JtJ9ehloVRq/KRfu3/tt6dO1Kq1T1c9nr1AwU4DAhmssUs4Mlev/bRdtc9CP/sciVYyPUJuErbk dGoNdO0IBLSfWGPqGLJK/0FA= X-Received: by 127.0.0.2 with SMTP id zYtkYY7687511xVZv2ME32kp; Mon, 18 Dec 2023 22:27:57 -0800 X-Received: from cxsh.intel-email.com (cxsh.intel-email.com [121.46.250.151]) by mx.groups.io with SMTP id smtpd.web10.6777.1702967275766311699 for ; Mon, 18 Dec 2023 22:27:56 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 724F2DDA7FD for ; Tue, 19 Dec 2023 14:27:53 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 6DAC0DDA7FC for ; Tue, 19 Dec 2023 14:27:53 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by cxsh.intel-email.com (Postfix) with SMTP id CC30FDDA811 for ; Tue, 19 Dec 2023 14:27:50 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Tue, 19 Dec 2023 14:27:47 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 58.246.60.130 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: "'Wang, Fan'" , "'Kumar, Rahul R'" Cc: "'Wang, Jian J'" , "'Ni, Ray'" , "'Kinney, Michael D'" , "'Jiang, Guomin'" , References: <17A0B71F68A6EB8F.11381@groups.io> In-Reply-To: Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BBVENIIHY1IDAvMl0gU3VwcG9ydCBjdXN0b21pemVkIEZWIE1pZ3JhdGlvbiBJbmZvcm1hdGlvbg==?= Date: Tue, 19 Dec 2023 14:27:50 +0800 Message-ID: <006b01da3244$7d63ac20$782b0460$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQJC+CXBnY1nVcM6vkITP+Y4H7xBrgFtXloBr9MtbCA= Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 5sPc995JZFd9xs6z9tYlXhW7x7686176AA= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Content-Language: zh-cn X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=fJwqSBZe; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=none Fan: This version patch is good to me. Reviewed-by: Liming Gao for this patch set. Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: Wang, Fan > =B7=A2=CB=CD=CA=B1=BC=E4: 2023=C4=EA12=D4=C214=C8=D5 22:15 > =CA=D5=BC=FE=C8=CB: Gao, Liming ; Kumar, Rahul = R > > =B3=AD=CB=CD: Wang, Fan ; Wang, Jian J > ; Ni, Ray ; Kinney, Michael D > ; Jiang, Guomin ; > devel@edk2.groups.io > =D6=F7=CC=E2: RE: [edk2-devel] [PATCH v5 0/2] Support customized FV Migra= tion > Information >=20 > Hi Liming and Kumar >=20 > Could you help review this v5 patch: >=20 > MdeModulePkg: Support customized FV Migration Information: > https://github.com/fanwang2intel/edk2/commit/83c55a73107bfb13df1d8b5 > 22e0ea1d18ef3d86b >=20 > SecurityPkg: Support customized FV Migration Information > https://github.com/fanwang2intel/edk2/commit/6f7e955f1d63a875f69ebc08 > 4885e76610acc722 >=20 > v5: > - Remove RemoveFvHobsInTemporaryMemory() since no consumer will call > this API now. > - Separate patches to different packages. >=20 > Best Regards > Fan >=20 > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Wang Fan > Sent: Thursday, December 14, 2023 9:53 PM > To: devel@edk2.groups.io > Cc: Wang, Fan > Subject: [edk2-devel] [PATCH v5 0/2] Support customized FV Migration > Information >=20 > There are use cases which not all FVs need be migrated from TempRam to > permanent memory before TempRam tears down. This new guid is introduced > to avoid unnecessary FV migration to improve boot performance. Platform can > publish MigrationInfo hob with this guid to customize FV migration info, and > PeiCore will only migrate FVs indicated by this Hob info. >=20 > This is a backwards compatible change, PeiCore will check MigrationInfo hob > before migration. If MigrationInfo hobs exists, only migrate FVs recorded by > hobs. If MigrationInfo hobs not exists, migrate all FVs to permanent memory. >=20 > In Tcg driver, when MigratedFvInfo hob is detected, existing code logic i= s > assuming FV raw data is already copied, and raw data base address is also > recorded. Due to the new PeiCore change, the platform can publish hob to > indicate raw data need be copied or not along with FV migration. >=20 > Two cases need be considered to skip copy for boot performance: The first > case is FV is not expected to be measured in post-mem phase, we should us= e > MeasurementExcludedPpiGuid to skip measurement. The second case is FV > raw data has no need to do rebase operation after migration, then > measurement should calculate hash directly from FV base address. >=20 > Fan Wang (2): > MdeModulePkg: Support customized FV Migration Information > SecurityPkg: Support customized FV Migration Information >=20 > MdeModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 84 > ++++++++++++++----- > MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 40 --------- > MdeModulePkg/Core/Pei/PeiMain.h | 11 --- > MdeModulePkg/Core/Pei/PeiMain.inf | 1 + > MdeModulePkg/Include/Guid/MigratedFvInfo.h | 42 +++++++++- > MdeModulePkg/MdeModulePkg.dec | 3 +- > SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 7 +- > SecurityPkg/Tcg/TcgPei/TcgPei.c | 7 +- > 8 files changed, 116 insertions(+), 79 deletions(-) >=20 > -- > 2.29.2.windows.2 >=20 >=20 >=20 >=20 >=20 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112693): https://edk2.groups.io/g/devel/message/112693 Mute This Topic: https://groups.io/mt/103258717/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-