summaryrefslogtreecommitdiffstats
path: root/systemintfcmds.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Make host command manager accessible by OpenPower OEMVishwanatha Subbanna2017-08-141-1/+1
| | | | | | | | | Since OpenPower Host IPMI OEM also needs to use the Host Command manager, need to place the files in appropriate directories and make needed changes. Change-Id: I7536a0ff1e53a844ec05f73c4e0605cbf4341465 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Use Host Command Manager in host interface implementationVishwanatha Subbanna2017-08-141-38/+22
| | | | | Change-Id: Icefce510a3a0022bf0288fa99518459b732a2e04 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Update softoff to support new host control interfaceAndrew Geissler2017-05-191-41/+0
| | | | | | | | | The new host control design requires applications use its new dbus interfaces to interact with the host. This commit moves the softoff application over to this new interface. Change-Id: I3c6830a59d72df1f112ee7a63a08bfca53375bf7 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Set init_priority attribute for global/static variablesLei YU2017-05-161-8/+8
| | | | | | | | | | | | The initialization order of global/static variables and functions with constructor attribute is unspecified. Set init_priority attribute to specify the initialization order. Resolves openbmc/openbmc#1581 Change-Id: Ia85804b3b9e537e0f32b712a3ce92e7d0be554b2 Signed-off-by: Lei YU <mine260309@gmail.com>
* Add timeout support to host controlAndrew Geissler2017-05-091-1/+5
| | | | | | | On timeout, send error signal for all commands within the queue Change-Id: Ic995fd4b057bd83f121a3deec405a26e0991e9a2 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Implement basic queue for sending multiple commandsAndrew Geissler2017-05-091-28/+76
| | | | | | | Sends dbus signal upon completion of command Change-Id: Ic507f35af0b38305eecd5558c55738f2d283aac5 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* IPMI: Update the dbus object for soft power off with underscoresVishwanatha Subbanna2017-04-041-4/+3
| | | | | | | Fixes openbmc/phosphor-host-ipmid#102 Change-Id: I3e7456401b7265a51578f9aa08bef2ae3f326849 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Make IPMI changes to stop timer that is started by SoftPowerOffVishwanatha Subbanna2017-03-241-0/+38
| | | | | | | | | As part of Soft Power Off, there may be a timer that would be running. This patch will stop the timer when IPMI daemon receives response from host for SoftPowerOff sequence of commands. Change-Id: Idacbff36444629623f8754de3d81d292ca19bb85 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add privilege level for each IPMI commandTom2017-01-171-3/+5
| | | | | Change-Id: I07f160c6ea83dc91f46e21f263c4cf994aff081d Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Create library for System Interface Commands.Tom2017-01-171-0/+109
There are IPMI commands like Read Event Message Buffer, Set BMC Global Enables and Get Message Flags which is to be executed from host interface only. So creating a separate library for these commands which would be used only by phosphor-host-ipmid. Change-Id: I14cb4019b9ab19c84e463e5a7820010f57f1c5eb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
OpenPOWER on IntegriCloud