From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web12.53.1610735223904069765 for ; Fri, 15 Jan 2021 10:27:04 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pranav.madhu@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8998CED1; Fri, 15 Jan 2021 10:27:03 -0800 (PST) Received: from usa.arm.com (a074742.blr.arm.com [10.162.16.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 595853F719; Fri, 15 Jan 2021 10:27:02 -0800 (PST) From: "Pranav Madhu" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Leif Lindholm Subject: [edk2-platforms][PATCH V1 00/11] Add SMBIOS tables for SGI/RD platforms Date: Fri, 15 Jan 2021 23:56:37 +0530 Message-Id: <20210115182648.20938-1-pranav.madhu@arm.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable SMBIOS provides basic hardware and firmware configuration information through table-driven data structure. This patch series adds SMBIOS support for Arm's SGI/RD platforms. The first patch in this series defines platform-id values for the RD-N2 platform library header. The second patch add SgiGetProductId API, which is used by the SMBIOS driver to distinguish between the platforms, and install the right table. The third patch in this series adds SMBIOS driver support that allows for installation of multiple SMBIOS tables. And subsequent patches in this series add SMBIOS tables, which are mandatory as per Arm serverready SBBR specification. This patch should be kept on top of 'Update ACPI revision' patch to avoid conflict. Pranav Madhu (11): Platform/ARM/SgiPkg: Define RD-N2 platform id values Platform/ARM/SgiPkg: Add GetProductId API for SGI/RD Platforms Platform/ARM/SgiPkg: Add Initial SMBIOS support Platform/ARM/SgiPkg: Add SMBIOS Type1 Table Platform/ARM/SgiPkg: Add SMBIOS Type3 Table Platform/ARM/SgiPkg: Add SMBIOS Type4 Table Platform/ARM/SgiPkg: Add SMBIOS Type7 Table Platform/ARM/SgiPkg: Add SMBIOS Type16 Table Platform/ARM/SgiPkg: Add SMBIOS Type17 Table Platform/ARM/SgiPkg: Add SMBIOS Type19 Table Platform/ARM/SgiPkg: Add SMBIOS Type32 Table Platform/ARM/SgiPkg/SgiPlatform.dsc.inc | 11 + Platform/ARM/SgiPkg/SgiPlatform.fdf | 8 +- .../SmbiosPlatformDxe/SmbiosPlatformDxe.inf | 72 +++++ .../SmbiosPlatformDxe/SmbiosPlatformDxe.h | 85 +++++ Platform/ARM/SgiPkg/Include/SgiPlatform.h | 27 +- .../SmbiosPlatformDxe/SmbiosPlatformDxe.c | 82 +++++ .../SmbiosPlatformDxe/Type0BiosInformation.c | 108 +++++++ .../Type16PhysicalMemoryArray.c | 85 +++++ .../SmbiosPlatformDxe/Type17MemoryDevice.c | 273 ++++++++++++++++ .../Type19MemoryArrayMappedAddress.c | 73 +++++ .../Type1SystemInformation.c | 114 +++++++ .../Type32SystemBootInformation.c | 66 ++++ .../SmbiosPlatformDxe/Type3SystemEnclosure.c | 77 +++++ .../Type4ProcessorInformation.c | 182 +++++++++++ .../SmbiosPlatformDxe/Type7CacheInformation.c | 297 ++++++++++++++++++ .../SgiPkg/Library/PlatformLib/PlatformLib.c | 83 ++++- 16 files changed, 1640 insertions(+), 3 deletions(-) create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/SmbiosP= latformDxe.inf create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/SmbiosP= latformDxe.h create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/SmbiosP= latformDxe.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type0Bi= osInformation.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type16P= hysicalMemoryArray.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type17M= emoryDevice.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type19M= emoryArrayMappedAddress.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1Sy= stemInformation.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type32S= ystemBootInformation.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type3Sy= stemEnclosure.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4Pr= ocessorInformation.c create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7Ca= cheInformation.c --=20 2.17.1