public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Laszlo Ersek" <lersek@redhat.com>
To: "Xie, Yuanhao" <yuanhao.xie@intel.com>
Cc: "Chiu, Chasel" <chasel.chiu@intel.com>,
	"Desimone, Nathaniel L" <nathaniel.l.desimone@intel.com>,
	Isaac Oram <isaac.w.oram@intel.com>,
	"Gao, Liming" <gaoliming@byosoft.com.cn>,
	"Dong, Eric" <eric.dong@intel.com>,
	"devel@edk2.groups.io" <devel@edk2.groups.io>
Subject: Re: [edk2-devel] [PATCH] Remove memory cache setting for memory under 1MB
Date: Wed, 25 Oct 2023 11:31:18 +0200	[thread overview]
Message-ID: <72e98a73-51ab-6049-b9ff-1b539c61322a@redhat.com> (raw)
In-Reply-To: <SJ0PR11MB5037B7739FD28525CBF111C9F0DEA@SJ0PR11MB5037.namprd11.prod.outlook.com>

On 10/25/23 10:37, Xie, Yuanhao wrote:
> Hi Laszlo,
> 
> I searched for my name to find the patch, and did not find a numbered tag associated with the patch title, and overlook the comment. I'm sorry for the ignoring and inconvenience this have caused. Could you please help with reverting the patch? I will submit Version 2. 

I don't see much benefit in a revert at this point; the point would have
been to avoid a patch subject in the git commit history that's too
generic. But the history is already there at this point (we can't
rewrite it -- we can't rebase a public branch), and the code is alright
per review, so a revert won't help much here.

Laszlo

> 
> Yuanhao
> -----Original Message-----
> From: Laszlo Ersek <lersek@redhat.com> 
> Sent: Wednesday, October 25, 2023 4:00 PM
> To: devel@edk2.groups.io; Xie, Yuanhao <yuanhao.xie@intel.com>
> Cc: Chiu, Chasel <chasel.chiu@intel.com>; Desimone, Nathaniel L <nathaniel.l.desimone@intel.com>; Isaac Oram <isaac.w.oram@intel.com>; Gao, Liming <gaoliming@byosoft.com.cn>; Dong, Eric <eric.dong@intel.com>
> Subject: Re: [edk2-devel] [PATCH] Remove memory cache setting for memory under 1MB
> 
> Yuanhao,
> 
> On 10/19/23 05:20, Yuanhao Xie wrote:
>> With the fact that CSM is not supported, the request is to remove the 
>> cache setting for memory under 1MB.
>> This can be treated as the missing part of legacy CSM deprecation.
>>
>> This patch only set the 00000 to 9FFFF and C0000 to FFFFF as Write Back.
>> A0000-BFFFF range is still uncacheable for VGA.
>>
>> Cc: Chasel Chiu <chasel.chiu@intel.com>
>> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com>
>> Cc: Isaac Oram <isaac.w.oram@intel.com>
>> Cc: Liming Gao <gaoliming@byosoft.com.cn>
>> Cc: Eric Dong <eric.dong@intel.com>
>> Signed-off-by: Yuanhao Xie <yuanhao.xie@intel.com>
>> ---
>>  
>> Platform/Intel/MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMtrrLib.
>> c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git 
>> a/Platform/Intel/MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMtrrLi
>> b.c 
>> b/Platform/Intel/MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMtrrLi
>> b.c
>> index 05728275a5..38a8db6b3f 100644
>> --- 
>> a/Platform/Intel/MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMtrrLi
>> b.c
>> +++ b/Platform/Intel/MinPlatformPkg/Library/SetCacheMtrrLib/SetCacheMt
>> +++ rrLib.c
>> @@ -245,7 +245,7 @@ SetCacheMtrrAfterEndOfPei (
>>                           &MtrrSetting,
>>                           0xC0000,
>>                           0x40000,
>> -                         CacheWriteProtected
>> +                         CacheWriteBack
>>                           );
>>    ASSERT_EFI_ERROR ( Status);
>>  
> 
> I find that this patch has been pushed as commit 474b81190261.
> 
> Previously, I commented that the subject line of the patch was incorrect, because it didn't name MinPlatformPkg:
> 
>   https://edk2.groups.io/g/devel/message/109747
> 
> What was your reason for ignoring my comment?
> 
> Laszlo
> 



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#110027): https://edk2.groups.io/g/devel/message/110027
Mute This Topic: https://groups.io/mt/102037244/7686176
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/leave/12367111/7686176/1913456212/xyzzy [rebecca@openfw.io]
-=-=-=-=-=-=-=-=-=-=-=-



  reply	other threads:[~2023-10-25  9:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-19  3:20 [edk2-devel] [PATCH] Remove memory cache setting for memory under 1MB Yuanhao Xie
2023-10-25  5:40 ` Dong, Eric
2023-10-25  8:00 ` Laszlo Ersek
2023-10-25  8:37   ` Yuanhao Xie
2023-10-25  9:31     ` Laszlo Ersek [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-10-18 11:55 Yuanhao Xie
2023-10-18 13:28 ` Laszlo Ersek

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=72e98a73-51ab-6049-b9ff-1b539c61322a@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