[edk2-devel] [PATCH v4 0/9] Introduce ManageabilityPkg

Chang, Abner via groups.io posted 9 patches 11 months, 1 week ago
Only 0 patches received!
.../ManageabilityPkg/ManageabilityPkg.dec     |  48 ++
.../Include/Dsc/Manageability.dsc             |  25 +
.../ManageabilityPkg/ManageabilityPkg.dsc     |  44 +
.../BaseManageabilityTransportHelper.inf      |  41 +
.../BaseManageabilityTransportNull.inf        |  28 +
.../Dxe/DxeManageabilityTransportKcs.inf      |  44 +
.../IpmiProtocol/Dxe/IpmiProtocolDxe.inf      |  50 ++
.../Universal/IpmiProtocol/Pei/IpmiPpiPei.inf |  53 ++
.../IpmiProtocol/Smm/IpmiProtocolSmm.inf      |  52 ++
.../Library/ManageabilityTransportHelperLib.h |  93 +++
.../Library/ManageabilityTransportIpmiLib.h   |  24 +
.../Library/ManageabilityTransportLib.h       | 336 ++++++++
.../Common/ManageabilityTransportKcs.h        | 105 +++
.../IpmiProtocol/Common/IpmiProtocolCommon.h  | 108 +++
.../IpmiProtocol/Pei/IpmiPpiInternal.h        |  25 +
.../BaseManageabilityTransportHelper.c        | 261 ++++++
.../BaseManageabilityTransportNull.c          |  64 ++
.../Common/KcsCommon.c                        | 502 ++++++++++++
.../Dxe/ManageabilityTransportKcs.c           | 389 +++++++++
.../IpmiProtocol/Common/IpmiProtocolCommon.c  | 252 ++++++
.../Universal/IpmiProtocol/Dxe/IpmiProtocol.c | 177 +++++
.../Universal/IpmiProtocol/Pei/IpmiPpi.c      | 159 ++++
.../Universal/IpmiProtocol/Smm/IpmiProtocol.c | 147 ++++
Features/ManageabilityPkg/Readme.md           | 177 +++++
.../Media/ManageabilityDriverStack.svg        | 752 ++++++++++++++++++
.../BaseManageabilityTransportHelper.uni      |  13 +
.../BaseManageabilityTransportNull.uni        |  13 +
.../Dxe/ManageabilityTransportKcs.uni         |  13 +
Maintainers.txt                               |   7 +
29 files changed, 4002 insertions(+)
create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dec
create mode 100644 Features/ManageabilityPkg/Include/Dsc/Manageability.dsc
create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dsc
create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.inf
create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportNullLib/BaseManageabilityTransportNull.inf
create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/DxeManageabilityTransportKcs.inf
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocolDxe.inf
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocolSmm.inf
create mode 100644 Features/ManageabilityPkg/Include/Library/ManageabilityTransportHelperLib.h
create mode 100644 Features/ManageabilityPkg/Include/Library/ManageabilityTransportIpmiLib.h
create mode 100644 Features/ManageabilityPkg/Include/Library/ManageabilityTransportLib.h
create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Common/ManageabilityTransportKcs.h
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Common/IpmiProtocolCommon.h
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiInternal.h
create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.c
create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportNullLib/BaseManageabilityTransportNull.c
create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Common/KcsCommon.c
create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/ManageabilityTransportKcs.c
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Common/IpmiProtocolCommon.c
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocol.c
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpi.c
create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocol.c
create mode 100644 Features/ManageabilityPkg/Readme.md
create mode 100644 Features/ManageabilityPkg/Documents/Media/ManageabilityDriverStack.svg
create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.uni
create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportNullLib/BaseManageabilityTransportNull.uni
create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/ManageabilityTransportKcs.uni
[edk2-devel] [PATCH v4 0/9] Introduce ManageabilityPkg
Posted by Chang, Abner via groups.io 11 months, 1 week ago
From: Abner Chang <abner.chang@amd.com>

edk2 ManageabilityPkg is introduced to provide edk2 drivers
and libraries for industry platform management standards,
such as PLDM (Platform Level Data Model), MCTP (Management
Component Transfer Protocol),
IPMI (Intelligent Platform Management Interface) and others.
The framework of ManageabilityPkg is designed to flexibly
support the transport interfaces for above industry
standards, the transport interfaces such as KCS or I2C for
IPMI, PCI VDM (Vendor Defined Message),
I2C or KCS for MCTP, or the OEM proprietary transports.
Please check the Readme file for the design guidance:
https://github.com/changab/edk2-platforms/blob/Manageability_IPMI_upstream/Features/ManageabilityPkg/Readme.md

In V4: 1. Address Leif's comments on V3.
       2. Reorganize patch 4/9, separate header file to preceding patch (3/9).

In V3: 1. Address reviewers commnets on V2.
       2. Revise IpmiPpi driver to not using global vriable.

In V2: Fix some issues on below files,
  1. Features/ManageabilityPkg/Library/Common/KcsCommon.c
  2. Features/ManageabilityPkg/Library/Dxe/ManageabilityTransportKcs.c
  3. Features/ManageabilityPkg/Universal/IpmiProtocol/Common/IpmiprotocolCommon.c

In V1, we had implemented,
- KCS manageability transport library
- Manageability library helper library
- IPMI PEI/DXE/SMM protocol implementations

Next upstream would be edk2 MCTP_PROTOCOL
implementation that also consumes the manageability
transport libraries.

Signed-off-by: Abner Chang <abner.chang@amd.com>
Cc: Abdul Lateef Attar <abdattar@amd.com>
Cc: Leif Lindholm <quic_llindhol@quicinc.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Isaac Oram <isaac.w.oram@intel.com>
Cc: Nickle Wang <nicklew@nvidia.com>

Abner Chang (9):
  ManageabilityPkg: Add Readme file
  ManageabilityPkg: Initial package
  ManageabilityPkg: Add ManageabilityTransportLib header file
  ManageabilityPkg: Add NULL ManageabilityTransportLib
  ManageabilityPkg: Add ManageabilityTransportHelperLib
  ManageabilityPkg/ManageabilityTransportKcsLib
  ManageabilityPkg: Implement Ipmi Protocol/Ppi
  ManageabilityPkg: Add IpmiProtocol to Manageability Package
  edk2-platforms: Maintainers.txt

 .../ManageabilityPkg/ManageabilityPkg.dec     |  48 ++
 .../Include/Dsc/Manageability.dsc             |  25 +
 .../ManageabilityPkg/ManageabilityPkg.dsc     |  44 +
 .../BaseManageabilityTransportHelper.inf      |  41 +
 .../BaseManageabilityTransportNull.inf        |  28 +
 .../Dxe/DxeManageabilityTransportKcs.inf      |  44 +
 .../IpmiProtocol/Dxe/IpmiProtocolDxe.inf      |  50 ++
 .../Universal/IpmiProtocol/Pei/IpmiPpiPei.inf |  53 ++
 .../IpmiProtocol/Smm/IpmiProtocolSmm.inf      |  52 ++
 .../Library/ManageabilityTransportHelperLib.h |  93 +++
 .../Library/ManageabilityTransportIpmiLib.h   |  24 +
 .../Library/ManageabilityTransportLib.h       | 336 ++++++++
 .../Common/ManageabilityTransportKcs.h        | 105 +++
 .../IpmiProtocol/Common/IpmiProtocolCommon.h  | 108 +++
 .../IpmiProtocol/Pei/IpmiPpiInternal.h        |  25 +
 .../BaseManageabilityTransportHelper.c        | 261 ++++++
 .../BaseManageabilityTransportNull.c          |  64 ++
 .../Common/KcsCommon.c                        | 502 ++++++++++++
 .../Dxe/ManageabilityTransportKcs.c           | 389 +++++++++
 .../IpmiProtocol/Common/IpmiProtocolCommon.c  | 252 ++++++
 .../Universal/IpmiProtocol/Dxe/IpmiProtocol.c | 177 +++++
 .../Universal/IpmiProtocol/Pei/IpmiPpi.c      | 159 ++++
 .../Universal/IpmiProtocol/Smm/IpmiProtocol.c | 147 ++++
 Features/ManageabilityPkg/Readme.md           | 177 +++++
 .../Media/ManageabilityDriverStack.svg        | 752 ++++++++++++++++++
 .../BaseManageabilityTransportHelper.uni      |  13 +
 .../BaseManageabilityTransportNull.uni        |  13 +
 .../Dxe/ManageabilityTransportKcs.uni         |  13 +
 Maintainers.txt                               |   7 +
 29 files changed, 4002 insertions(+)
 create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dec
 create mode 100644 Features/ManageabilityPkg/Include/Dsc/Manageability.dsc
 create mode 100644 Features/ManageabilityPkg/ManageabilityPkg.dsc
 create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.inf
 create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportNullLib/BaseManageabilityTransportNull.inf
 create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/DxeManageabilityTransportKcs.inf
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocolDxe.inf
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiPei.inf
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocolSmm.inf
 create mode 100644 Features/ManageabilityPkg/Include/Library/ManageabilityTransportHelperLib.h
 create mode 100644 Features/ManageabilityPkg/Include/Library/ManageabilityTransportIpmiLib.h
 create mode 100644 Features/ManageabilityPkg/Include/Library/ManageabilityTransportLib.h
 create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Common/ManageabilityTransportKcs.h
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Common/IpmiProtocolCommon.h
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpiInternal.h
 create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.c
 create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportNullLib/BaseManageabilityTransportNull.c
 create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Common/KcsCommon.c
 create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/ManageabilityTransportKcs.c
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Common/IpmiProtocolCommon.c
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Dxe/IpmiProtocol.c
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Pei/IpmiPpi.c
 create mode 100644 Features/ManageabilityPkg/Universal/IpmiProtocol/Smm/IpmiProtocol.c
 create mode 100644 Features/ManageabilityPkg/Readme.md
 create mode 100644 Features/ManageabilityPkg/Documents/Media/ManageabilityDriverStack.svg
 create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportHelperLib/BaseManageabilityTransportHelper.uni
 create mode 100644 Features/ManageabilityPkg/Library/BaseManageabilityTransportNullLib/BaseManageabilityTransportNull.uni
 create mode 100644 Features/ManageabilityPkg/Library/ManageabilityTransportKcsLib/Dxe/ManageabilityTransportKcs.uni

-- 
2.37.1.windows.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101543): https://edk2.groups.io/g/devel/message/101543
Mute This Topic: https://groups.io/mt/97770700/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-