[edk2-devel] [edk2-platforms][PATCH V1 00/11] Add SMBIOS tables for SGI/RD platforms

Pranav Madhu pranav.madhu at arm.com
Fri Jan 15 18:26:37 UTC 2021


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/SmbiosPlatformDxe.inf
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.h
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/SmbiosPlatformDxe.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type0BiosInformation.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type16PhysicalMemoryArray.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type17MemoryDevice.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type19MemoryArrayMappedAddress.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type1SystemInformation.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type32SystemBootInformation.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type3SystemEnclosure.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type4ProcessorInformation.c
 create mode 100644 Platform/ARM/SgiPkg/Drivers/SmbiosPlatformDxe/Type7CacheInformation.c

-- 
2.17.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#70437): https://edk2.groups.io/g/devel/message/70437
Mute This Topic: https://groups.io/mt/79709178/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list