summaryrefslogtreecommitdiffstats
path: root/occ_manager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Add I2C OCC support for P8 systemsLei YU2017-08-281-0/+31
| | | | | | | | | | | | | | P8 system uses I2C OCC and it uses different driver for occ-hwmon. Add `--enable-i2c-occ` configure option to enable the support. It searches i2c device names in sysfs to get all occ-hwmon devices and use the i2c device name to bind/unbind the driver. The occ control object path for I2C OCC hwmon becomes something like /org/open_power/control/3_0050, where 3_0050 is the i2c address. Change-Id: I8b9d8d4429c563528dc88fb2679b265c53d7a2d5 Signed-off-by: Lei YU <mine260309@gmail.com>
* Remove creating sdbusplus handler in occ_finderVishwanatha Subbanna2017-08-231-1/+1
| | | | | | | | | | 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 <vishwa@linux.vnet.ibm.com>
* Enable OCC error monitoringVishwanatha Subbanna2017-08-231-3/+52
| | | | | | | Fixes openbmc/openbmc#2165 Change-Id: I93f317a32c910f279003fa0fce6ae2d597f90312 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Reconstruct OCC objects on app restartDeepak Kodihalli2017-08-011-16/+41
| | | | | | | | | | | | | 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 <dkodihal@in.ibm.com>
* Add support to watch for OCC errorsVishwanatha Subbanna2017-07-291-4/+12
| | | | | Change-Id: I98d95020a2d01e281e5c8efa825d6b4bd4c6c160 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Create pcap object and log monitored eventsAndrew Geissler2017-07-171-0/+12
| | | | | Change-Id: I2d7b3a449e2c9c1d5a0627161f8e85dcaca1e087 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Implement OCC status interfaceVishwanatha Subbanna2017-07-041-4/+12
| | | | | Change-Id: I43822cb28bc2d23398fb09352c9876e169c666f7 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Change occ control service nameVishwanatha Subbanna2017-07-041-0/+91
Currently, only thing that OCC controller does is create PassThrough objects. However, there is a need now to create OCC Status objects and hence some restructuring is needed to consume that. Since OCC control now is doing more than one thing, service name is changed to map to that. Change-Id: I466979a873d6f14385eb59d0e9d9f3a8b3f95a9b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
OpenPOWER on IntegriCloud