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 AAFD5D80419 for ; Tue, 6 Feb 2024 04:20:39 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=/+HyuKYCJORdHXVWDJW5FJU2mahTD42SbeHa2XXDBT0=; c=relaxed/simple; d=groups.io; h=DKIM-Filter:Message-ID:Date:MIME-Version:User-Agent:Subject:From:To:Cc:Reply-To:References:In-Reply-To:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1707193238; v=1; b=QFTK/r91HDthIf137YmmiNiP2ivvSuAHhskiR1Vr4+ZUIjIv6k8iczT+iXkf/ah2ySo89gCd uu/ts3ENXnqlCAxjwkSmkCX+UNrY96QklFh0MHUgH4ieE26KeMTm26QCR4/5K4cZeL5mZnP+ZR5 CYyrGCTbKvavVny3kwzDhdzE= X-Received: by 127.0.0.2 with SMTP id gMR6YY7687511xu0ZRkj0UCl; Mon, 05 Feb 2024 20:20:38 -0800 X-Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web10.14741.1707193237417929107 for ; Mon, 05 Feb 2024 20:20:37 -0800 X-Received: from [10.137.194.171] (unknown [131.107.160.171]) by linux.microsoft.com (Postfix) with ESMTPSA id A064E207E39D; Mon, 5 Feb 2024 20:20:36 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com A064E207E39D Message-ID: Date: Mon, 5 Feb 2024 20:20:36 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [edk2-devel] AArch64 with HeapGuard: page allocations wrongly aligned From: "Oliver Smith-Denny" To: Rebecca Cran , devel@edk2.groups.io Cc: Leif Lindholm , Ard Biesheuvel , Jian J Wang , Liming Gao , Dandan Bi Reply-To: devel@edk2.groups.io,osde@linux.microsoft.com 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> <17B111E492D567BB.26550@groups.io> In-Reply-To: <17B111E492D567BB.26550@groups.io> 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 List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: aJVOORGEfGWSCqKGzpJv3mkKx7686176AA= 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="QFTK/r91"; 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=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=linux.microsoft.com (policy=none) On 2/5/2024 12:36 PM, Oliver Smith-Denny wrote: > On 2/5/2024 9:58 AM, Rebecca Cran wrote: >> 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 > Ok, it would be interesting to see what is happening here. Out of > curiousity, does this repro if you only have page or pool guards set, > not both? My shell bug only repros if both are set (which would seem > to point to a bug in shared guard pages). >=20 Alright, I fixed the shell bug I saw. I had an edge case I previously had covered, but lost in one of the reworkings. I force pushed my branch here: https://github.com/tianocore/edk2/pull/5339. Can you see if that resolves both the new and old issues you saw? Thanks, Oliver -=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 (#115142): https://edk2.groups.io/g/devel/message/115142 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-