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.web10.4792.1602564763924812394 for ; Mon, 12 Oct 2020 21:52:44 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@hpe.com header.s=pps0720 header.b=GkjSKJLb; spf=pass (domain: hpe.com, ip: 148.163.143.35, mailfrom: prvs=055551424a=abner.chang@hpe.com) Received: from pps.filterd (m0134423.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09D4nPaQ007502; Tue, 13 Oct 2020 04:52:42 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=/O6v2zN1vMQyzwF94fo6ifAtmm9Nj50mFPbe3NRtrCw=; b=GkjSKJLbEzCVotCnxWgfjzR2NoxNgd7GkKxNJUiKQZpLZlqTs4RDulcSVTPNsscTWX+9 G6xNegLTFoZ5LncrBykerQ2aGA7hqBAei2d+uDmYlGtw2FPDgIySkS6aVuE6z2w7TzMZ K9dLNj10bPa8LO74offGBQd0aIMbcRA5xgU1FwVHN7Cs0cPBz4z8cQ1bDe+dTGJKxQrr mCqM+SN2inIxwMLo0MLNFqeJt2U3LX1Hdqn86nW+IaTtWh2XK9XFHALiQBi0NHy11c4Q PhbJX4XHa9c1HbCAe76kaABaJ27W6a7sLwDE7cL9rzgz0XB3BEhh3IZht6Htp63QkQkq MQ== Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0b-002e3701.pphosted.com with ESMTP id 343avatu7s-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 13 Oct 2020 04:52:42 +0000 Received: from g4t3433.houston.hpecorp.net (g4t3433.houston.hpecorp.net [16.208.49.245]) by g9t5008.houston.hpe.com (Postfix) with ESMTP id DF53860; Tue, 13 Oct 2020 04:52:41 +0000 (UTC) Received: from abner-virtual-machine.asiapacific.hpqcorp.net (abner-virtual-machine.asiapacific.hpqcorp.net [15.119.210.153]) by g4t3433.houston.hpecorp.net (Postfix) with ESMTP id 682FC45; Tue, 13 Oct 2020 04:52:40 +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 0/5] Create SMBIOS type 42 record Date: Tue, 13 Oct 2020 12:08:00 +0800 Message-Id: <20201013040805.20523-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.235,18.0.687 definitions=2020-10-13_01:2020-10-12,2020-10-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 mlxscore=0 suspectscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 impostorscore=0 clxscore=1015 malwarescore=0 adultscore=0 priorityscore=1501 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010130041 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 (5): 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 .../IndustryStandard/RedfishHostInterface.h | 165 ++++++++++++ .../Include/Library/RedfishHostInterfaceLib.h | 52 ++++ .../PlatformHostInterfaceLibNull.c | 53 ++++ .../PlatformHostInterfaceLibNull.inf | 34 +++ .../RedfishHostInterfaceDxe.c | 243 ++++++++++++++++++ .../RedfishHostInterfaceDxe.inf | 50 ++++ RedfishPkg/RedfishPkg.dec | 3 + RedfishPkg/RedfishPkg.dsc | 6 + 8 files changed, 606 insertions(+) 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