Fix pldm query to prevent truncating container id
The entity instance map uses a key that combines container_id and
entity_instance. The map used was truncating the key to uint16
(EntityInstance).
Sample trace of the key/values:
openpower-occ-control[4668]: PLDM: fetchEffecterInfo() emplace(key 0x00130000,21897)
openpower-occ-control[4668]: PLDM: fetchEffecterInfo() emplace(key 0x00130001,21899)
openpower-occ-control[4668]: PLDM: fetchEffecterInfo() emplace(key 0x00140000,21901)
openpower-occ-control[4668]: PLDM: fetchEffecterInfo() emplace(key 0x00140001,21903)
openpower-occ-control[4668]: PLDM: fetchEffecterInfo() emplace(key 0x00150000,21905)
openpower-occ-control[4668]: PLDM: fetchEffecterInfo() emplace(key 0x00150001,21907)
This prevented resets for OCCs other than instance 0 / 1.
Tested on Everest HW
Change-Id: I58c3bdd398ea99e3eeaebfe5f4474507ec8b767e
Signed-off-by: Chris Cain <cjcain@us.ibm.com>
1 file changed