Ray,

Thanks for confirming. I will add the renaming patch in v4.

Regards,
Kun

From: Ni, Ray<mailto:ray...@intel.com>
Sent: Thursday, January 21, 2021 22:29
To: Kun Qin<mailto:ku...@outlook.com>; 
devel@edk2.groups.io<mailto:devel@edk2.groups.io>
Cc: Dong, Eric<mailto:eric.d...@intel.com>; Laszlo 
Ersek<mailto:ler...@redhat.com>; Kumar, Rahul1<mailto:rahul1.ku...@intel.com>
Subject: RE: [edk2-devel] [PATCH v3 17/18] UefiCpuPkg: CpuIo2Smm: Support of 
CpuIo driver under StandaloneMm

Kun,
Yes. I recommend renaming the files. This can make future developers easy to 
understand which file stands for which purpose.
A separate rename patch looks good to me.

Thanks,
Ray

From: Kun Qin <ku...@outlook.com>
Sent: Friday, January 22, 2021 12:41 PM
To: Ni, Ray <ray...@intel.com>; devel@edk2.groups.io
Cc: Dong, Eric <eric.d...@intel.com>; Laszlo Ersek <ler...@redhat.com>; Kumar, 
Rahul1 <rahul1.ku...@intel.com>
Subject: RE: [edk2-devel] [PATCH v3 17/18] UefiCpuPkg: CpuIo2Smm: Support of 
CpuIo driver under StandaloneMm

Hi Ray,

I was suggested not to rename the file for review easiness and git history 
concern during v2 patch. Thread here: Re: [PATCH v2 15/16] UefiCpuPkg: 
CpuIo2Smm: Support of CpuIo driver under StandaloneMm 
(groups.io)<https://edk2.groups.io/g/devel/message/69857>

Please let me know if you still recommend renaming the files. If so, would you 
suggest ```CpuIo2Smm.c/h --> CpuIo2Mm.c/h  # remove the "S"``` to be a separate 
patch between gSmst change and adding Standalone MM instance?

Thanks in advance.

Regards,
Kun

From: Ni, Ray<mailto:ray...@intel.com>
Sent: Thursday, January 21, 2021 20:17
To: devel@edk2.groups.io<mailto:devel@edk2.groups.io>; 
ku...@outlook.com<mailto:ku...@outlook.com>
Cc: Dong, Eric<mailto:eric.d...@intel.com>; Laszlo 
Ersek<mailto:ler...@redhat.com>; Kumar, Rahul1<mailto:rahul1.ku...@intel.com>
Subject: RE: [edk2-devel] [PATCH v3 17/18] UefiCpuPkg: CpuIo2Smm: Support of 
CpuIo driver under StandaloneMm

>
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.c                               |  9 ++----
>  UefiCpuPkg/CpuIo2Smm/CpuIo2StandaloneMm.c                      | 32 
> ++++++++++++++++++++
>  UefiCpuPkg/CpuIo2Smm/CpuIo2TraditionalMm.c                     | 32 
> ++++++++++++++++++++
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.h                               | 12 ++++++++
>  UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf                             |  3 +-
>  UefiCpuPkg/CpuIo2Smm/{CpuIo2Smm.inf => CpuIo2StandaloneMm.inf} | 18 
> +++++------
>  UefiCpuPkg/UefiCpuPkg.dsc                                      |  5 +++


How about do the file name change as below?
CpuIo2Smm.c/h --> CpuIo2Mm.c/h  # remove the "S"
CpuIo2TraditionalMm.c -> CpuIo2Smm.c # Traditional MM equals to SMM. It also 
matches to CpuIo2Smm.inf.
CpuIo2StandaloneMm.c/inf # looks good to me.




-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70672): https://edk2.groups.io/g/devel/message/70672
Mute This Topic: https://groups.io/mt/79688598/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to