]> git.proxmox.com Git - mirror_edk2.git/commit
ArmPkg/ProcessorSubClassDxe: Fix the format of ProcessorId
authorNhi Pham <nhi@os.amperecomputing.com>
Wed, 15 Sep 2021 13:55:32 +0000 (20:55 +0700)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 16 Sep 2021 14:45:48 +0000 (14:45 +0000)
commitac6388add4ade3ae5c4036ea6c2ce9c8d301d057
treef65394870c05e7fd67d65de2a51023ee4dd3b706
parent60d8bb9f28f663e6ca58bc87c042fdd82f5607bd
ArmPkg/ProcessorSubClassDxe: Fix the format of ProcessorId

According to SMBIOS 3.4, section 7.5.3.3 ARM64-class CPUs, if
SMCCC_ARCH_SOC_ID is supported, the first DWORD is the JEP-106 code and
the second DWORD is the SoC revision value. But in the current
implementation, they are set in reverse. This patch is to correct it.

Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Rebecca Cran <rebecca@nuviainc.com>
Signed-off-by: Nhi Pham <nhi@os.amperecomputing.com>
Reviewed-by: Rebecca Cran <rebecca@nuviainc.com>
Acked-by: Leif Lindholm <leif@nuviainc.com>
ArmPkg/Universal/Smbios/ProcessorSubClassDxe/SmbiosProcessorArmCommon.c