From: Laszlo Ersek <lersek@redhat.com>
To: "Yao, Jiewen" <jiewen.yao@intel.com>,
"edk2-devel@ml01.01.org" <edk2-devel@ml01.01.org>
Cc: "Kinney, Michael D" <michael.d.kinney@intel.com>,
"Fan, Jeff" <jeff.fan@intel.com>
Subject: Re: [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType.
Date: Fri, 2 Dec 2016 10:44:14 +0100 [thread overview]
Message-ID: <60cdf4c8-05b8-f11e-5206-f107f3ad5fab@redhat.com> (raw)
In-Reply-To: <74D8A39837DF1E4DA445A8C0B3885C50386DF3E3@shsmsx102.ccr.corp.intel.com>
On 12/02/16 03:03, Yao, Jiewen wrote:
> Thank you Laszlo.
>
>
>
> This time, I did not use number purposely.
>
>
>
> My thinking is that each patch resolves a specific problem. Although I
> fixed all of them at same time, they can be check in independently.
Ah! I looked briefly at the patches and was wondering about the
connection between them. And, I applied them all together and tested
them together.
When I applied them with "git am", I was slightly annoyed that I had to
rename the patches myself, because the file names didn't have numbers
(from the subject lines) and so "git am *" wouldn't keep the original order.
So apparently this was all intentional :) In the future I'd still
recommend to use numbers, also a cover letter, and in the cover letter
just state that the patches are independent. The subject on the cover
letter can be "various fixes" or some such.
Thanks!
Laszlo
>
>
>
> Thank you
>
> Yao Jiewen
>
>
>
> *From:*Laszlo Ersek [mailto:lersek@redhat.com]
> *Sent:* Friday, December 2, 2016 5:51 AM
> *To:* Yao, Jiewen <jiewen.yao@intel.com>; edk2-devel@ml01.01.org
> *Cc:* Kinney, Michael D <michael.d.kinney@intel.com>; Fan, Jeff
> <jeff.fan@intel.com>
> *Subject:* Re: [edk2] [PATCH] MdeModulePkg/PiSmmCore: AllocatePool
> should use MemoryType.
>
>
>
> On 12/01/16 09:23, Jiewen Yao wrote:
>> PiSmmCore supports page level protection based upon the Memory Type
>> (EfiRuntimeServicesCode/EfiRuntimeServicesData) and PE image.
>>
>> However, the Memory Type information is ignored in AllocatePool().
>> If a caller calls AllocatePool with EfiRuntimeServicesCode,
>> the final memory is still allocated as EfiRuntimeServicesData.
>>
>> This patch supports AllocatePool with EfiRuntimeServicesCode.
>>
>> Cc: Jeff Fan <jeff.fan@intel.com <mailto:jeff.fan@intel.com>>
>> Cc: Michael D Kinney <michael.d.kinney@intel.com <mailto:michael.d.kinney@intel.com>>
>> Cc: Laszlo Ersek <lersek@redhat.com <mailto:lersek@redhat.com>>
>> Contributed-under: TianoCore Contribution Agreement 1.0
>> Signed-off-by: Jiewen Yao <jiewen.yao@intel.com <mailto:jiewen.yao@intel.com>>
>> ---
>> MdeModulePkg/Core/PiSmmCore/PiSmmCore.h | 13 ++-
>> MdeModulePkg/Core/PiSmmCore/Pool.c | 66 +++++++++---
>> MdeModulePkg/Core/PiSmmCore/SmramProfileRecord.c | 114 +++++++++++---------
>> 3 files changed, 124 insertions(+), 69 deletions(-)
>
> series
> Regression-tested-by: Laszlo Ersek <lersek@redhat.com
> <mailto:lersek@redhat.com>>
>
> (Please make sure to number the patches in the series next time.)
>
> Thanks
> Laszlo
>
next prev parent reply other threads:[~2016-12-02 9:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-01 8:23 [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType Jiewen Yao
2016-12-01 8:23 ` [PATCH] MdeModulePkg/PiSmmCore: MemoryAttributeTable need keep non-PE record Jiewen Yao
2016-12-07 5:27 ` Fan, Jeff
2016-12-01 8:23 ` [PATCH] MdeModulePkg/PiSmmCore; Use DEBUG_WARN for non 4k aligned image Jiewen Yao
2016-12-07 2:59 ` Fan, Jeff
2016-12-01 8:23 ` [PATCH] MdeModulePkg/PiSmmCore: use EfiPagesToSize to prevent build error Jiewen Yao
2016-12-07 3:02 ` Fan, Jeff
2016-12-01 21:51 ` [PATCH] MdeModulePkg/PiSmmCore: AllocatePool should use MemoryType Laszlo Ersek
2016-12-02 2:03 ` Yao, Jiewen
2016-12-02 9:44 ` Laszlo Ersek [this message]
2016-12-07 1:59 ` Fan, Jeff
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=60cdf4c8-05b8-f11e-5206-f107f3ad5fab@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