path: root/occ_finder.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Only consider CPUs that are Present and FunctionalVishwanatha Subbanna2017-08-231-0/+42
| | | | | | | | | | | | | | | OCC control application looks at CPU inventory and creates D-Bus objects. In some of the cases, hostboot marks the CPU as Not Present but also marks Functional and this results in creating an OCC object for the CPU which is not present. Need to filter CPUs based on Present and Functional properties to address the issue and this commit adds that support. Fixes openbmc/openbmc#2024 Change-Id: I58a06bfd09131bc3deba8f132547095c53bde5e1 Signed-off-by: Vishwanatha Subbanna <>
* Remove creating sdbusplus handler in occ_finderVishwanatha Subbanna2017-08-231-1/+4
| | | | | | | | | | occ finder was creating a separate sdbusplus handler to access the Inventory instead of using the one which is already available. This commit will enforce using the bus which is already created. Change-Id: Ic256f185b67c661ba551139d5e057eee3ac67c7e Signed-off-by: Vishwanatha Subbanna <>
* Reconstruct OCC objects on app restartDeepak Kodihalli2017-08-011-0/+20
| | | | | | | | | | | | | The OCC objects would get created when corresponding CPU inventory items get added. This doesn't cover a scenario where the OCC app restarts. If the CPU inventory is already present when the app starts, construct OCC objects as well. Resolves openbmc/openbmc#1824. Change-Id: I4994d93ba6f528ca67977604ccb1da717563092a Signed-off-by: Deepak Kodihalli <>
* Create OCC pass-through objectsDeepak Kodihalli2017-06-131-20/+0
| | | | | | | | | | Create OCC pass-through d-bus objects when corresponding CPU objects are created in the inventory. Resolves openbmc/openbmc#1450. Change-Id: I8da879f51ebef8dcc3d25358def81c5e0dce0617 Signed-off-by: Deepak Kodihalli <>
* Find OCC objectsDeepak Kodihalli2017-03-301-0/+20
For now, map OCC object per POWER processor. Add a method that returns a list of OCC objects that need to be on the bus, based on the processor inventory. Change-Id: I1dd36b96f71684a1d5866876e4ca9aa0283ef8b0 Signed-off-by: Deepak Kodihalli <>
OpenPOWER on IntegriCloud