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 89948941674 for ; Thu, 14 Mar 2024 14:52:48 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=TpPtQoxf0rUSWeDFlhPLiI90dwhOUxcZBOnL9N3AYYI=; 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:Resent-Date:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Type:Content-Transfer-Encoding:Content-Language; s=20240206; t=1710427967; v=1; b=ruosZ9JU7baHHZyRFXG2aLVkQviNqUS1N36jllnRA8drkGEQWKpQRzWu1K03rjZ6TUrMSctw 6hoQm4k6KD39e1RShJtFV+3Z4Nvs4PAEKNYLIHE4zEwW2sVw0Q2b/uX0RylvHVxzGIeZEDRkIw3 UD9m5/KtOHyzjNjZHQcfhKnOXo8Rywwl24m0RgYt6/ZL8ffuJU4/xP/b2/CtCKjWzmROmgKUuHm EfOCasTvgW40EJF+3KzUsyB8wIGNr+TQc8Ng1Ys+W/EH0wbUzjcWG04JRQQocnUs1Jnsv9yRxct C5rS+psew9B6NINkBFtPacK/YasI9k+aYmVR830NeCm5Q== X-Received: by 127.0.0.2 with SMTP id TJoRYY7687511xqhNZiKj8rJ; Thu, 14 Mar 2024 07:52:47 -0700 X-Received: from zrleap.intel-email.com (zrleap.intel-email.com [114.80.218.36]) by mx.groups.io with SMTP id smtpd.web10.14726.1710427965789952726 for ; Thu, 14 Mar 2024 07:52:46 -0700 X-Received: from zrleap.intel-email.com (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id EF28DA32E02A for ; Thu, 14 Mar 2024 22:52:42 +0800 (CST) X-Received: from localhost (localhost [127.0.0.1]) by zrleap.intel-email.com (Postfix) with ESMTP id DA63AA32E023 for ; Thu, 14 Mar 2024 22:52:42 +0800 (CST) X-Received: from mail.byosoft.com.cn (mail.byosoft.com.cn [58.240.74.242]) by zrleap.intel-email.com (Postfix) with SMTP id 303FEA32DFDD for ; Thu, 14 Mar 2024 22:52:39 +0800 (CST) X-Received: from DESKTOPS6D0PVI ([114.93.194.54]) (envelope-sender ) by 192.168.6.13 with ESMTP(SSL) for ; Thu, 14 Mar 2024 22:52:33 +0800 X-WM-Sender: gaoliming@byosoft.com.cn X-Originating-IP: 114.93.194.54 X-WM-AuthFlag: YES X-WM-AuthUser: gaoliming@byosoft.com.cn From: "gaoliming via groups.io" To: "'Oliver Smith-Denny'" , Cc: "'Leif Lindholm'" , "'Ard Biesheuvel'" , "'Sami Mujawar'" References: <20240309190559.28677-1-osde@linux.microsoft.com> In-Reply-To: <20240309190559.28677-1-osde@linux.microsoft.com> Subject: =?UTF-8?B?5Zue5aSNOiBbZWRrMi1kZXZlbF1bUEFUQ0ggdjMgMC8zXSBGaXggUnVudGltZSBHcmFudWxhcml0eSBJc3N1ZXM=?= Date: Thu, 14 Mar 2024 22:52:36 +0800 Message-ID: <034701da761f$41052190$c30f64b0$@byosoft.com.cn> MIME-Version: 1.0 Thread-Index: AQHtM1PnD8qyrPJelPej6KPOOsbMebER18Vg 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 Resent-Date: Thu, 14 Mar 2024 07:52:46 -0700 Reply-To: devel@edk2.groups.io,gaoliming@byosoft.com.cn List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: 3z07qnxGTygoQvmXLWH4jdekx7686176AA= Content-Type: text/plain; charset="UTF-8" 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=20240206 header.b=ruosZ9JU; dmarc=pass (policy=none) header.from=groups.io; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io For this patch set, I have no comments. Reviewed-by: Liming Gao > -----=E9=82=AE=E4=BB=B6=E5=8E=9F=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA: Oliver Smith-Denny > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2024=E5=B9=B43=E6=9C=8810=E6=97=A5 = 3:06 > =E6=94=B6=E4=BB=B6=E4=BA=BA: devel@edk2.groups.io > =E6=8A=84=E9=80=81: Leif Lindholm ; Ard Bieshe= uvel > ; Sami Mujawar ; > Liming Gao > =E4=B8=BB=E9=A2=98: [edk2-devel][PATCH v3 0/3] Fix Runtime Granularity Is= sues >=20 > This patch series is the third version of > MdeModulePkg: DxeCore: Don't Guard Large Runtime Granularity Allocations= =E2=80=8B. > The subject line has been updated because this went from a one commit > patch with no cover letter to a multi-commit patch. >=20 > The commit messages cover the vast amount of detail here, but this > patchset fixes three issues: > - a UEFI spec violation for which memory types require runtime page > allocation granularity alignment > - An incompatibility of the heap guard system to guard these regions > that require runtime page allocation granularities greater than > the EFI_PAGE_SIZE. > - A CodeQL error that fails CI when updating the Page.c code >=20 > v3: > - edit comments for readability >=20 > v2: > - Add commit to fix UEFI spec violation > - Add commit to fix newly flagged CodeQL error > - Update guard commit message, comments, and static assert to use > the correct types >=20 > Cc: Leif Lindholm > Cc: Ard Biesheuvel > Cc: Sami Mujawar > Cc: Liming Gao >=20 > Oliver Smith-Denny (3): > MdeModulePkg: DxeCore: Fix CodeQL Error in FreePages > MdeModulePkg: DxeCore: Correct Runtime Granularity Memory Type > MdeModulePkg: DxeCore: Do Not Apply Guards to Unsupported Types >=20 > MdeModulePkg/MdeModulePkg.dec | 10 +++++++++ > MdeModulePkg/Core/Dxe/Mem/HeapGuard.h | 14 > +++++++++++++ > MdeModulePkg/Core/Dxe/Mem/Page.c | 22 > +++++++++++++++++--- > MdeModulePkg/Core/Dxe/Mem/Pool.c | 15 > +++++++++++-- > MdeModulePkg/Core/Dxe/Misc/MemoryProtection.c | 4 ++-- > MdeModulePkg/Core/Pei/Memory/MemoryServices.c | 2 +- > 6 files changed, 59 insertions(+), 8 deletions(-) >=20 > -- > 2.40.1 -=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 (#116762): https://edk2.groups.io/g/devel/message/116762 Mute This Topic: https://groups.io/mt/104927832/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-