entity: Add new entity types from DSP0249 v1.3.0
Add entity types that are newly defined in v1.3.0 of DSP0249 Platform
Level Data Model (PLDM) State Set Specification.
Change-Id: I9ba7d44c34795c41dc0e9c9b18214faf9ac63019
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>
diff --git a/CHANGELOG.md b/CHANGELOG.md
index ee64a01..f888ddf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,8 @@
Together these macros reduce the need for use of reinterpret_cast<>() in C++.
+9. entity: Add new entity types from DSP0249 v1.3.0
+
### Changed
1. dsp: bios_table: Null check for pldm_bios_table_iter_is_end()
diff --git a/include/libpldm/entity.h b/include/libpldm/entity.h
index f48786b..722a275 100644
--- a/include/libpldm/entity.h
+++ b/include/libpldm/entity.h
@@ -20,6 +20,9 @@
PLDM_ENTITY_COMM_CHANNEL = 6,
PLDM_ENTITY_TERMINUS = 7,
PLDM_ENTITY_PLATFORM_EVENT_LOG = 8,
+ PLDM_ENTITY_DEVICE_FILE = 9,
+ PLDM_ENTITY_DEVICE_FILE_DIRECTORY = 10,
+ PLDM_ENTITY_MEMORY_RANK = 11,
/* Human Interface Entities */
PLDM_ENTITY_KEYPAD = 15,
@@ -97,6 +100,9 @@
PLDM_ENTITY_DC_DC_CONVERTER = 124,
PLDM_ENTITY_AC_MAINS_POWER_SUPPLY = 125,
PLDM_ENTITY_DC_MAINS_POWER_SUPPLY = 126,
+ PLDM_ENTITY_VOLTAGE_REGULATOR = 127,
+ PLDM_ENTITY_MULTI_RAIL_VOLTAGE_REGULATOR = 128,
+ PLDM_ENTITY_MULTI_RAIL_VOLTAGE_REGULATOR_CHANNEL = 129,
/* Chip Entities */
PLDM_ENTITY_PROC = 135,
@@ -113,6 +119,12 @@
PLDM_ENTITY_SOUTH_BRIDGE = 146,
PLDM_ENTITY_REAL_TIME_CLOCK = 147,
PLDM_ENTITY_FPGA_CPLD_DEVICE = 148,
+ PLDM_ENTITY_ACCELERATOR = 149,
+ PLDM_ENTITY_TPM = 150,
+ PLDM_ENTITY_PROCESSOR_CORE = 151,
+ PLDM_ENTITY_GPU = 152,
+ PLDM_ENTITY_DPU = 153,
+
/* Bus Entities */
PLDM_ENTITY_OTHER_BUS = 160,
PLDM_ENTITY_SYS_BUS = 161,
@@ -129,6 +141,7 @@
PLDM_ENTITY_SATA_SAS_BUS = 172,
PLDM_ENTITY_PROC_FRONT_SIDE_BUS = 173,
PLDM_ENTITY_INTER_PROC_BUS = 174,
+ PLDM_ENTITY_INTER_ACCELERATOR_LINK = 175,
/* Connectors/Cables */
PLDM_ENTITY_CONNECTOR = 185,
@@ -153,6 +166,7 @@
PLDM_ENTITY_QSFP_PLUS = 212,
PLDM_ENTITY_QSFPDD = 213,
PLDM_ENTITY_OSFP = 214,
+ PLDM_ENTITY_DSFP = 215,
/* Network Ports Connection Types */
PLDM_ENTITY_ETHERNET = 300,