summaryrefslogtreecommitdiffstats
path: root/ipmisensor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* add .clang-formatPatrick Venture2018-09-071-250/+296
| | | | | Change-Id: I7c2a527b4751a560703a61fcbe9638b150546af5 Signed-off-by: Patrick Venture <venture@google.com>
* Remove trailing spacesGunnar Mills2018-04-181-6/+6
| | | | | Change-Id: I3a58137b3300fcfe51a4182eb304a1b70885ad30 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Grammar and spelling fixesGunnar Mills2018-04-181-1/+1
| | | | | | | | | | Spelling errors found using github.com/lucasdemarchi/codespell A tool to fix common misspellings. This tool is licensed under GNU General Public License, version 2. Some additional grammar and capitalization errors were fixed as well. Change-Id: I700db4e6d7ba52b02374c9c3e84be0af8bd91859 Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
* Reducing IPMI logging footprintAditya Saripalli2018-04-181-8/+7
| | | | | | | | | | | | -host-ipmid is very noisy in terms of journal logging. A small step towards cleaning that up. -Also converted printfs to phosphor-logging. Partially Resolves openbmc/openbmc#2507 Change-Id: I749c19c18d1cabf6f0216830c8cb0a08ee43d6de Signed-off-by: Aditya Saripalli <aditya0124@gmail.com> Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
* Add sensor entry for power supply redundancy enabled.Dhruvaraj Subhashchandran2018-01-221-1/+2
| | | | | | | | | | | IPMI to dbus lookup contained only mapping for PS redundancy disabled, adding the mapping for enabled. Changing the PS redundancy sensor type from D8 to CA. Resolves openbmc/openbmc#2810 Change-Id: I2399ce76a168f63f6a4528cff8aa397ef12d5e1e Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* ipmisensor.cpp: Fix msg from "Undetermine" to "Undetermined"Adriana Kobylak2017-12-051-1/+1
| | | | | Change-Id: If647149928f9bafb0e0c2cfa33485b3f46328733 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* sensorhandler: Refactor find_sensor to eliminate redundant callEmily Shaffer2017-05-191-2/+2
| | | | | | | | find_openbmc_path was being called within find_sensor as well as following find_sensor Change-Id: Ie94eab7afbe34f214a07bda49bfbce729b20f237 Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
* Set the TurboAllowed sensor value correctly.Tom Joseph2017-05-041-1/+1
| | | | | | | | | | Set the TurboAllowed to True for an assertion event and set it to false for a deassertion event. Resolves openbmc/openbmc#1530 Change-Id: I3ee59e8770e75b02cdf83a956439f79779d2760c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Add Sensor reading support for Power Cap.Jayanth Othayoth2017-04-181-0/+2
| | | | | Change-Id: I695c5a7e4da99b6ec1fe3045df91f483b6cad69c Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Add Sensor Reading Support for Power Supply DeratingJayanth Othayoth2017-03-301-1/+3
| | | | | Change-Id: I0eb106c37c33db01937ec61dd5553b5799651633 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* Sensor Reading Support for Turbo AllowedJayanth Othayoth2017-03-281-1/+3
| | | | | Change-Id: Ib2e89383fa1da4d3216ad5c50d257ec973547b71 Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
* IPMI Sensor Support for Power Supply RedundancyDhruvaraj S2017-03-271-1/+1
| | | | | Change-Id: Id475849a77fd18e8f6b05c73f55866aba604c9a7 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
* Refactor the code related to Sensor handlingTom2016-09-231-3/+0
| | | | | | | | | 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>
* ipmid: Change .H -> .hppPatrick Williams2016-09-061-1/+1
| | | | | Change-Id: Ia1ed05a533736105909717b86f16274b30d36401 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Switch C++ source files to .cpp extensionMatthew Barth2016-08-081-0/+302
Change-Id: I495186b4afd58ec1e5d9d5c6472394f96541d17d Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud