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 52AB0D81111 for ; Mon, 5 Feb 2024 17:59:08 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=Q6xhmfrfAVm7hFOCAaBerRf05hmGz8Aut0dXfVPxBTI=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Message-ID:Date:User-Agent:Subject:To:Cc:References:From:In-Reply-To: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=1707155947; v=1; b=g+VJtd4gmWValjpDxBN7VG896iNuJeDx/p9PLo8N0ZxUfaGyHiSrxW2U0t+Ed8EllWcQH2MC Y35874KRIf3gu/ysyZV32CVmtoDcGbcg3TJGwDwXdBpppcyX9HBlWU4YBLJGNZ7hB98SLH0DMNs y+Xz0CVllhmoQmnrW93A+C6Q= X-Received: by 127.0.0.2 with SMTP id cWcHYY7687511xx69PPkZQmF; Mon, 05 Feb 2024 09:59:07 -0800 X-Received: from SN4PR2101CU001.outbound.protection.outlook.com (SN4PR2101CU001.outbound.protection.outlook.com [40.93.193.2]) by mx.groups.io with SMTP id smtpd.web10.694.1707155946344439496 for ; Mon, 05 Feb 2024 09:59:06 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EKfbmV7nMxvruC7Xqu3v4hRsVt0+qzuTU869zuECO+lBdjPNYOue/Z29B/1skEsgV+EoHaiq6g0UO1mdJBiWhHpWWzRdrLCrsfPjADQ74TQ6C20qY9Em1tpz7H6vFNGIuc8mgIC1uEWd5uaVruwA2jLfDhYiGDevJge3SaOzTuRDzatM4qT0NWuzO4NBUsGRpCyts4JBnyRUaRhik41G0x1ml+BkefeLqb4dZFLZPGG0AZz7kgvA/zfq9oSsf/dKQRSGJAQ/WvDY3WEVeAQAxEXHmk4ZB1Iay65VMMC3zHha4SBI2c0qnL+baMEoHU3RfxfNB0o8gnQaYdTD1Dh24g== 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=ARFBoKQ4eKkvvaYyXjiPWq+uMHSKP7l+vvPwdy2M4GQ=; b=XShnESlexJL76gn7MUMKsEoHrIvItnJ5S7zoI/fUXPBqb7h5tJl92ve6SMhNYKz8fxdewxUE9Qh49mhg1yus991rC7dyNW3CXwzWzgsB1wIWmuHIKztdl14HMXzfD+wJkJhAh8I1TV370cfyaOhbVS3p0iFCgDWhaJIcMIFrOG+ZxagqfkjWMwDaDisB3rQzuGEhO26FhR9KZU0RlhbrdDFlrqSikZGAXYZs/aS88+En1n5HDKkgtwYy6UmSIUiKQfq62XRo98nzT4/W41A2c8A5u35mD83RRTYSjcLQyj0Sco+0GHGe/DgdrXz5itW1cETgvP1Vn9f8pOEeJpfv3w== 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 PH7PR01MB8447.prod.exchangelabs.com (2603:10b6:510:2f8::18) by PH0PR01MB7896.prod.exchangelabs.com (2603:10b6:510:28c::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7249.34; Mon, 5 Feb 2024 17:58:59 +0000 X-Received: from PH7PR01MB8447.prod.exchangelabs.com ([fe80::eb5b:1725:46e8:fdd1]) by PH7PR01MB8447.prod.exchangelabs.com ([fe80::eb5b:1725:46e8:fdd1%5]) with mapi id 15.20.7249.032; Mon, 5 Feb 2024 17:58:59 +0000 Message-ID: Date: Mon, 5 Feb 2024 10:58:54 -0700 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] AArch64 with HeapGuard: page allocations wrongly aligned To: Oliver Smith-Denny , devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Jian J Wang , Liming Gao , Dandan Bi References: <05f6388b-155e-427d-8e34-0ac571e97fb8@os.amperecomputing.com> <24affef7-eb96-4a82-b9d4-b616eb90024d@os.amperecomputing.com> <17AB84FD31479E00.28523@groups.io> <0a589fed-02f1-4598-bbbc-98bad0e8b04f@linux.microsoft.com> <14dac152-dfea-4ad3-bd52-300990bd1be8@os.amperecomputing.com> <09a8622e-be60-46e2-8e96-447dacb8c12f@linux.microsoft.com> <9696df58-283c-447d-b801-c3bb57b3787d@os.amperecomputing.com> <17ACD713D9397BBF.18300@groups.io> <1d8fd126-2bb1-4dc4-bd2a-d2552eebe068@linux.microsoft.com> <0a32e2fa-aae5-490f-9018-18f8b5133c33@os.amperecomputing.com> <6fdac41e-87b9-4f88-a62c-43f222a933ae@linux.microsoft.com> From: "Rebecca Cran via groups.io" In-Reply-To: <6fdac41e-87b9-4f88-a62c-43f222a933ae@linux.microsoft.com> X-ClientProxiedBy: CH2PR18CA0020.namprd18.prod.outlook.com (2603:10b6:610:4f::30) To PH7PR01MB8447.prod.exchangelabs.com (2603:10b6:510:2f8::18) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PH7PR01MB8447:EE_|PH0PR01MB7896:EE_ X-MS-Office365-Filtering-Correlation-Id: f85225c3-9e0d-49dd-687a-08dc2674211f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: e1IBiJ8MXaKeuCklmKocbjiqzyRYGQV4jUe62gSTxLDvxxm1vsciUh+hM/WVa9CEYQwlws+p+4E/VaKewPnqx0S23yPj/5/HPZh4e6MELPht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wph7s5/ng7558=3D?= X-OriginatorOrg: os.amperecomputing.com X-MS-Exchange-CrossTenant-Network-Message-Id: f85225c3-9e0d-49dd-687a-08dc2674211f X-MS-Exchange-CrossTenant-AuthSource: PH7PR01MB8447.prod.exchangelabs.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Feb 2024 17:58:59.5003 (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: u3obOIVWrXmXg/THGnrAZmdUVVmBfvVbIi1j2Xgp9xOifdAOF67qwV8VzjQRI1ah9iAfyIio3PWl5BkXqHFCDkU1ecPLL7BDj1SJgPH8SJ6hdsvua/ChbaK3sVwR9S+V X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR01MB7896 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: 94CItfLxuhUd9qKrmZB02I4ex7686176AA= 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=g+VJtd4g; 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; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") On 2/5/2024 10:51 AM, Oliver Smith-Denny wrote: > Well that's a bummer :). I moved to top of tree edk2 and added > StatusCodeHandlerRuntimeDxe to the ArmVirtQemu build and I am > not seeing your crash. Do you have any PCDs set for this driver? Our code is pretty heavily customized, so it's likely it's doing=20 something differently. I can debug it further later this week. >=20 > I am running with the HeapGuard PCDs you sent before: >=20 > gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPropertyMask|0x0F > gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPageType|0xC00000000000FFFF > gEfiMdeModulePkgTokenSpaceGuid.PcdHeapGuardPoolType|0xC00000000000FFFF >=20 > However, I am seeing a crash when the shell launches now, so I will > debug this. Something changed in the upstream, probably exposing a bug > in my code. Let's see if it is the same thing as you are seeing. Could it be this bug you're running into?=20 https://bugzilla.tianocore.org/show_bug.cgi?id=3D1463 --=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 (#115125): https://edk2.groups.io/g/devel/message/115125 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-