summaryrefslogtreecommitdiffstats
path: root/sensorhandler.cpp
Commit message (Collapse)AuthorAgeFilesLines
* sensorhandler: removed un-needed sd_bus_refPatrick Williams2017-04-181-1/+1
| | | | | | | | sdbusplus's bus object has a change in semantics that no longer require a 'sd_bus_ref' call. See changes for openbmc/openbmc#1432. Change-Id: I6e953cfbd83abec1534e75b8fbf6c7e5b711ceb3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* sensor: Reuse ipmid bus for inventory-notifyPatrick Williams2017-03-311-1/+1
| | | | | | | Partially fixes openbmc/openbmc#875. Change-Id: Id1cf69f5e4e5413d95ebeccf73abde1de76de3e4 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Add Sensor Reading Support for Power Supply DeratingJayanth Othayoth2017-03-301-0/+1
| | | | | Change-Id: I0eb106c37c33db01937ec61dd5553b5799651633 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Sensor Reading Support for Turbo AllowedJayanth Othayoth2017-03-281-0/+1
| | | | | Change-Id: Ib2e89383fa1da4d3216ad5c50d257ec973547b71 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* IPMI Sensor Support for Power Supply RedundancyDhruvaraj S2017-03-271-0/+1
| | | | | Change-Id: Id475849a77fd18e8f6b05c73f55866aba604c9a7 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Modify set sensor reading commandTom Joseph2017-03-151-7/+110
| | | | | | | | | The Set Sensor handling code is modified to use generated code for CPU, Core & DIMM sensors with Presence & Functional offset. Change-Id: I3b7fa4da870b745873da4732d457d793f5549ada Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add privilege level for each IPMI commandTom2017-01-171-6/+12
| | | | | Change-Id: I07f160c6ea83dc91f46e21f263c4cf994aff081d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Fix type overflow in find_sensorBrad Bishop2016-10-061-4/+9
| | | | | | Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I700c5847685b4432c1da42ec470860f1785b9abf
* Print failing object path after failed bus lookupBrad Bishop2016-10-061-2/+4
| | | | | Change-Id: I599d8297b4d2fd45831443685ea5b7d53f1515b6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Refactor the code related to Sensor handlingTom2016-09-231-2/+202
| | | | | | | | | The sensor related code is moved to sensorhandler.c. These changes were part of the ipmi daemon code and would have to replicated in RMCP daemon. The refactoring would get away with those changes. Change-Id: Ib9e1a1929282221e6f259e4a54502eea82f42939 Signed-off-by: Tom <tomjoseph@in.ibm.com>
* Modify respond of un-supported IPMI commandNan Li2016-09-091-1/+1
| | | | | | | | | | | A number of callbacks are registered for 'WILDCARD' types, which currently do nothing except respond with CC_OK(00h). Change complete codes to CC_INVALID(C1h). Resolves openbmc/openbmc#469. Change-Id: I91ea5ee1a23284a4159ff1c1867342e89c6fa444 Signed-off-by: Nan Li <william.bjlinan@hotmail.com>
* Allow out-of-tree buildsPatrick Williams2016-09-061-1/+1
| | | | | Change-Id: If4b97e65f63c3abbf23140dd97b9febe00b3be0d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Switch C++ source files to .cpp extensionMatthew Barth2016-08-081-0/+262
Change-Id: I495186b4afd58ec1e5d9d5c6472394f96541d17d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud