From: "Oliver Smith-Denny" <osde@linux.microsoft.com>
To: devel@edk2.groups.io
Cc: Leif Lindholm <quic_llindhol@quicinc.com>,
Ard Biesheuvel <ardb+tianocore@kernel.org>,
Sami Mujawar <sami.mujawar@arm.com>,
Liming Gao <gaoliming@byosoft.com.cn>
Subject: [edk2-devel][PATCH v2 0/3] Fix Runtime Granularity Issues
Date: Fri, 16 Feb 2024 17:27:22 -0800 [thread overview]
Message-ID: <20240217012725.31763-1-osde@linux.microsoft.com> (raw)
This patch series is the second version of
MdeModulePkg: DxeCore: Don't Guard Large Runtime Granularity Allocations.
The subject line has been updated because this went from a one commit
patch with no cover letter to a multi-commit patch.
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
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
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
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
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(-)
--
2.40.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#115560): https://edk2.groups.io/g/devel/message/115560
Mute This Topic: https://groups.io/mt/104405577/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
next reply other threads:[~2024-02-17 1:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-17 1:27 Oliver Smith-Denny [this message]
2024-02-17 1:27 ` [edk2-devel][PATCH v2 1/3] MdeModulePkg: DxeCore: Fix CodeQL Error in FreePages Oliver Smith-Denny
2024-02-17 1:27 ` [edk2-devel][PATCH v2 2/3] MdeModulePkg: DxeCore: Correct Runtime Granularity Memory Type Oliver Smith-Denny
2024-02-17 1:27 ` [edk2-devel][PATCH v2 3/3] MdeModulePkg: DxeCore: Do Not Apply Guards to Unsupported Types Oliver Smith-Denny
2024-02-21 13:32 ` [edk2-devel][PATCH v2 0/3] Fix Runtime Granularity Issues Ard Biesheuvel
[not found] <17B4822428B54117.28679@groups.io>
2024-02-26 16:46 ` Oliver Smith-Denny
[not found] ` <17B77781EF7C2ED3.24693@groups.io>
2024-03-06 18:20 ` Oliver Smith-Denny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240217012725.31763-1-osde@linux.microsoft.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox