[edk2-devel] [PATCH v2 0/3] ArmPkg/SMBIOS: Update HII string settings for SMBIOS

Nhi Pham via groups.io posted 3 patches 2 years, 3 months ago
Failed in applying to current master (apply log)
ArmPkg/Include/Library/OemMiscLib.h                                              |  5 +++++
ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c                 | 14 ++++++++++++--
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c    | 12 ++++++++++++
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c | 18 ++++++++++++++++++
ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturer.uni          |  1 -
5 files changed, 47 insertions(+), 3 deletions(-)
[edk2-devel] [PATCH v2 0/3] ArmPkg/SMBIOS: Update HII string settings for SMBIOS
Posted by Nhi Pham via groups.io 2 years, 3 months ago
This patchset leverages the OemUpdateSmbiosInfo API functions from
OemMiscLib for updating some HII string fields in the SMBIOS Type 1/2/4
because they may be updated dynamically during UEFI booting with the
data being passed from the pre-UEFI firmware.

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Rebecca Cran <rebecca@nuviainc.com>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>

Changes from v1:
* Change to use FixedPcdGetPtr() instead of PcdGetPtr(). [SAMI]
* Fix coding style issue after running uncrustify.       [SAMI]

Nhi Pham (3):
  ArmPkg/SmbiosMiscDxe: Remove duplicate HII string definition
  ArmPkg/SmbiosMiscDxe: Get full SMBIOS strings from OemMiscLib
  ArmPkg/ProcessorSubClassDxe: Get serial and part number from
    OemMiscLib

 ArmPkg/Include/Library/OemMiscLib.h                                              |  5 +++++
 ArmPkg/Universal/Smbios/ProcessorSubClassDxe/ProcessorSubClass.c                 | 14 ++++++++++++--
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturerFunction.c    | 12 ++++++++++++
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type02/MiscBaseBoardManufacturerFunction.c | 18 ++++++++++++++++++
 ArmPkg/Universal/Smbios/SmbiosMiscDxe/Type01/MiscSystemManufacturer.uni          |  1 -
 5 files changed, 47 insertions(+), 3 deletions(-)

-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#84955): https://edk2.groups.io/g/devel/message/84955
Mute This Topic: https://groups.io/mt/87760768/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-


Re: [edk2-devel] [PATCH v2 0/3] ArmPkg/SMBIOS: Update HII string settings for SMBIOS
Posted by Ard Biesheuvel 2 years, 3 months ago
On Thu, 16 Dec 2021 at 04:57, Nhi Pham <nhi@os.amperecomputing.com> wrote:
>
> This patchset leverages the OemUpdateSmbiosInfo API functions from
> OemMiscLib for updating some HII string fields in the SMBIOS Type 1/2/4
> because they may be updated dynamically during UEFI booting with the
> data being passed from the pre-UEFI firmware.
>
> Cc: Leif Lindholm <leif@nuviainc.com>
> Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
> Cc: Rebecca Cran <rebecca@nuviainc.com>
> Cc: Sami Mujawar <sami.mujawar@arm.com>
> Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
>
> Changes from v1:
> * Change to use FixedPcdGetPtr() instead of PcdGetPtr(). [SAMI]
> * Fix coding style issue after running uncrustify.       [SAMI]
>
> Nhi Pham (3):
>   ArmPkg/SmbiosMiscDxe: Remove duplicate HII string definition
>   ArmPkg/SmbiosMiscDxe: Get full SMBIOS strings from OemMiscLib
>   ArmPkg/ProcessorSubClassDxe: Get serial and part number from
>     OemMiscLib
>

Merged as #2318

Thanks all,


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#85010): https://edk2.groups.io/g/devel/message/85010
Mute This Topic: https://groups.io/mt/87760768/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-