From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-il1-f175.google.com (mail-il1-f175.google.com [209.85.166.175]) by mx.groups.io with SMTP id smtpd.web08.10311.1614090402659845592 for ; Tue, 23 Feb 2021 06:26:42 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=t279KpM9; spf=pass (domain: nuviainc.com, ip: 209.85.166.175, mailfrom: rebecca@nuviainc.com) Received: by mail-il1-f175.google.com with SMTP id h18so6158350ils.2 for ; Tue, 23 Feb 2021 06:26:42 -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=cJIiI2fB6k2KgIyf8LyWd/Q5n9Ic18Lrvmgpetse9AU=; b=t279KpM9qN2pTxZILh5ps8cLQuzzSIHZe1YkatWgM+62wle6Vqc0Bef3Y3iLXCMR7u JsFil0vzaAfns/u9O+g3drjLKuVZAeyb+GOfEV1/RM6MP88yfXD2eo7WzpLw1YFQSETR pbMOVjDj2VX+l3wg0ggHP9q7Oho+P7RldisxH3dzvHeeccHPkqhlH57hLkP8m6MNHzOW pZnoTDpJWxfBSC5x/W1JTlAijItPUC5r7x65bgzSRbX4PPxydwbr8m5z01RnWFGjlIAf KvL+L1bvZjRYh7QPaItjhzxCJS2IAGKXOkrgjA8w2z/GvnJg4G9Fc/lmHAcPga/F/zst tf0g== 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=cJIiI2fB6k2KgIyf8LyWd/Q5n9Ic18Lrvmgpetse9AU=; b=uBB/BfeUVsUZh3TE7nfk/enX+4+arj3O5M+u3D4QDkfhRKXBTNKFwLSEqQld26ijTk SiFjuNkByL08xBpPPeWj7RLWsTSFhWohS8CZMg3nrI/n2yuWmKW3IeYQW92NlkH3rkkl dlw5mh5Gr1iLNxMPy/EIh5aJ/GCvFY+7EN1x7+XGAFZJvbtTyjwiHo9LmoAdEdEnuULZ 3939He643byuWqgHUxgoYXWA6Vd2FE/IXJ3XAqwxt2+ASredAPsVmEaI7JE+Ubk+pDDE DPshtuDco2LxrT6pNiiXfyTV4Rp6CtZozAMKwoKe/ZQbCH9uoh/nsHB29rR3iCCEpiLq FGSg== X-Gm-Message-State: AOAM530ZVYvYC8sbpNpz7e22XHuCWU2+Q2vDFGn8/dX8Mn7hUASxGkhW dCBXUV8CV6pzmzRGKSZkLJQXl/U8zHO9zmw0yoXCtgoRmB54sYViV3msD1ENgfYlsrgaw4TQXik b6V7OC8+9qabEel+LlWijMt0LqQQuEigNnZkkkWzlBH8hxdGLBwVnDM4yEdWH7Qf7NlTHfw== X-Google-Smtp-Source: ABdhPJxOLeqXQuC0MtJMKWC9Y8Jqdhu6DlrqdC/oQMa1zknrpsibZzEsVqLpKMsfZOZ0aXCE1VotUw== X-Received: by 2002:a92:cbce:: with SMTP id s14mr20736742ilq.306.1614090401795; Tue, 23 Feb 2021 06:26:41 -0800 (PST) Return-Path: Received: from cube.int.bluestop.org (c-174-52-16-57.hsd1.ut.comcast.net. [174.52.16.57]) by smtp.gmail.com with ESMTPSA id b9sm15391541ilo.41.2021.02.23.06.26.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Feb 2021 06:26:41 -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 v4 0/4] Platform/Qemu/SbsaQemu: Add SMBIOS tables Date: Tue, 23 Feb 2021 07:26:31 -0700 Message-Id: <20210223142635.8807-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 v3 and v4 o Renamed function in FdtHelperLib to FdtHelperCountCpus. o Renamed 'mHiiHandle' parameter in OemUpdateSmbiosInfo to 'HiiHandle'. o Added a patch to add CoreIndex variable into AddMadtTable. o Added setting of PcdCoreCount into InitializeSbsaQemuAcpiDxe. 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