From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 55343D80477 for ; Fri, 27 Oct 2023 22:38:02 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=OAooDBIkOmo7rozM0xl1jz4pb96NqPlCQyrkvN5FyWI=; c=relaxed/simple; d=groups.io; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding; s=20140610; t=1698446280; v=1; b=KyttJqDEUsIHMBiaLbld/2YWR3m4oIQgGnGJwDrQPaag5e1DPaOxvVSyy/d5zobNPR+NQJ9o sll43UO2vmHikHgdAdMZ/OCeuYvnvNCGdUOuNWL4lBf6ITkQ6Tzpt54U4df/lbUNak2/TsDzO3M ZgAM8vf0bxfjbikiW2Vz0ECk= X-Received: by 127.0.0.2 with SMTP id NhlaYY7687511xjT3hYSrC4q; Fri, 27 Oct 2023 15:38:00 -0700 X-Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.126]) by mx.groups.io with SMTP id smtpd.web10.16426.1698437512679397726 for ; Fri, 27 Oct 2023 13:11:53 -0700 X-IronPort-AV: E=McAfee;i="6600,9927,10876"; a="372897507" X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="372897507" X-Received: from fmviesa002.fm.intel.com ([10.60.135.142]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2023 13:11:52 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,257,1694761200"; d="scan'208";a="948567" X-Received: from scsrds0181.amr.corp.intel.com ([10.116.50.7]) by fmviesa002.fm.intel.com with ESMTP; 27 Oct 2023 13:11:40 -0700 From: Zhen Gong To: devel@edk2.groups.io Cc: Zhen Gong Subject: [edk2-devel] [PATCH edk2-platforms 0/4] IpmiFeaturePkg: Add server management features Date: Fri, 27 Oct 2023 13:11:12 -0700 Message-Id: MIME-Version: 1.0 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhen.gong@intel.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: pZ4vd9EgYAhdIGwOY3rVo1DQx7686176AA= Content-Transfer-Encoding: 8bit X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=KyttJqDE; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=intel.com (policy=none) This patch set adds serveral IPMI features to support server management: BmcAcpiState: A DXE driver to notify BMC of S0 power state. BmcAcpiSwChild: An SMM driver to notify BMC of ACPI power state changes and add SEL records. BmcElog: PEI, DXE, and SMM drivers to support BMC event log functions. GenericElog: DXE and SMM drivers to support generic event log functions. GenericFru: A runtime driver to support generic FRU functions. IpmiRedirFru: A DXE driver to support BMC FRU functions and generate data based on SMBIOS data. ServerManagementLib: A library to provide essential functions for server management drivers. Zhen Gong (4): IpmiFeaturePkg: Add Elog drivers IpmiFeaturePkg: Add ServerManagementLib IpmiFeaturePkg: Add ACPI power state drivers IpmiFeaturePkg: Add FRU drivers .../IpmiFeaturePkg/IpmiFeaturePkg.dec | 10 + .../IpmiFeaturePkg/Include/IpmiFeature.dsc | 13 +- .../IpmiFeaturePkg/Include/PostMemory.fdf | 10 +- .../IpmiFeaturePkg/Include/PreMemory.fdf | 1 + .../BmcAcpiState/BmcAcpiState.inf | 40 + .../BmcAcpiSwChild/BmcAcpiSwChild.inf | 39 + .../BmcElog/{BmcElog.inf => DxeBmcElog.inf} | 25 +- .../IpmiFeaturePkg/BmcElog/PeiBmcElog.inf | 43 ++ .../IpmiFeaturePkg/BmcElog/SmmBmcElog.inf | 44 ++ .../GenericElog/Dxe/GenericElog.inf | 38 + .../GenericElog/Smm/GenericElog.inf | 38 + .../IpmiFeaturePkg/GenericFru/GenericFru.inf | 42 ++ .../IpmiFeaturePkg/IpmiFru/IpmiFru.inf | 35 - .../IpmiRedirFru/IpmiRedirFru.inf | 51 ++ .../ServerManagementLib.inf | 35 + .../ServerManagementLibNull.inf | 38 + .../BmcAcpiState/BmcAcpiState.h | 26 + .../BmcAcpiSwChild/BmcAcpiSwChild.h | 82 +++ .../BmcElog/Common/BmcElogCommon.h | 144 ++++ .../IpmiFeaturePkg/BmcElog/Dxe/BmcElog.h | 42 ++ .../IpmiFeaturePkg/BmcElog/Pei/BmcElog.h | 44 ++ .../IpmiFeaturePkg/BmcElog/Smm/BmcElog.h | 43 ++ .../GenericElog/Dxe/GenericElog.h | 194 +++++ .../GenericElog/Smm/GenericElog.h | 216 ++++++ .../GenericFru/GenericFruDriver.h | 178 +++++ .../Include/Library/ServerMgmtRtLib.h | 147 ++++ .../IpmiFeaturePkg/Include/Ppi/GenericElog.h | 84 +++ .../Include/Protocol/BmcAcpiSwChildPolicy.h | 31 + .../Include/Protocol/GenericElog.h | 99 +++ .../Include/Protocol/GenericFru.h | 103 +++ .../Include/Protocol/RedirFru.h | 81 ++ .../IpmiRedirFru/IpmiRedirFru.h | 149 ++++ .../BmcAcpiState/BmcAcpiState.c | 93 +++ .../BmcAcpiSwChild/BmcAcpiSwChild.c | 189 +++++ .../IpmiFeaturePkg/BmcElog/BmcElog.c | 236 ------ .../BmcElog/Common/BmcElogCommon.c | 465 ++++++++++++ .../IpmiFeaturePkg/BmcElog/Dxe/BmcElog.c | 287 ++++++++ .../IpmiFeaturePkg/BmcElog/Pei/BmcElog.c | 297 ++++++++ .../IpmiFeaturePkg/BmcElog/Smm/BmcElog.c | 288 ++++++++ .../GenericElog/Dxe/GenericElog.c | 576 +++++++++++++++ .../GenericElog/Smm/GenericElog.c | 558 ++++++++++++++ .../IpmiFeaturePkg/GenericFru/GenericFru.c | 68 ++ .../GenericFru/GenericFruDriver.c | 513 +++++++++++++ .../IpmiFeaturePkg/IpmiFru/IpmiFru.c | 67 -- .../IpmiFeaturePkg/IpmiRedirFru/FruSmbios.c | 469 ++++++++++++ .../IpmiRedirFru/IpmiRedirFru.c | 479 ++++++++++++ .../ServerManagementLib/ServerManagementLib.c | 696 ++++++++++++++++++ .../ServerManagementLibNull.c | 144 ++++ 48 files changed, 7242 insertions(+), 348 deletions(-) create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcAcpiState/BmcAcpiState.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcAcpiSwChild/BmcAcpiSwChild.inf rename Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/{BmcElog.inf => DxeBmcElog.inf} (56%) create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/PeiBmcElog.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/SmmBmcElog.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericElog/Dxe/GenericElog.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericElog/Smm/GenericElog.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericFru/GenericFru.inf delete mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiFru/IpmiFru.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiRedirFru/IpmiRedirFru.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/ServerManagementLib/ServerManagementLib.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/ServerManagementLibNull/ServerManagementLibNull.inf create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcAcpiState/BmcAcpiState.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcAcpiSwChild/BmcAcpiSwChild.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Common/BmcElogCommon.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Dxe/BmcElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Pei/BmcElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Smm/BmcElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericElog/Dxe/GenericElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericElog/Smm/GenericElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericFru/GenericFruDriver.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Library/ServerMgmtRtLib.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Ppi/GenericElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Protocol/BmcAcpiSwChildPolicy.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Protocol/GenericElog.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Protocol/GenericFru.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Include/Protocol/RedirFru.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiRedirFru/IpmiRedirFru.h create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcAcpiState/BmcAcpiState.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcAcpiSwChild/BmcAcpiSwChild.c delete mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/BmcElog.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Common/BmcElogCommon.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Dxe/BmcElog.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Pei/BmcElog.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/BmcElog/Smm/BmcElog.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericElog/Dxe/GenericElog.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericElog/Smm/GenericElog.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericFru/GenericFru.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/GenericFru/GenericFruDriver.c delete mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiFru/IpmiFru.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiRedirFru/FruSmbios.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/IpmiRedirFru/IpmiRedirFru.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/ServerManagementLib/ServerManagementLib.c create mode 100644 Features/Intel/OutOfBandManagement/IpmiFeaturePkg/Library/ServerManagementLibNull/ServerManagementLibNull.c -- 2.39.2.windows.1 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#110228): https://edk2.groups.io/g/devel/message/110228 Mute This Topic: https://groups.io/mt/102231765/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=-=-=-=-=-=-=-=-=-=-=-