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.web11.11718.1604054852162644243 for ; Fri, 30 Oct 2020 03:47:32 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=J4BkSl5u; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=0572814f16=abner.chang@hpe.com) Received: from pps.filterd (m0150244.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09UAh48C000579; Fri, 30 Oct 2020 10:47:31 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : cc : subject : date : message-id : mime-version; s=pps0720; bh=ZRSeh2QXgtTMbQpRWp9SFO63O1WnU5KjcrpDaUSYd5w=; b=J4BkSl5uIswnF0ltOBm5TYqViVGewrHFMh0/TGAFuoRAEeE1e91WEs1r/GeGuuK2Zrub eW29pX3I8qtrQ3XHd9ztguoBLZ+PDSAtNM28DqzF52dU9WO3pO0Kvh54vqKQmoFjDEHb razoVGv5VUauOMO4SYw4D/yJ1Ym0T4KQTbv+EaIqWSZ7Z7zhDfIvtvwTv9BlfQwOOOXx QZfR0xC0ZKmWJp1D3LXkkD+9PxN0yf0DBnfSLiF7Fl4gQdzeL/JppWh38QtyuUYnku36 TCSfPSs/ireRV/TzYt1Aa/P1SoPmcLmcaJ5GMPMk+zuHPAOLXEXj88QJG1fR51btWgXj Ww== Received: from g2t2352.austin.hpe.com (g2t2352.austin.hpe.com [15.233.44.25]) by mx0b-002e3701.pphosted.com with ESMTP id 34gfkbrvj4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 30 Oct 2020 10:47:31 +0000 Received: from g2t2360.austin.hpecorp.net (g2t2360.austin.hpecorp.net [16.196.225.135]) by g2t2352.austin.hpe.com (Postfix) with ESMTP id E5018A3; Fri, 30 Oct 2020 10:47:30 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g2t2360.austin.hpecorp.net (Postfix) with ESMTP id 8B0A13A; Fri, 30 Oct 2020 10:47:29 +0000 (UTC) From: "Abner Chang" To: devel@edk2.groups.io Cc: Jiaxin Wu , Siyuan Fu , Fan Wang , Jiewen Yao , Nickle Wang Subject: [EFI Redfish Host Interface PATCH v2 0/6] Create SMBIOS type 42 record Date: Fri, 30 Oct 2020 18:02:03 +0800 Message-Id: <20201030100209.9954-1-abner.chang@hpe.com> X-Mailer: git-send-email 2.17.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.312,18.0.737 definitions=2020-10-30_02:2020-10-30,2020-10-30 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 adultscore=0 spamscore=0 mlxlogscore=999 priorityscore=1501 clxscore=1015 phishscore=0 lowpriorityscore=0 malwarescore=0 mlxscore=0 bulkscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010300081 In v2: - Address comments given by Nickle v1 - Add accepted dependency of RedfishPkg in RedfishPkg CI yaml file for CI test. - Fix some CI test errors. This is the abstract driver to consume the contents of SMBIOS type 42h provided by PlatformHostInterfaceLib and create SMBIOS type 42 record through EFI SMBIOS protocol. Due to the way firmware to obtain Redfish service host interface information is platform implementation specific and the information could be obtained through the platform proprietary transport to BMC or the out-of-band service, platform integrator has to implement PlatformHostInterfaceLib to provide the Redfish host interface information to EFI Redfish Host Interface DXE driver. EFI Redfish Host Interface DXE Driver doesn't require any UEFI spec changes. This driver is the EDK2 implementation to collaborate with EFI Redfish Discover Driver (UEFI spec 31.1). BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=2912 Signed-off-by: Abner Chang Cc: Jiaxin Wu Cc: Siyuan Fu Cc: Fan Wang Cc: Jiewen Yao Cc: Nickle Wang Abner Chang (6): RedfishPkg/Include: Definitions of SMBIOS Redfish Host Interface RedfishPkg/Include: PlatformHostInterfaceLib header file RedfishPkg/PlatformHostInterfaceLib: Platform NULL lib RedfishPkg/RedfishHostInterfaceDxe: Create SMBIOS type 42 record RedfishPkg: Add RedfishHostInterfaceDxe to RedfishPkg RedfishPkg: Changes on RedfishPkg for CI test .../IndustryStandard/RedfishHostInterface.h | 169 ++++++++++++ .../Include/Library/RedfishHostInterfaceLib.h | 52 ++++ .../PlatformHostInterfaceLibNull.c | 52 ++++ .../PlatformHostInterfaceLibNull.inf | 33 +++ .../RedfishHostInterfaceDxe.c | 243 ++++++++++++++++++ .../RedfishHostInterfaceDxe.inf | 50 ++++ RedfishPkg/RedfishPkg.ci.yaml | 3 +- RedfishPkg/RedfishPkg.dec | 5 + RedfishPkg/RedfishPkg.dsc | 14 + 9 files changed, 620 insertions(+), 1 deletion(-) create mode 100644 RedfishPkg/Include/IndustryStandard/RedfishHostInterface.h create mode 100644 RedfishPkg/Include/Library/RedfishHostInterfaceLib.h create mode 100644 RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.c create mode 100644 RedfishPkg/Library/PlatformHostInterfaceLibNull/PlatformHostInterfaceLibNull.inf create mode 100644 RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.c create mode 100644 RedfishPkg/RedfishHostInterfaceDxe/RedfishHostInterfaceDxe.inf -- 2.17.1