From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mx.groups.io with SMTP id smtpd.web12.15210.1601219735202463867 for ; Sun, 27 Sep 2020 08:15:35 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=Wk5o4HTQ; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=05397b83fd=abner.chang@hpe.com) Received: from pps.filterd (m0150245.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 08RFFYZU010501 for ; Sun, 27 Sep 2020 15:15:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : mime-version; s=pps0720; bh=kRqlnntfs0UufnL2dyYLqE2P3CrnjMIh2Qe4F7KndeY=; b=Wk5o4HTQa179N4Fj8lK2fQKO9wLaAWHBTdOhe9+C+0yJ5ckqCLYitbI2g4yFB2KRvtBj k28wkKy4Qs/tHx6SeHrC02lchkVZWTcKriZVvjcOY6fBl4gEmfV1DZHBgvRbHBzRHIgM WwWdtLz66ANU8imv53d2ukdMqrkBLaTbXwNUfh9kRE/y0gcMyq7cpAZgnHgr/liJ2pnt /GoSvO4YI+qqJdwa9qc+BYWi8+pjuJeXMg2W3re4L2M4UuCE9uhPSD4KlnP+mVeBi1ig Pbh5hwfm7GGnFgaVQTAu5K6qEjatzLYE5RGWHR8GWNc3l3fOCla7yNmUWy056Z4UEe4k Gg== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 33sxuepq1u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Sun, 27 Sep 2020 15:15:34 +0000 Received: from g9t2301.houston.hpecorp.net (g9t2301.houston.hpecorp.net [16.220.97.129]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id F23DE4F for ; Sun, 27 Sep 2020 15:15:33 +0000 (UTC) Received: from SAC2XFT1JT.asiapacific.hpqcorp.net (sac2xft1jt.asiapacific.hpqcorp.net [10.43.42.132]) by g9t2301.houston.hpecorp.net (Postfix) with ESMTP id 46CA250; Sun, 27 Sep 2020 15:15:33 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: abner.chang@hpe.com Subject: [edk2-staging/RedfishHostInterfaceDxe PATCH 0/5] EFI Redfish Host Interface Driver Date: Sun, 27 Sep 2020 23:15:30 +0800 Message-Id: <20200927151531.449184-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.21.0.windows.1 X-Proofpoint-UnRewURL: 0 URL was un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-09-27_12:2020-09-24,2020-09-27 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=999 suspectscore=0 bulkscore=0 impostorscore=0 malwarescore=0 clxscore=1015 mlxscore=0 adultscore=0 spamscore=0 lowpriorityscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2009270146 Content-Transfer-Encoding: 8bit The code review for EFI Redfish Host Interface driver of Redfish EDK2 solution. Refer to [D1] in figure 1 in below link, https://github.com/tianocore/edk2-staging/tree/UEFI_Redfish This driver doesn't introduce a new EFI protocol. This driver consumes the platform level Redfish host interface library to build up SMBIOS type 42 record for the platform transport between BIOS and Redfish service. EFI Redfish Discover Driver (UEFI spec 2.7) discovers Redfish service according to the host interface described in SMBIOS type 42 record. The BZ# for of this patch is, https://bugzilla.tianocore.org/show_bug.cgi?id=2912. Commit ID:8386f7e on edk2-staging/UEFI_Redfish is the initial code of RedfishPkg. This patch will be submitted to edk2 repo for review becasue the correspoing Redfish spec is already published in UEFI spec 2.7. Abner Chang (5): RedfishPkg/Include: Definitions of SMBIOS Redfish Host Interface RedfishPkg/Include: RedfishHostInterfaceLib header file RedfishPkg/PlatformHostInterfaceLib: Platform NULL lib RedfishPkg/RedfishHostInterfaceDxe: RedfishHostInterface driver RedfishPkg: Add RedfishHostInterfaceDxe to Redfish package build .../BZ2912RedfishHostInterface.h | 165 ++++++++++++ .../Library/BZ2912RedfishHostInterfaceLib.h | 52 ++++ .../BZ2912PlatformHostInterfaceLibNull.c | 53 ++++ .../BZ2912PlatformHostInterfaceLibNull.inf | 34 +++ .../BZ2912RedfishHostInterfaceDxe.c | 243 ++++++++++++++++++ .../BZ2912RedfishHostInterfaceDxe.inf | 50 ++++ RedfishPkg/RedfishPkg.dec | 3 + RedfishPkg/RedfishPkg.dsc | 8 +- 8 files changed, 606 insertions(+), 2 deletions(-) create mode 100644 RedfishPkg/Include/IndustryStandard/BZ2912RedfishHostInterface.h create mode 100644 RedfishPkg/Include/Library/BZ2912RedfishHostInterfaceLib.h create mode 100644 RedfishPkg/Library/PlatformHostInterfaceLibNull/BZ2912PlatformHostInterfaceLibNull.c create mode 100644 RedfishPkg/Library/PlatformHostInterfaceLibNull/BZ2912PlatformHostInterfaceLibNull.inf create mode 100644 RedfishPkg/RedfishHostInterfaceDxe/BZ2912RedfishHostInterfaceDxe.c create mode 100644 RedfishPkg/RedfishHostInterfaceDxe/BZ2912RedfishHostInterfaceDxe.inf -- 2.21.0.windows.1