From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ot1-f50.google.com (mail-ot1-f50.google.com [209.85.210.50]) by mx.groups.io with SMTP id smtpd.web12.42.1614102228037998960 for ; Tue, 23 Feb 2021 09:43:48 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=fcuzfPWQ; spf=pass (domain: nuviainc.com, ip: 209.85.210.50, mailfrom: rebecca@nuviainc.com) Received: by mail-ot1-f50.google.com with SMTP id s6so16414192otk.4 for ; Tue, 23 Feb 2021 09:43:47 -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=8J3KxMgnRCSLjCfUZiHkJSGalTp70uFhPZQ5SShpU5k=; b=fcuzfPWQ04g1sOci298Gtx4CkiDl0zyPolN/wkbtmbkiVioEiAXid2sEWyNjW8M8/S wFxLViR8VqnM7rTDRrwCvMDgBzvZFTQy9gi3sD05qUvkqDpKy4ZVLgwLTWYK/ytO6c1q ZsKMPRqAiZj5A+lJ49Fef6ptiY0ddfV4/YUL2lo+7yYkBTVkVAXmJ6PZSHstYvW4u/r3 HBkW9CucyEWf1u4gpdZ3dGiH20LZDlhPevxQgAAqbuvcf+ipsVzLFn+n1LPeE0Wvz6UY HlXLGTljt++xtneLdodcjJJg+nEwO9Kxx6XtOsYoIzV14ZRl4zRXoa+QmlfloHrjhfbx an5A== 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=8J3KxMgnRCSLjCfUZiHkJSGalTp70uFhPZQ5SShpU5k=; b=twRU27pJtVQv7mVSxQQjokTx9g3Xg++n7TJmSvRbf3YzgMkuzCePAlOM1f3Ct717Ac KGhFUOe8igz31sXzFIB8MffMUUEcCW736UWrUwsqWoBEkCaeuDopyvBJLRTvZjB9av0Y O6fUFSfcozRNdW8pM46bpYNwVkEMCTIB7RBTA33hFJP0V+mhrUIT2C+wGJeYiBhKdmvu KQQ4bkf0CKXbfglJnlA19rqNsLbpgR93vsqhuDBnVX6XQ473p3p9JhvpukNZIHnOKEU3 elWjXIH0V1W3Wx27buxmkTuPiGQMk6fZBT/OGfUXj4sVCXtma+nmlb7Y87r+3hfkcoS3 eh5g== X-Gm-Message-State: AOAM532z07S4ROF3HxEbmR2Tq0Jb1PFshp9ioiK/ZWnb3bf6JxBuGUBf ecQQN3rwBwDWTfhunTXqXKN1Qi95TTgF4BMy0UQmBppKZGP9v9cEYfMmKqDrBM8uBn0GrbqrK9g 6Y6vL2VK1/HWNyQaNFuTtL75qwNDrwF7D/yiXJokoBD+CNpS7bKuhaTjD6QMh7h5Fhib3Mg== X-Google-Smtp-Source: ABdhPJxZFV5tLsMdzreIFUIkqHjaVDf+dhfuhDa6Lx1M/lpZloj7rDRB+AKAHWMywxA9G92b17ZT/A== X-Received: by 2002:a9d:3b0:: with SMTP id f45mr21205615otf.62.1614102226824; Tue, 23 Feb 2021 09:43:46 -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 s9sm4419918otb.11.2021.02.23.09.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 09:43:46 -0800 (PST) From: "Rebecca Cran" To: devel@edk2.groups.io Cc: Rebecca Cran , Ard Biesheuvel , Leif Lindholm , Graeme Gregory , Radoslaw Biernacki Subject: [edk2-platforms PATCH v5 0/4] Platform/Qemu/SbsaQemu: Add SMBIOS tables Date: Tue, 23 Feb 2021 10:43:38 -0700 Message-Id: <20210223174342.8572-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 v4 and v5 o Moved calling FdtHelperCountCpus in SbsaQemuAcpiDxe from 1/4 into 2/4. Rebecca Cran (4): SbsaQemu: Add FdtHelperLib SbsaQemu: Update SbsaQemuAcpiDxe to use FdtHelperLib Platform/Qemu/SbsaQemu: Add SMBIOS tables Silicon/Qemu: Don't re-use NumCores as loop index in AddMadtTable 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 | 62 +---- Silicon/Qemu/SbsaQemu/Drivers/SbsaQemuAcpiDxe/SbsaQemuAcpiDxe.inf | 1 + Silicon/Qemu/SbsaQemu/Include/Library/FdtHelperLib.h | 24 ++ Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.c | 62 +++++ Silicon/Qemu/SbsaQemu/Library/FdtHelperLib/FdtHelperLib.inf | 28 +++ Silicon/Qemu/SbsaQemu/SbsaQemu.dec | 18 ++ 10 files changed, 493 insertions(+), 54 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