From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0105.outbound.protection.outlook.com [104.47.37.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 0E1AA20945B72 for ; Mon, 18 Sep 2017 12:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=MMsrfoysBt8q72VGGUSc32BjACxTnuizKo115fnlh6g=; b=GVEVTGlIoSe8Vmd+t+BSrldsaxhib3fWuy1Yp/03HEAQ1g8sL8hcx0BbcdIJxISv3/pipjTXGE6aaRwV7z5FVYBg4De0dYRmVYlk/F4BaWg+29DV3Ap4KU2gg6Id1dXJc2Q8Ag5YnAqBnJgLQ+rVM4McLDOFAlkvn30J0EyMPU0= Received: from DM5PR21MB0185.namprd21.prod.outlook.com (10.173.173.136) by DM5PR21MB0281.namprd21.prod.outlook.com (10.173.174.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.98.1; Mon, 18 Sep 2017 19:48:36 +0000 Received: from DM5PR21MB0185.namprd21.prod.outlook.com ([10.173.173.136]) by DM5PR21MB0185.namprd21.prod.outlook.com ([10.173.173.136]) with mapi id 15.20.0098.001; Mon, 18 Sep 2017 19:48:36 +0000 From: Larry Cleeton To: "edk2-devel@lists.01.org" Thread-Topic: EFI_MEMORY_ATTRIBUTES_TABLE not in runtime memory Thread-Index: AdMwtbIGgmjoUTiIS3yYgSDmqXoyNw== Date: Mon, 18 Sep 2017 19:48:36 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [2001:4898:80e8:f::6e6] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR21MB0281; 6:xjyUL+XmZJonLe4Ea5jBgsIIxlvCOltWjP+rk7icTUr/2ArLZ/26ndU27M3P3bXCBCRUCz1gf7p+myVYkceGc+bGbIbJbNlXCi8DcT8JULU80LVL0zItC+8wFhgywInTG+CyINLDGN6+2KJssILCiT1tsmRsfbW7vwOEQWKRcAdryCe1Y7tNXF2I/PMxIWDF0fDWxegbGrEY2nrmTFOnjLHD1BLmKEGGf5FPiPLyh/mzI/WJ/mpKP3pAYBIL+2mURsn7WOZcjzQrepsH6HVhJBMjlgEV6RqrDAc0a/jDk/vucfbjG1xRkfotjnyrIwfwAY81GELIuoB8g6mbdXLIKg==; 5:PGh1VNkrCe9IJw/jpoq/V9KXgjuHoDnZlkgLFvqKspx6AK9lQylmKhIIkrWbdQkCofKgIH+QMHIbdVJtAUcrGwhLjgdfrtgtzjuFfFZs0oYbFbiNFQU7OqO48Us9/97gU8phlLIBhtg4oIMdr0Vz2g==; 24:FYlG5sbQUcZ5+yh19B8ymU6ZOohKiZL2nyWExgmKF+R8KZTKyMQWJxpdmFKSUxAw0taiqVAYGK/TkCA0KIggMbNx6atuyiKDywpSwefpTDo=; 7:bwHxrtPfdz9353CgOORqv7F4LCS1Q477SwpCEuEkQrZe4PgCd8lttfoWvxZinR/C52Qz+/CUv2SGU5IC9IvIhYIOH4luzXzbDSHubN7yi/Wxcj/D2CjLTkuK0KSlwUfTywEYRR7511XtTHa9oCnMQC3DTDFq7eKlwpqKekG4XwARsrxIIVvK2lEsdjWtctg4VR/ICj8MimmBLUpIR6QI0X4dSSBYZd6BcECzK/Xlro4= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 0ac29f53-e532-487f-dac8-08d4fece408a x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR21MB0281; x-ms-traffictypediagnostic: DM5PR21MB0281: authentication-results: spf=none (sender IP is ) smtp.mailfrom=Larry.Cleeton@microsoft.com; x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(61425038)(6040450)(2401047)(5005006)(8121501046)(3002001)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(6055026)(61426038)(61427038)(6041248)(20161123558100)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123562025)(20161123560025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR21MB0281; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR21MB0281; x-forefront-prvs: 04347F8039 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(346002)(376002)(39860400002)(47760400005)(189002)(199003)(102836003)(97736004)(6116002)(5640700003)(3660700001)(6916009)(7736002)(6436002)(3280700002)(101416001)(50986999)(54356999)(8990500004)(305945005)(53936002)(7696004)(74316002)(77096006)(99286003)(55016002)(9686003)(25786009)(68736007)(10290500003)(2906002)(81156014)(8676002)(81166006)(10090500001)(72206003)(6506006)(14454004)(478600001)(8936002)(5660300001)(189998001)(86362001)(2900100001)(106356001)(105586002)(86612001)(22452003)(2351001)(33656002)(2501003)(316002); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR21MB0281; H:DM5PR21MB0185.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Sep 2017 19:48:36.4079 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR21MB0281 Subject: EFI_MEMORY_ATTRIBUTES_TABLE not in runtime memory X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Sep 2017 19:45:34 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable The EFI_MEMORY_ATTRIBUTES_TABLE constructed in MdeModulePkg/core/dxe/misc/M= emoryAttributesTable.c is allocating the table memory using AllocatePool().= It seems it should be allocated using AllocateRuntimePool(). We've observe= d Linux kernels seeing a zeroed table, likely because those boot services m= emory pages have been reclaimed and zeroed. It appears that several other c= onfiguration tables are allocated with runtime memory. I haven't found any = specific statements that this table should be in runtime memory. However it= seems pragmatic and consistent that it be in runtime memory.