public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "gaoliming via groups.io" <gaoliming=byosoft.com.cn@groups.io>
To: "'Felix Polyudov'" <Felixp@ami.com>,
	"'Sachin Ganesh'" <sachinganesh@ami.com>, <devel@edk2.groups.io>
Cc: <zhiguang.liu@intel.com>, <michael.d.kinney@intel.com>,
	<ardb+tianocore@kernel.org>, <kraxel@redhat.com>,
	<jiewen.yao@intel.com>, <erdemaktas@google.com>,
	<min.m.xu@intel.com>, <thomas.lendacky@amd.com>,
	"'Dhanaraj V'" <vdhanaraj@ami.com>
Subject: [edk2-devel] 回复: [EXTERNAL] 回复: [PATCH 0/7] General Updates based on UEFI 2.10 and PI 1.8 Specification
Date: Mon, 6 May 2024 10:43:45 +0800	[thread overview]
Message-ID: <035801da9f5f$37cafb90$a760f2b0$@byosoft.com.cn> (raw)
In-Reply-To: <BN0PR10MB4981E8974E8F30BEE749D1D0DE1A2@BN0PR10MB4981.namprd10.prod.outlook.com>

Felix:
 I understand your point. I would suggest to directly add PI_SPECIFICATION_VERSION definition, and update PEI/DXE/SMM version to align with it. 
 
 Original PEI/DXE/SMM minor and major version definitions are still kept now. 

Thanks
Liming
> -----邮件原件-----
> 发件人: Felix Polyudov <Felixp@ami.com>
> 发送时间: 2024年5月1日 6:35
> 收件人: gaoliming <gaoliming@byosoft.com.cn>; Sachin Ganesh
> <sachinganesh@ami.com>; devel@edk2.groups.io
> 抄送: zhiguang.liu@intel.com; michael.d.kinney@intel.com;
> ardb+tianocore@kernel.org; kraxel@redhat.com; jiewen.yao@intel.com;
> erdemaktas@google.com; min.m.xu@intel.com; thomas.lendacky@amd.com;
> Dhanaraj V <vdhanaraj@ami.com>
> 主题: RE: [EXTERNAL] 回复: [PATCH 0/7] General Updates based on UEFI
> 2.10 and PI 1.8 Specification
> 
> Liming,
> 
> In PI 1.8 macros for major and minor versions have been replaced with a
> single revision macro combining both version elements.
> Refer to:
> PEI:
> https://uefi.org/specs/PI/1.8/V1_PEI_Services_Table.html#related-definition
> s
> DXE: https://uefi.org/specs/PI/1.8/V2_UEFI_System_Table.html#dxe-services
> MM:
> https://uefi.org/specs/PI/1.8/V4_Management_Mode_System_Table.html#e
> fi-mm-system-table
> 
> If patch is updated to literally follow the spec, the following macros will be
> removed:
> PEI_SPECIFICATION_MAJOR_REVISION
> PEI_SPECIFICATION_MINOR_REVISION
> DXE_SPECIFICATION_MAJOR_REVISION
> DXE_SPECIFICATION_MINOR_REVISION
> MM_SPECIFICATION_MAJOR_REVISION
> MM_SPECIFICATION_MINOR_REVISION
> 
> These macros exist for a long time, so their removal can break some code in
> the downstream projects.
> That's why we thought it would be safer to honor the spirit of the spec
> without following it literally.
> 
> Let us know if you want us to update the patch to match the spec.
> 
> -----Original Message-----
> From: gaoliming <gaoliming@byosoft.com.cn>
> Sent: Friday, April 26, 2024 5:23 AM
> To: Sachin Ganesh <sachinganesh@ami.com>; Felix Polyudov
> <Felixp@ami.com>; devel@edk2.groups.io
> Cc: zhiguang.liu@intel.com; michael.d.kinney@intel.com;
> ardb+tianocore@kernel.org; kraxel@redhat.com; jiewen.yao@intel.com;
> erdemaktas@google.com; min.m.xu@intel.com; thomas.lendacky@amd.com;
> Dhanaraj V <vdhanaraj@ami.com>
> Subject: 回复: [EXTERNAL] 回复: [PATCH 0/7] General Updates based on
> UEFI 2.10 and PI 1.8 Specification
> 
> Felix and Sachin:
>   I don't find PI_SPECIFICATION_MINOR_REVISION definition from the latest
> public PI 1.8A. So, this change may not be added now.
> 
> Thanks
> Liming
> > -----邮件原件-----
> > 发件人: Sachin Ganesh <sachinganesh@ami.com>
> > 发送时间: 2024年4月25日 17:57
> > 收件人: Felix Polyudov <Felixp@ami.com>; gaoliming
> > <gaoliming@byosoft.com.cn>; devel@edk2.groups.io
> > 抄送: zhiguang.liu@intel.com; michael.d.kinney@intel.com;
> > ardb+tianocore@kernel.org; kraxel@redhat.com; jiewen.yao@intel.com;
> > erdemaktas@google.com; min.m.xu@intel.com;
> thomas.lendacky@amd.com;
> > Dhanaraj V <vdhanaraj@ami.com>
> > 主题: RE: [EXTERNAL] 回复: [PATCH 0/7] General Updates based on UEFI
> > 2.10 and PI 1.8 Specification
> >
> > Hi Felix/ Liming,
> >
> > Thank you for your comments. Patch 6 has been updated to only focus on
> > consolidating the revision macros.
> >
> > Patch Link:
> >
> https://edk2.groups.io/g/devel/message/118246?p=%2C%2C%2C20%2C0%2
> 52
> >
> C0%2C0%3A%3Arecentpostdate%2Fsticky%2C%2Csachin%2C20%2C2%2C0%
> > 2C105721897
> > PR Link: https://github.com/tianocore/edk2/pull/5569
> >
> > Thank you,
> > Sachin.
> >
> > -----Original Message-----
> > From: Felix Polyudov <Felixp@ami.com>
> > Sent: Tuesday, April 23, 2024 10:58 PM
> > To: gaoliming <gaoliming@byosoft.com.cn>; Sachin Ganesh
> > <sachinganesh@ami.com>; devel@edk2.groups.io
> > Cc: zhiguang.liu@intel.com; michael.d.kinney@intel.com;
> > ardb+tianocore@kernel.org; kraxel@redhat.com; jiewen.yao@intel.com;
> > erdemaktas@google.com; min.m.xu@intel.com;
> thomas.lendacky@amd.com;
> > Dhanaraj V <vdhanaraj@ami.com>
> > Subject: RE: [EXTERNAL] 回复: [PATCH 0/7] General Updates based on
> UEFI
> > 2.10 and PI 1.8 Specification
> >
> > I think patch 6 can be updated to introduce unified PI specification
> versioning
> > macros without incrementing the minor revision, by changing
> > PI_SPECIFICATION_MINOR_REVISION back to 70.
> > This will ensure compliance with the versioning schema introduced in PI
> 1.7B
> > without changing the PI support level.
> > (the macros were introduced by PIWG mantis 2101)
> >
> > -----Original Message-----
> > From: gaoliming <gaoliming@byosoft.com.cn>
> > Sent: Tuesday, April 23, 2024 10:49 AM
> > To: Sachin Ganesh <sachinganesh@ami.com>; devel@edk2.groups.io
> > Cc: zhiguang.liu@intel.com; michael.d.kinney@intel.com;
> > ardb+tianocore@kernel.org; kraxel@redhat.com; jiewen.yao@intel.com;
> > erdemaktas@google.com; min.m.xu@intel.com;
> thomas.lendacky@amd.com;
> > Felix Polyudov <Felixp@ami.com>; Dhanaraj V <vdhanaraj@ami.com>
> > Subject: [EXTERNAL] 回复: [PATCH 0/7] General Updates based on UEFI
> 2.10
> > and PI 1.8 Specification
> >
> >
> > **CAUTION: The e-mail below is from an external source. Please exercise
> > caution before opening attachments, clicking links, or following guidance.**
> >
> > Except for Patch 6/7, others are good to me. Reviewed-by: Liming Gao
> > <gaoliming@byosoft.com.cn>
> >
> > I suggest to merge others first. The patch 6/7 to update PI version from 1.7
> to
> > 1.8 can be discussed first.
> >
> > Thanks
> > Liming
> > > -----邮件原件-----
> > > 发件人: Sachin Ganesh <sachinganesh@ami.com>
> > > 发送时间: 2024年4月20日 5:46
> > > 收件人: devel@edk2.groups.io
> > > 抄送: gaoliming@byosoft.com.cn; zhiguang.liu@intel.com;
> > > michael.d.kinney@intel.com; ardb+tianocore@kernel.org;
> > > kraxel@redhat.com; jiewen.yao@intel.com; erdemaktas@google.com;
> > > min.m.xu@intel.com; thomas.lendacky@amd.com; Felix Polyudov
> > > <Felixp@ami.com>; Dhanaraj V <vdhanaraj@ami.com>; Sachin Ganesh
> > > <sachinganesh@ami.com>
> > > 主题: [PATCH 0/7] General Updates based on UEFI 2.10 and PI 1.8
> > > Specification
> > >
> > > This series of patches are for general updates to MdePkg and
> > > MdeModulePkg based on UEFI 2.10 and PI 1.8 Specifications
> > >
> > > Sachin Ganesh (7):
> > >   MdePkg: Add definition for NVMe Over Fabric Device Path
> > >   MdePkg: Add new Resource Attributes defined in PI 1.8 Spec
> > >   MdePkg: Define Unaccepted Memory Type
> > >   MdeModulePkg: Use newly defined Unaccepted Memory Type
> > >   MdePkg: Update Delayed Dispatch PPI as per PI 1.8 Spec
> > >   MdePkg: Update to PI 1.8 Revision
> > >   OvmfPkg: Use newly defined Unaccepted Memory Type
> > >
> > >  MdeModulePkg/Core/Dxe/Gcd/Gcd.c              | 10 +++---
> > >  MdeModulePkg/Core/Dxe/Mem/Page.c             | 38
> > > ++++++++++----------
> > >  MdeModulePkg/Include/Pi/PrePiDxeCis.h        | 25 -------------
> > >  MdeModulePkg/Include/Pi/PrePiHob.h           | 20 -----------
> > >  MdePkg/Include/Pi/PiDxeCis.h                 | 19 +++++-----
> > >  MdePkg/Include/Pi/PiHob.h                    | 14 +++-----
> > >  MdePkg/Include/Pi/PiMmCis.h                  |  6 ++--
> > >  MdePkg/Include/Pi/PiMultiPhase.h             |  6 ++++
> > >  MdePkg/Include/Pi/PiPeiCis.h                 |  6 ++--
> > >  MdePkg/Include/Pi/PiSmmCis.h                 |  2 +-
> > >  MdePkg/Include/Ppi/DelayedDispatch.h         | 24 ++++++++++++-
> > >  MdePkg/Include/Protocol/DevicePath.h         | 22 ++++++++++++
> > >  OvmfPkg/AmdSevDxe/AmdSevDxe.c                |  4 +--
> > >  OvmfPkg/IntelTdx/TdxHelperLib/SecTdxHelper.c |  8 ++---
> > >  OvmfPkg/Library/PeilessStartupLib/Hob.c      |  4 +--
> > >  OvmfPkg/Library/PlatformInitLib/IntelTdx.c   |  8 ++---
> > >  OvmfPkg/PlatformPei/AmdSev.c                 |  4 +--
> > >  17 files changed, 108 insertions(+), 112 deletions(-)  delete mode
> > > 100644 MdeModulePkg/Include/Pi/PrePiDxeCis.h
> > >  delete mode 100644 MdeModulePkg/Include/Pi/PrePiHob.h
> > >
> > > --
> > > 2.24.1.windows.2
> > > -The information contained in this message may be confidential and
> > > proprietary to American Megatrends (AMI). This communication is
> > > intended
> > to
> > > be read only by the individual or entity to whom it is addressed or by
> > their
> > > designee. If the reader of this message is not the intended recipient,
> > > you
> > are
> > > on notice that any distribution of this message, in any form, is
> > > strictly prohibited. Please promptly notify the sender by reply e-mail
> > > or by
> > telephone
> > > at 770-246-8600, and then delete or destroy all copies of the
> > transmission=
> >
> >
> > -The information contained in this message may be confidential and
> > proprietary to American Megatrends (AMI). This communication is intended
> to
> > be read only by the individual or entity to whom it is addressed or by their
> > designee. If the reader of this message is not the intended recipient, you are
> > on notice that any distribution of this message, in any form, is strictly
> > prohibited. Please promptly notify the sender by reply e-mail or by
> telephone
> > at 770-246-8600, and then delete or destroy all copies of the transmission.
> 
> 
> -The information contained in this message may be confidential and
> proprietary to American Megatrends (AMI). This communication is intended to
> be read only by the individual or entity to whom it is addressed or by their
> designee. If the reader of this message is not the intended recipient, you are
> on notice that any distribution of this message, in any form, is strictly
> prohibited. Please promptly notify the sender by reply e-mail or by telephone
> at 770-246-8600, and then delete or destroy all copies of the transmission.




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



      reply	other threads:[~2024-05-06  2:44 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-19 21:46 [edk2-devel] [PATCH 0/7] General Updates based on UEFI 2.10 and PI 1.8 Specification Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 1/7] MdePkg: Add definition for NVMe Over Fabric Device Path Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 2/7] MdePkg: Add new Resource Attributes defined in PI 1.8 Spec Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 3/7] MdePkg: Define Unaccepted Memory Type Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 4/7] MdeModulePkg: Use newly defined " Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 5/7] MdePkg: Update Delayed Dispatch PPI as per PI 1.8 Spec Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 6/7] MdePkg: Update to PI 1.8 Revision Sachin Ganesh via groups.io
2024-04-19 21:46 ` [edk2-devel] [PATCH 7/7] OvmfPkg: Use newly defined Unaccepted Memory Type Sachin Ganesh via groups.io
2024-04-22 19:54   ` Lendacky, Thomas via groups.io
2024-04-21  2:28 ` [edk2-devel] [PATCH 0/7] General Updates based on UEFI 2.10 and PI 1.8 Specification Yao, Jiewen
2024-04-23 14:49 ` [edk2-devel] 回复: " gaoliming via groups.io
2024-04-23 17:27   ` Felix Polyudov via groups.io
2024-04-25  9:56     ` Sachin Ganesh via groups.io
2024-04-26  9:22       ` [edk2-devel] 回复: [EXTERNAL] " gaoliming via groups.io
2024-04-30 22:35         ` [edk2-devel] " Felix Polyudov via groups.io
2024-05-06  2:43           ` gaoliming via groups.io [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='035801da9f5f$37cafb90$a760f2b0$@byosoft.com.cn' \
    --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