From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) by mx.groups.io with SMTP id smtpd.web11.4087.1613706613058788825 for ; Thu, 18 Feb 2021 19:50:13 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=ffdry2ZG; spf=pass (domain: nuviainc.com, ip: 209.85.210.43, mailfrom: rebecca@nuviainc.com) Received: by mail-ot1-f43.google.com with SMTP id 100so3986625otg.3 for ; Thu, 18 Feb 2021 19:50:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7KwSJPRT3JvEQ8LWNphrdhGUqwmcWqpVUtsRWFu8LsU=; b=ffdry2ZGx790y1thls3WEOkxefWZ8mQ3UBl0td4Xgqc5IySBUblzFwFElpgq6tl8mp X5UhMSVnzOEfk8EkiBpJ/00lWnv6C0cvgAj826yJEFbJCZVtboN8ofouziNbdDSHLZPY wT0lAnijInjjCYdjOJ33Kmr9/bDPF47xMbyGDF9rNjeS97tfhNRdD0S5e9/Ia4IeCODx uOL36jz9adu7436myzxRFOJVhfNa6hEehWTP1ufihNOersj+XThnc+JiQ26XKElGhqG7 YN/dHW62fEcJBFMVePD/S7JNaNzFu+mtpQUSuT3gY0G5esLNuFLbs1hCS4qdVYFONae7 GBQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=7KwSJPRT3JvEQ8LWNphrdhGUqwmcWqpVUtsRWFu8LsU=; b=gjZxZRRjJrLwTbetRwRF6gzUrGj8tM9ktWHX1zqD2+YCVtL0WBvGS6BijmV/UDfKMa ZKlz1tCmPF5j96n9nRh8VgeE6PRFeguqp1loh8ApbiXrA7yHp9lioKTAvly0toMiFfm2 pvuXUHDy0ZU8QAAtf6P5r9yywCmD9rX6lBNq6KtN8cLPWdGfz8chh3xujgJVgr8g+ysm wRoGSNwn7iMWZQM5fdQ1GztULPVTTrpyRrtnFUQj7FshYhm6SNsF7zmFQ5MjwWdNDHVx dbAMhVRhBLWC6pIYnCaUJrOvrR3PpYmsLsZWRBQZGvgkL3VLq3XILAjm6oApl3Jvy3Ry LL7Q== X-Gm-Message-State: AOAM530DrMHIopeFh/sFR4OCjNKMDEsdn5P7uU94P+6vmXpHvGnwOs2B ukOELgraLuoKxB8g1afgXjFOlSc4xUjbxjoB88fuh26yhew7/7DdezUxjeYW3ElEt5BuZT8SgJT 9MpTpsPcMy9Q0T17Bg3jLM51J6CDtSWP+krZFT2qa67AdLs0Z8O2AmKpvqTwYc0BFfaT6vg== X-Google-Smtp-Source: ABdhPJytuLpzhFn1zIrQVm0jWJTOwMLjmKcFed9EExDl0B6FYfI9VCP//VUldhxg8hqORoMMIR6ILw== X-Received: by 2002:a05:6830:22f1:: with SMTP id t17mr4617025otc.71.1613706612124; Thu, 18 Feb 2021 19:50:12 -0800 (PST) Return-Path: Received: from cube.nuviainc.com (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id k67sm1649522oia.7.2021.02.18.19.50.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Feb 2021 19:50:11 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Ard Biesheuvel , Leif Lindholm , Graeme Gregory , Radoslaw Biernacki Subject: [edk2-platforms v2 0/3] Platform/Qemu/SbsaQemu: Add SMBIOS tables Date: Thu, 18 Feb 2021 20:50:02 -0700 Message-Id: <20210219035005.457-1-rebecca@nuviainc.com> X-Mailer: git-send-email 2.26.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit o Add SMBIOS 3.4.0 tables using ArmPkg/Universal/Smbios. o Bump the PcdSmbiosVersion PCD from 0x300 to 0x304 to indicate support for SMBIOS 3.4.0, as is required by SBBR. o Add an implementation of OemMiscLib that provides the system information. The serial numbers, asset tags etc. are currently all fixed strings, to allow fwts to pass without errors. o Add SMBIOS PCDs to identify the platform. The processor serial number, asset tag and part number are populated because otherwise fwts reports errors. Changes between v1 and v2: o Renamed OemMiscLib 'socket' functions to 'processor'. o Added PCDs for the various strings (SN, SKU etc.). o Added FdtHelperLib. o Updated SBSA ACPI Dxe to use FdtHelperLib. o Changed SBSA SMBIOS Processor information to create multiple CPUs, instead of a single multi-core CPU. o Updated cache level to be 1-based. o Fixed/moved/added EFIAPI specifiers. This series requires associated changes to the edk2 repo, so will need some coordination to reduce the amount of time the build is broken. Rebecca Cran (3): SbsaQemu: Add FdtHelperLib SbsaQemu: Update SbsaQemuAcpiDxe to use FdtHelperLib Platform/Qemu/SbsaQemu: Add SMBIOS tables Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.c | 242 ++++++++++++++++++++ Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.inf | 53 +++++ Platform/Qemu/SbsaQemu/SbsaQemu.dsc | 50 +++- Platform/Qemu/SbsaQemu/SbsaQemu.fdf | 7 + Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.c | 50 +--- Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 1 + Silicon/Qemu/SbsaQemu/Include/Library/FdtHelperLib.h | 24 ++ Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.c | 69 ++++++ Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.inf | 28 +++ Silicon/Qemu/SbsaQemu/SbsaQemu.dec | 18 ++ 10 files changed, 492 insertions(+), 50 deletions(-) create mode 100644 Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.c create mode 100644 Platform/Qemu/SbsaQemu/OemMiscLib/OemMiscLib.inf create mode 100644 Silicon/Qemu/SbsaQemu/Include/Library/FdtHelperLib.h create mode 100644 Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.c create mode 100644 Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.inf -- 2.26.2