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 A827DAC1696 for ; Thu, 18 Jan 2024 15:27:42 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Se5m4JsOQjJewxS6fd9DVXrgsfPdywu98yznO8Hht0o=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Message-ID:Date:User-Agent:To:Cc:From:Subject:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1705591661; v=1; b=kkjMxPEE3N0UnVkuJ862Iw9HxzfJBqRGngpPZ9XZHAuwhOfm83OIZ+9+tAWD/WDDYQeWBGIk IjfoYygiYLTKSLWpO9/tCZ30mcCWLzMAo8/8Cscf7LpWbl1/BJKPaarAkvNWtLkkmKyXER9NFcW GiNLGf8P2TkixRKxEqGGUV7Y= X-Received: by 127.0.0.2 with SMTP id SB7sYY7687511x349XclJi2h; Thu, 18 Jan 2024 07:27:41 -0800 X-Received: from NAM04-MW2-obe.outbound.protection.outlook.com (NAM04-MW2-obe.outbound.protection.outlook.com [40.107.101.118]) by mx.groups.io with SMTP id smtpd.web11.14505.1705591660653505140 for ; Thu, 18 Jan 2024 07:27:40 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=g0+r7gDthD9Yd7MwjFRnzTO7pOBqaQD066xsDEHgPEait0c1CDWLOtEseFkBd76gW6/9ktZn1rtp13m/RZQFjmFxRmYAwwq1f+nWIWw3QkaKRPz7xOpmqyjO1cnUrk3d8xZeYIxe3c+S+3rT6KGtzQCcxox4xOhlKKX1t81FqFUb6wrCfiy5Iw71nLSHOo85/ZnyCUOyy2ZdKgAHoWHiu+1EWAgliQVrvogYD1XM+9BCr6OKC54GkTDnJrxdUlvk8mGsEKYKuqZsL3mYXZxQxWiMrwSiZ1RyyXtKusdz/LQ5PJxTaD+ppyUy9rmt0Jutl3a3W1XktN5wohJISFyDTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FYtp+Y3SkE4gFRi0dXma0RMoAJ/X77M3yfDzS61x+C4=; b=M1toEwRI6i9anDb7mSFckcP617IyRVtf1gmwr/9dovMeiAeWHCNlZAW1g6u/hKwI94Y25jaaqc4UmPMHr2gaOUS56CyDozIC8oEBHHLQN3g7T5oG3FTBepgbvdiPOj0lSWZ9isL1ydP7X2xPNVWTDGD0Ry8ZMPiSEYlvsjI2oUQVZ//vEsavgjasHiHhhehowrvQa40XhVuCplfCpX+JBKXydJ+uFQ+hwya1tubjbliJ9bYGq6m5PLUNJo8qVDjn4K+bx+B8Jg3X3RssHUez792LE9BlqdwJXhrsfL9H+Ocup4eAvbCebPj+UdnbU3DjwCVkqnxR6uX6k4jj0RgDgw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=os.amperecomputing.com; dmarc=pass action=none header.from=os.amperecomputing.com; dkim=pass header.d=os.amperecomputing.com; arc=none X-Received: from LV3PR01MB8464.prod.exchangelabs.com (2603:10b6:408:1a3::7) by SJ0PR01MB8082.prod.exchangelabs.com (2603:10b6:a03:4e2::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Thu, 18 Jan 2024 15:27:36 +0000 X-Received: from LV3PR01MB8464.prod.exchangelabs.com ([fe80::7748:d4a3:bcd9:14c1]) by LV3PR01MB8464.prod.exchangelabs.com ([fe80::7748:d4a3:bcd9:14c1%6]) with mapi id 15.20.7202.024; Thu, 18 Jan 2024 15:27:36 +0000 Message-ID: <05f6388b-155e-427d-8e34-0ac571e97fb8@os.amperecomputing.com> Date: Thu, 18 Jan 2024 08:27:31 -0700 User-Agent: Mozilla Thunderbird To: "devel@edk2.groups.io" Cc: Leif Lindholm , Ard Biesheuvel , Jian J Wang , Liming Gao , Dandan Bi , Oliver Smith-Denny From: "Rebecca Cran via groups.io" Subject: [edk2-devel] AArch64 with HeapGuard: page allocations wrongly aligned X-ClientProxiedBy: CH2PR07CA0040.namprd07.prod.outlook.com (2603:10b6:610:5b::14) To LV3PR01MB8464.prod.exchangelabs.com (2603:10b6:408:1a3::7) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: LV3PR01MB8464:EE_|SJ0PR01MB8082:EE_ X-MS-Office365-Filtering-Correlation-Id: e40764d3-ddd6-44ea-3d9b-08dc1839ff82 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: iIRDBMlr3GaybnGlcCzxqgO4pYN+9Q4j9EH8jlO/cjRYArNBgxxXM7t7Th2eWeaPHp3HrQP7yoyJYBIp5fv4LmEAr+dF6hp6b2dHxvobUj3UzaaKcOlIXrIQd8KIXk6TMS0KvSncsYD6YswZzy/it3Cv/wP0RTBJsKPrZXLqjoYLQVkP79RyLF1+F4yrWpeY5R5gAqHQ9AAlx81YMrVC3W+xrOdBpMY5VGg9k1UoTkwJvsFXvgj3UQD5WFN3WQyHUtKbAcwsJGyhdr6wDl/nXX2SACOZFFxhVs9x/2JwBTH7WH6Fqt7NwtmCZJmNviTxr7Pb4r+W/J9N19tu0VkeWM0Vwt1okbbcdc4EEaTwQQYR/OHZEn1pz+jxHdD90gqwDR5Mg/fX440pu3hwkchjQLbBN4svzfEXU7pXf6BILGskUGQfi/mjBfUvlJ8dAqv6QdQxkT2QCda4GCdna4O6pdrDp57SnmDlHvmANX2MxeFgZe233MWV5WpRh0ocrWP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9lRGg3YS9P?= =?utf-8?B?ZlN3OWtadW1tRlNhb2lhUkFFWEYydXVmMnhKY2paRitDWE9XSmpGOXY4eXhh?= =?utf-8?B?cTZGUVFsREpNTHcxNysrWEQwT2g5TTM2RVZXVzRLUGJsY2VnSmk5cGtOejNz?= =?utf-8?B?UGxyVUx0OWhBckwzN0xOZzVGSnlqbTNhY0FPNUxmVDIyR0ppQmRuVWRraE4r?= =?utf-8?B?YkdsQ29GRE5QTlVwaVRDT1hQbkQwbE9qZXZsa0tuMFlVZDRXM1JveE11U2d2?= =?utf-8?B?ekpvdnRKZVQ1VWI1R0ZIMTNOTTNTamg4K3hhdVlTRmF1Ujd5MjRuaEJtQ21G?= =?utf-8?B?Q2xTUjRTUll4VGhId2JiZE56NCtYdWpDR2tnVGRONEdEY0tHcTBDZlJDKzN6?= =?utf-8?B?ZTgwOXIvVTB2SE9yTWk1MXR6RzFnUW5DNjNVdXplN1BBSWZDdjdYcG9RTEhD?= =?utf-8?B?QXZhYjRPejRJRHdMY2o1cmxaTVIyRnhtZy9NNVpiSEloemZlTGs3VVh2RzRl?= =?utf-8?B?c1N2dFU0bnRtT2VSVEFlYUFFb3RHQ3ovdmNXSHI3TlZUdm9DUjFDbXNGODRI?= =?utf-8?Q?iczWPVYr44or9Io2CQk2hVw=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: e40764d3-ddd6-44ea-3d9b-08dc1839ff82 X-MS-Exchange-CrossTenant-AuthSource: LV3PR01MB8464.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2024 15:27:36.0493 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3bc2b170-fd94-476d-b0ce-4229bdc904a7 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: Om9engLyo0tW5IZAknOhpPOJJWjn2e9W8E+jYPq+AHLvALUpeFN3bX58Oi2AkpXdaMWTaYysxbqZ7++nJ89n5+mpWD724kJRARj7U3RYMQerTuqX5Uns66vgECw18KQU X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR01MB8082 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,rebecca@os.amperecomputing.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: jNCKJdZ8TrKG9XjZSKEdJuT6x7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=kkjMxPEE; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 I've been debugging an assert failure when using HeapGuard on AArch64. A=20 call to FreePages in SmbiosDxe is failing because the memory is aligned=20 to 0x1000 instead of 0x10000 as defined by=20 RUNTIME_PAGE_ALLOCATION_GRANULARITY. I'm enabling HeapGuard by setting the PCDs to the following values: gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask|0x0F gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPageType|0xC00000000000FFFF gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPoolType|0xC00000000000FFFF --=20 Rebecca Cran -=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 (#113995): https://edk2.groups.io/g/devel/message/113995 Mute This Topic: https://groups.io/mt/103810212/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-