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 CB205941647 for ; Mon, 29 Jan 2024 09:03:21 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=qKeRxRvQ0vt3gIL6e/RmV3WpzPWmReTzN/z7szFclyY=; 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=1706519000; v=1; b=i5KKnd5uD2A76LDBaciUIhDVTuCaFI7H+6MScn2m+DMhqltyhE3IbMBfq6UrefKhpsS7oHuf Z0BUPEhJyw4nFingCERyWbUQBwKBsTO+9rT92q8FMBDtbUHdvDCAndEFU+nm3e4EIVwDetMrK3Q vag4BqEm2ocY+w6jVqtXV4ek= X-Received: by 127.0.0.2 with SMTP id TS5HYY7687511xyC4KDbggfL; Mon, 29 Jan 2024 01:03:20 -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.10727.1706518997549325706 for ; Mon, 29 Jan 2024 01:03:18 -0800 X-Received: from cxsh.intel-email.com (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 6CEC6DDA7BE for ; Mon, 29 Jan 2024 17:03:12 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by cxsh.intel-email.com (Postfix) with ESMTP id 6843BDDA7B4 for ; Mon, 29 Jan 2024 17:03:12 +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 C6263DDA7B8 for ; Mon, 29 Jan 2024 17:03:09 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([58.246.60.130]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Mon, 29 Jan 2024 17:03:04 +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: , Cc: "'Aaron Li'" , "'Liu Yun'" , "'Andrew Fish'" References: <20240129034514.1898-1-michael.d.kinney@intel.com> In-Reply-To: <20240129034514.1898-1-michael.d.kinney@intel.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF0gW1BhdGNoIHYyIDAvMl0gTWRlTW9kdWxlUGtnL0NvcmUvRHhlOiBTZXQgTWVtb3J5VHlwZUluZm8gYmluIHJhbmdlIGZyb20gSE9C?= Date: Mon, 29 Jan 2024 17:03:05 +0800 Message-ID: <034e01da5291$f8a7e820$e9f7b860$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQGmedxcrkRdRPtdj1VRboIkahVdRLFYL/zw 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: sdNjaMvfHaVUciTlOtkFFcOBx7686176AA= 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=i5KKnd5u; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io Mike: Thanks for your update. This patch set is good to me. Reviewed-by: Liming Gao Thanks Liming > -----=D3=CA=BC=FE=D4=AD=BC=FE----- > =B7=A2=BC=FE=C8=CB: devel@edk2.groups.io =B4=FA=B1= =ED Michael D > Kinney > =B7=A2=CB=CD=CA=B1=BC=E4: 2024=C4=EA1=D4=C229=C8=D5 11:45 > =CA=D5=BC=FE=C8=CB: devel@edk2.groups.io > =B3=AD=CB=CD: Liming Gao ; Aaron Li > ; Liu Yun ; Andrew Fish > > =D6=F7=CC=E2: [edk2-devel] [Patch v2 0/2] MdeModulePkg/Core/Dxe: Set > MemoryTypeInfo bin range from HOB >=20 > New in V2 > =3D=3D=3D=3D=3D=3D=3D=3D=3D > * Break single patch into 2 patches > * Moves GCD Initialization before RT data allocations > * Set MemoryTypeInfo bin range from HOB feature > * Update description of Memory Type Information GUID to > describe additional use case as Owner GUID in a Resource > Descriptor HOB for preferred memory range for Memory Type > Information bins. >=20 > Provide an optional method for PEI to declare a specific address > range to use for the Memory Type Information bins. The current > algorithm uses heuristics that tends to place the Memory Type > Information bins in the same location, but memory configuration > changes across boots or algorithm changes across a firmware > updates could potentially change the Memory Type Information bin > location. >=20 > If the HOB List contains a Resource Descriptor HOB that > describes tested system memory and has an Owner GUID of > gEfiMemoryTypeInformationGuid, then use the address range > described by the Resource Descriptor HOB as the preferred > location of the Memory Type Information bins. If this HOB is > not detected, then the current behavior is preserved. >=20 > The HOB with an Owner GUID of gEfiMemoryTypeInformationGuid > is ignored for the following conditions: > * The HOB with an Owner GUID of gEfiMemoryTypeInformationGuid > is smaller than the Memory Type Information bins. > * The HOB list contains more than one Resource Descriptor HOB > with an owner GUID of gEfiMemoryTypeInformationGuid. > * The Resource Descriptor HOB with an Owner GUID of > gEfiMemoryTypeInformationGuid is the same Resource Descriptor > HOB that that describes the PHIT memory range. >=20 > Update the DxeMain initialization order to initialize GCD > services before any runtime allocations are performed. This > is required to prevent runtime data fragmentation when the > UEFI System Table and UEFI Runtime Service Table are allocated > before both the memory and GCD services are initialized. >=20 > Cc: Liming Gao > Cc: Aaron Li > Cc: Liu Yun > Cc: Andrew Fish > Signed-off-by: Michael D Kinney >=20 > Michael D Kinney (2): > MdeModulePkg/Core/Dxe: Initialize GCD before RT memory allocations > MdeModulePkg/Core/Dxe: Set MemoryTypeInfo bin range from HOB >=20 > MdeModulePkg/Core/Dxe/DxeMain.h | 6 ++ > MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c | 23 ++-- > MdeModulePkg/Core/Dxe/Gcd/Gcd.c | 72 > ++++++++++++- > MdeModulePkg/Core/Dxe/Image/Image.c | 1 - > MdeModulePkg/Core/Dxe/Mem/Page.c | 101 > ++++++++++++++++++ > .../Include/Guid/MemoryTypeInformation.h | 14 ++- > 6 files changed, 199 insertions(+), 18 deletions(-) >=20 > -- > 2.40.1.windows.1 >=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 (#114678): https://edk2.groups.io/g/devel/message/114678 Mute This Topic: https://groups.io/mt/104028076/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-