Support new PDR layout in PLDM sensor handling
The OCC active PLDM sensors are changing from each having a unique PDR
instance ID to having different container IDs based on the DCM they are
present on and then the same instance IDs across the DCMs.
For example:
OCC containerID instanceID
0 20 0
1 20 1
2 21 0
3 21 1
There is some code that was relying on unique instance IDs to sort the
sensor IDs. Instead, use ((containerID << 16) | instanceID) to give a
unique key.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ieda7732f3af94427f8392cab6060d3ca16f86fbe
1 file changed