From: Laszlo Ersek <lersek@redhat.com>
To: Jian J Wang <jian.j.wang@intel.com>, edk2-devel@lists.01.org
Subject: Re: [PATCH v8 0/2] Fix multiple entries of RT_CODE in memory map
Date: Thu, 23 Nov 2017 17:45:06 +0100 [thread overview]
Message-ID: <a78a8eeb-d7ce-2822-fc71-a09dd3db8ca2@redhat.com> (raw)
In-Reply-To: <20171123021237.15396-1-jian.j.wang@intel.com>
On 11/23/17 03:12, Jian J Wang wrote:
>> v8:
>> Remove merge code but keep code to remain MemoryMapStart
>
>> v7:
>> Merge memory map after filtering paging attributes
>
>> v6:
>> Add ExecuteDisable feature check to include/exclude EFI_MEMORY_XP
>
>> v5:
>> Coding style clean-up
>
>> v4:
>> a. Remove DoUpdate and check attributes mismatch all the time to avoid
>> a logic hole
>> b. Add warning message if failed to update capability
>> c. Add local variable to hold new attributes to make code cleaner
>
>> v3:
>> a. Add comment to explain more on updating memory capabilities
>> b. Fix logic hole in updating attributes
>> c. Instead of checking illegal memory space address and size, use return
>> status of gDS->SetMemorySpaceCapabilities() to skip memory block which
>> cannot be updated with new capabilities.
>
>> v2
>> a. Fix an issue which will cause setting capability failure if size is smaller
>> than a page.
>
> More than one entry of RT_CODE memory might cause boot problem for some
> old OSs. This patch will fix this issue to keep OS compatibility as much
> as possible.
>
> More detailed information, please refer to
> https://bugzilla.tianocore.org/show_bug.cgi?id=753
>
> Laszlo did a thorough test on OVMF emulated platform. The details can be found
> at https://bugzilla.tianocore.org/show_bug.cgi?id=753#c10
>
> Contributed-under: TianoCore Contribution Agreement 1.1
> Signed-off-by: Jian J Wang <jian.j.wang@intel.com>
> Tested-by: Laszlo Ersek <lersek@redhat.com>
>
> Jian J Wang (2):
> UefiCpuPkg/CpuDxe: Fix multiple entries of RT_CODE in memory map
> MdeModulePkg/DxeCore: Filter out all paging capabilities
>
> MdeModulePkg/Core/Dxe/Mem/Page.c | 20 +++++++++
> UefiCpuPkg/CpuDxe/CpuPageTable.c | 94 +++++++++++++++++++++++++++++++---------
> 2 files changed, 93 insertions(+), 21 deletions(-)
>
Many thanks, Jian; this version looks great. From my side, please feel
free to push it.
Thanks,
Laszlo
prev parent reply other threads:[~2017-11-23 16:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-11-23 2:12 [PATCH v8 0/2] Fix multiple entries of RT_CODE in memory map Jian J Wang
2017-11-23 2:12 ` [PATCH v8 1/2] UefiCpuPkg/CpuDxe: " Jian J Wang
2017-11-23 2:12 ` [PATCH v8 2/2] MdeModulePkg/DxeCore: Filter out all paging capabilities Jian J Wang
2017-11-23 16:45 ` Laszlo Ersek [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=a78a8eeb-d7ce-2822-fc71-a09dd3db8ca2@redhat.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