From: "Oliver Smith-Denny" <osde@linux.microsoft.com>
To: Taylor Beebe <taylor.d.beebe@gmail.com>,
devel@edk2.groups.io, ardb@kernel.org
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Subject: Re: [edk2-devel] [PATCH v1] MdeModulePkg: Fixup MAT Attributes After Splitting EFI Memory Map
Date: Wed, 17 Apr 2024 15:12:21 -0700 [thread overview]
Message-ID: <43b45380-34ba-40af-979c-44bd3eb0df23@linux.microsoft.com> (raw)
In-Reply-To: <17C72F39F4EB8845.20027@groups.io>
On 4/17/2024 2:41 PM, Oliver Smith-Denny wrote:
> Now, for the case of ARM64, where you have 64k runtime
> granularity and often will end up with the case of many
> extra pages in a code section, those pages will be marked
> as RO and executable, even though they contain garbage. I think
> it would be worthwhile to mark the excess garbage pages, if they
> exist for a given section, as RP. Nothing should be using them
> in any fashion, they are padding.
I thought this through some more. We can't do this because of
the UEFI spec provision that says no 64k region can have different
attributes set. So, we leave open the possibility of executing
garbage :)
Oliver
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#117936): https://edk2.groups.io/g/devel/message/117936
Mute This Topic: https://groups.io/mt/105570114/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-
prev parent reply other threads:[~2024-04-17 22:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-17 2:28 [edk2-devel] [PATCH v1] MdeModulePkg: Fixup MAT Attributes After Splitting EFI Memory Map Taylor Beebe
2024-04-17 6:38 ` Ard Biesheuvel
2024-04-17 13:40 ` Oliver Smith-Denny
2024-04-17 14:05 ` Taylor Beebe
2024-04-17 14:09 ` Oliver Smith-Denny
2024-04-17 14:34 ` Taylor Beebe
2024-04-17 16:52 ` Ard Biesheuvel
2024-04-17 21:53 ` Oliver Smith-Denny
2024-04-17 21:41 ` Oliver Smith-Denny
[not found] ` <17C72F39F4EB8845.20027@groups.io>
2024-04-17 22:12 ` Oliver Smith-Denny [this message]
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=43b45380-34ba-40af-979c-44bd3eb0df23@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