[AMD Official Use Only - General] Sure Mike, I had CC IPMI owners to review edk2 IPMI related patch sets. This change doesn't have a big impact on edk2-platforms because all the references of IpmiCommandLib under edk2-platfoms are in IpmiFeaturePkg itself. The old IpmiCommandLib.h will be still under IpmiFeaturePkg/include for now, but the definitions of new functions should be added to the one under MdeModulePkg. However the edk2-platorms one should be removed soon (it is better) or later (means the IpmiFeaturePkg re-architecture, email attached). IPMI is the industry standard however the implementation of API for each NetFn is not, this is the first consideration I had. Second, there is already a IpmiLib under MdeModulePkg that led me to create IpmiCommandLib under MdeModulePkg. BTW, there is problem we have to fix, IpmiLib provide the function to send/receive IPMI NetFn, while the same function provided by IpmiFeaturePkg under edk2-platform has the different library class naming, which is IpmiBaseLib. Thanks Abner > -----Original Message----- > From: Kinney, Michael D > Sent: Friday, December 30, 2022 1:32 AM > To: devel@edk2.groups.io; Chang, Abner ; Kinney, > Michael D > Cc: Wang, Jian J ; Gao, Liming > ; Nickle Wang ; Igor > Kulchytskyy ; Oram, Isaac W ; > Desimone, Nathaniel L ; Kinney, Michael > D > Subject: RE: [edk2-devel] [PATCH 0/3] Add NULL IpmiCommandLib instance > > Caution: This message originated from an External Source. Use proper > caution when opening attachments, clicking links, or responding. > > > Hi Abner, > > Since this is moving content from edk2-platforms to edk2, we need to make > sure that migration is coordinated with the edk2-platforms owners for the > IPMPI feature and we have a transition plan for all downstream platform DSC > files to use the content from the new location. These types of changes can > be very disruptive. > > Also, since IPMI is an industry standard, it is allowed to add libraries that > support industry standards to the MdePkg. How was MdeModulePkg > selected vs MdePkg? > > Thanks, > > Mike > > > -----Original Message----- > > From: devel@edk2.groups.io On Behalf Of Chang, > > Abner via groups.io > > Sent: Tuesday, December 27, 2022 8:59 PM > > To: devel@edk2.groups.io > > Cc: Wang, Jian J ; Gao, Liming > > ; Nickle Wang ; Igor > > Kulchytskyy ; Oram, Isaac W ; > > Desimone, Nathaniel L > > Subject: [edk2-devel] [PATCH 0/3] Add NULL IpmiCommandLib instance > > > > From: Abner Chang > > > > BZ# 4231 > > This patch adds a NULL instance of IpmiCommandLib to remove the > > dependence between edk2 and edk2-platform packages. > > > > Signed-off-by: Abner Chang > > Cc: Jian J Wang > > Cc: Liming Gao > > Cc: Nickle Wang > > Cc: Igor Kulchytskyy > > Cc: Isaac Oram > > Cc: Nate DeSimone > > > > Abner Chang (3): > > MdeModulePkg/Include: Add IpmiCommandLib header file > > MdeModulePkg/IpmiCommandLib: Add NULL instance library > > MdeModulePkg: Add IpmiCommandLib > > > > MdeModulePkg/MdeModulePkg.dec | 4 + > > MdeModulePkg/MdeModulePkg.dsc | 2 + > > .../BaseIpmiCommandLibNull.inf | 32 + > > MdeModulePkg/Include/Library/IpmiCommandLib.h | 683 > ++++++++++++++++++ > > .../IpmiCommandLibNetFnApp.c | 252 +++++++ > > .../IpmiCommandLibNetFnChassis.c | 123 ++++ > > .../IpmiCommandLibNetFnStorage.c | 248 +++++++ > > .../IpmiCommandLibNetFnTransport.c | 100 +++ > > 8 files changed, 1444 insertions(+) > > create mode 100644 > > > MdeModulePkg/Library/BaseIpmiCommandLibNull/BaseIpmiCommandLibN > ull.inf > > create mode 100644 MdeModulePkg/Include/Library/IpmiCommandLib.h > > create mode 100644 > > > MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFn > App.c > > create mode 100644 > > > MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFn > Chassis > > .c create mode 100644 > > > MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnS > torage > > .c create mode 100644 > > > MdeModulePkg/Library/BaseIpmiCommandLibNull/IpmiCommandLibNetFnT > ranspo > > rt.c > > > > -- > > 2.37.1.windows.1 > > > > > > > > > >