[SWDEV-529665] Add PLDM Bundle version

feat: Report PLDM Bundle from SMC to IB

Code changes related to the following:
  * APIs
  * CLI
  * Unit tests

Signed-off-by: Oliveira, Daniel <daniel.oliveira@amd.com>
Change-Id: I35ccf01eb612ca80e3ae6b72039085c18c989222
Este commit está contenido en:
Daniel Oliveira
2025-05-14 21:19:53 -05:00
cometido por Arif, Maisam
padre bd39e461a5
commit fe9b6eeb49
Se han modificado 12 ficheros con 38 adiciones y 9 borrados
+3 -1
Ver fichero
@@ -198,6 +198,7 @@ class AmdSmiFwBlock(IntEnum):
AMDSMI_FW_ID_RLC_SRLS = amdsmi_wrapper.AMDSMI_FW_ID_RLC_SRLS
AMDSMI_FW_ID_PM = amdsmi_wrapper.AMDSMI_FW_ID_PM
AMDSMI_FW_ID_DMCU = amdsmi_wrapper.AMDSMI_FW_ID_DMCU
AMDSMI_FW_ID_PLDM = amdsmi_wrapper.AMDSMI_FW_ID_PLDM
class AmdSmiClkType(IntEnum):
@@ -2737,7 +2738,8 @@ def amdsmi_get_fw_info(
AmdSmiFwBlock.AMDSMI_FW_ID_TA_XGMI,
AmdSmiFwBlock.AMDSMI_FW_ID_UVD,
AmdSmiFwBlock.AMDSMI_FW_ID_VCE,
AmdSmiFwBlock.AMDSMI_FW_ID_VCN]
AmdSmiFwBlock.AMDSMI_FW_ID_VCN,
AmdSmiFwBlock.AMDSMI_FW_ID_PLDM]
# PM(AKA: SMC) firmware's hex value looks like 0x12345678
# However, they are parsed as: int(0x12).int(0x34).int(0x56).int(0x78)