soc/intel/ptl: Populate SMBIOS Type 4 with unique serial number
commit1b175a64e31f71cae56b39e78344fe6133db40de
authorSubrata Banik <subratabanik@google.com>
Tue, 3 Dec 2024 18:31:10 +0000 (4 00:01 +0530)
committerSubrata Banik <subratabanik@google.com>
Fri, 6 Dec 2024 00:22:56 +0000 (6 00:22 +0000)
treeca16d3f11d02ed4a04444085ce5e564fe539c569
parent4b574281f09df6f112a5c302ec3ec9592e6a7e8d
soc/intel/ptl: Populate SMBIOS Type 4 with unique serial number

This commit enhances the SMBIOS Type 4 table by populating the "serial
number" field with the unique SoC QDF information retrieved via PMC
IPC.

This improvement provides more accurate and detailed processor
information for Panther Lake SoCs and onwards, aiding in:

- System identification
- Diagnostics
- Asset management

Previously, the serial number field was not populated.

TEST=Able to build and boot google/fatcat.

Example of SMBIOS Type 4 output:

Before this commit:

  Serial Number: Not Specified
  Asset Tag: Not Specified
  Part Number: Not Specified

After this commit:

  Serial Number: ABCD  (Example SoC QDF information)
  Asset Tag: Not Specified
  Part Number: Not Specified

Change-Id: I38a0bb0e44c619393b8f058ae30fbf2f9719b724
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/85456
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
src/soc/intel/pantherlake/cpu.c