From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-002e3701.pphosted.com (mx0a-002e3701.pphosted.com [148.163.147.86]) by mx.groups.io with SMTP id smtpd.web11.8977.1604589872926886489 for ; Thu, 05 Nov 2020 07:24:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=cQ//O+I3; spf=pass (domain: hpe.com, ip: 148.163.147.86, mailfrom: prvs=0578d2b66c=abner.chang@hpe.com) Received: from pps.filterd (m0134422.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0A5FGYs4007800; Thu, 5 Nov 2020 15:24:30 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id; s=pps0720; bh=2U4Skk9iCV5iy85xjhQM6X3gtw9wBC0rQVByk7+THOE=; b=cQ//O+I3IDzd+O7IIKgLgkQwPA3jtcK9vXTcEj5fvgBaGj7uK3gRfAgRYrHQvyOQFl21 CMtIITR1W0KIq17sWjmD8rnZzhilLLausHaQ0NHwd+DU4jRgHj3Zg5Zc+plYKKF+Ro2L 9AwGCtZlL2tmAfIyqzDyR2UNy8ONqc5gUKfdt1mi7vLrBPr7rTUPlDBSXTmo4d80p23a iu/H4kXk0CisRESoWizPWqCM/zzaFE8IVxC99yEmqXAYW6XYFlhcKFnumQEBh9e5iIxD tqY7uDHW+zDePwIEfCFj4UmccYWwdSWqbSppD3dV/YKhAy3OhnF4dnpxe3OBvFgFjUJe sw== Received: from g4t3425.houston.hpe.com (g4t3425.houston.hpe.com [15.241.140.78]) by mx0b-002e3701.pphosted.com with ESMTP id 34kdb20rjx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 05 Nov 2020 15:24:30 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g4t3425.houston.hpe.com (Postfix) with ESMTP id 86EE292; Thu, 5 Nov 2020 15:24:29 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 678A148; Thu, 5 Nov 2020 15:24:27 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Jordan Justen , Andrew Fish , Ray Ni , Jiaxin Wu , Ting Ye , Siyuan Fu , Fan Wang , Nickle Wang , Peter O'Hanley Subject: [Platform Redfish Host Interface PATCH 0/6] Enable Platform Redfish Date: Thu, 5 Nov 2020 22:38:47 +0800 Message-Id: <20201105143853.2180-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.1 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312,18.0.737 definitions=2020-11-05_09:2020-11-05,2020-11-05 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 spamscore=0 clxscore=1011 mlxlogscore=999 adultscore=0 suspectscore=1 malwarescore=0 impostorscore=0 phishscore=0 priorityscore=1501 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011050105 This patch set enables the Redfish support on Emulator platform. The main change on this patch set is, 1. Provide the EFI application to configure the network information of Redfish service. The configurations are stored in EFI variables. 2. The Platform Redfish Host Interface library consumes the EFI variables created in step #1 and then creates the SMBIOS type 42 record. Signed-off-by: Abner Chang Cc: Jordan Justen Cc: Andrew Fish Cc: Ray Ni Cc: Jiaxin Wu Cc: Ting Ye Cc: Siyuan Fu Cc: Fan Wang Cc: Nickle Wang Cc: Peter O'Hanley Abner Chang (6): RedfishPkg: Add PCD definition to RedfishPkg RedfishPkg: DSC and FDF include files for enabling EFI Redfish support EmulatorPkg/RedfishPlatformHostInterfaceLib library EmulatorPkg/Application: Publish Redfish Host Interface Record EmulatorPkg: Add allowable dependency EmulatorPkg: Redfish related changes on EmulatorPkg .../RedfishPlatformConfig.c | 298 ++++++++++ .../RedfishPlatformConfig.inf | 42 ++ EmulatorPkg/EmulatorPkg.ci.yaml | 1 + EmulatorPkg/EmulatorPkg.dec | 1 + EmulatorPkg/EmulatorPkg.dsc | 26 +- EmulatorPkg/EmulatorPkg.fdf | 5 + .../RedfishPlatformHostInterfaceLib.c | 528 ++++++++++++++++++ .../RedfishPlatformHostInterfaceLib.inf | 47 ++ RedfishPkg/Redfish.dsc.inc | 21 + RedfishPkg/Redfish.fdf.inc | 16 + RedfishPkg/RedfishComponents.dsc.inc | 18 + RedfishPkg/RedfishDefines.dsc.inc | 27 + RedfishPkg/RedfishLibs.dsc.inc | 15 + RedfishPkg/RedfishPkg.dec | 22 + 14 files changed, 1066 insertions(+), 1 deletion(-) create mode 100644 EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.c create mode 100644 EmulatorPkg/Application/RedfishPlatformConfig/RedfishPlatformConfig.inf create mode 100644 EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.c create mode 100644 EmulatorPkg/Library/RedfishPlatformHostInterfaceLib/RedfishPlatformHostInterfaceLib.inf create mode 100644 RedfishPkg/Redfish.dsc.inc create mode 100644 RedfishPkg/Redfish.fdf.inc create mode 100644 RedfishPkg/RedfishComponents.dsc.inc create mode 100644 RedfishPkg/RedfishDefines.dsc.inc create mode 100644 RedfishPkg/RedfishLibs.dsc.inc -- 2.17.1