summaryrefslogtreecommitdiffstats
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Increase timeout for host to respond to attentionsAndrew Geissler2018-01-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenBMC is dealing with some performance issues right after a reboot. Systemd does almost too good a job at parallelizing all of the services which causes a 6X hit on the processor during the initial boot once mapper is ready. In situations where the BMC is rebooted when the host is up, this performance issue coupled with errors queued up by the host to send down to the BMC, can cause OpenBMC to exceed its current 3 second timeout for attentions. This initial message from OpenBMC to the host is done to check if the host is running. If the message times out then it's assumed the host is not running which causes all sorts of issues for the system. Testing has shown it can take up to 10 seconds for the path to complete. Given the uncertainty of future performance, the unknowns on how many errors the host may have queued up, and the minimal impact a larger timeout has, this commit is increasing the timeout to 30 seconds. Resolves openbmc/openbmc#2832 Change-Id: I0d1baf601b6441a149e786e1f5de607862d86a52 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
* multiple-channel configuration via yamlPatrick Venture2018-01-171-0/+4
| | | | | | | | | Handles converting a yaml file mapping IPMI channel to ethernet device and using this instead of a hard-coded map. Change-Id: Iedfe7cb52a2d0663b9c8a0f6f9d37fe733b63a58 Signed-off-by: Patrick Venture <venture@google.com>
* Increase host shutdown timeout to 45 minutesAndrew Geissler2017-08-231-2/+2
| | | | | | | | | | | | | A fully loaded system can cause the OS to take up to 45 minutes to properly shut down Removed "quiesce" from the description of the timeout since that is used elsewhere for error paths Resolves openbmc/openbmc#2162 Change-Id: I3800ca8e3bb063be6e5d396fac066014dcce7577 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Make host command manager accessible by OpenPower OEMVishwanatha Subbanna2017-08-141-0/+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-5/+11
| | | | | Change-Id: Icefce510a3a0022bf0288fa99518459b732a2e04 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add API to retrieve settingsDeepak Kodihalli2017-07-311-0/+2
| | | | | | | Add API to retrieve and cache settings objects of interest. Change-Id: I8afd58b5b3e9a691e4d3fa6bfba2ba5c92cd2568 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
* rename example yaml file for fru readMarri Devender Rao2017-07-251-1/+1
| | | | | Change-Id: I06dd388ff6060319a21f16ee58a1bcc7379c98a6 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Convert a log entry into a SEL recordTom Joseph2017-07-081-0/+4
| | | | | | | | | | | | Check the DBUS logging entry for callout associations, if there is a mapping between the inventory path and sensor number then populate the SEL record. Otherwise log a SEL against the sytem event sensor. Resolves openbmc/openbmc#1516 Change-Id: I516bdac70cf39260af1744a9cdb118d763009bd5 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* generate map of phosphor-dbus fru propertiesMarri Devender Rao2017-06-261-0/+4
| | | | | | | | | | Reusing frup.hpp, example.yaml, fru-gen.py, writefru.mako.cpp from ipmi-fru-gen repository to generate map of frup properties. Generated map facilitates in reading data from the inventory. Change-Id: I6d6dbc55a340dd06b4639f8bded8cc09df815a59 Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
* Reduce host shutdown timeout to 5 minutesAndrew Geissler2017-06-201-1/+1
| | | | | | | Resolves openbmc/openbmc#1823 Change-Id: I00fbf03561046be34fa8f1bd3039fbffe575737f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Create file to indicate host requested off/rebootAndrew Geissler2017-06-061-0/+13
| | | | | | | | | | Create a file to ensure the soft power off service is not run when the host is requesting a power off or reboot. There's no need to notify the host (i.e. soft power off) when they are initiating it. Change-Id: Ic9f8e7110d30f477ceae38bba9d684559d9503d3 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* Makefile changes for generating inventory-sensor-gen.cppTom Joseph2017-05-191-0/+4
| | | | | | | | | Provide capability for the recipe to pass the config yaml as a configurable output. Fallback to inventory-sensor-example.yaml in case no config yaml is passed. Change-Id: I6a069b0925c3e4c4d56bd1c9767b8fadcdf433b4 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Register new Control.Host bus in ipmidAndrew Geissler2017-05-091-0/+13
| | | | | | | | This sets up the framework for future commits to implement the required interfaces and signals in Control.Host Change-Id: I43cd7d3047ed9cfbf1a01e7ba3a0310e9d47c307 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
* IPMI: Update the dbus object for soft power off with underscoresVishwanatha Subbanna2017-04-041-1/+1
| | | | | | | Fixes openbmc/phosphor-host-ipmid#102 Change-Id: I3e7456401b7265a51578f9aa08bef2ae3f326849 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add gtest cases to verify sd_event timerVishwanatha Subbanna2017-03-271-1/+1
| | | | | Change-Id: I6db746adc969a322f463c00143938c7c2339ff86 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Handle response from host for soft power off requestVishwanatha Subbanna2017-03-271-0/+3
| | | | | Change-Id: Ia923eff57f855dc88cb04db13590ae1a58a502fd Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add routines to start and stop the sd_event timerVishwanatha Subbanna2017-03-271-0/+4
| | | | | Change-Id: I738be7b70554125e544aa59fe1770e909d3dffb1 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add initial code for IPMI SoftPowerOff functionalityVishwanatha Subbanna2017-03-221-4/+35
| | | | | | | | This commit puts a skeleton layout for the IPMI Soft Power Off functionality. Change-Id: I7c3ededc9d4038e172d7f6230270ecfe397330e9 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* build : provide sensor yaml as configRatan Gupta2017-03-151-0/+4
| | | | | | | | | | Make it possible for the phosphor-host-ipmid recipe to be able to supply the sensor YAML as configurable input. Use sensor-example.yaml as input. Change-Id: Iefbfeeff5561e6e90543fc7a69c04aeee5e76dd1 Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
* Update chassis command handler to use state manager servicesVishwanatha Subbanna2017-03-071-0/+1
| | | | | | | | | | | Until now, IPMI chassis command handler was utilising services from chassis_control script and this patch makes a transition to use the services from the latest State Manager daemon. Fixes openbmc/openbmc#1238 Change-Id: Ic075971bbda44829a3ebe9c0c1de3053a8e97cfa Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
* Add environment variable for WHITELIST_CONFTom Joseph2017-02-211-0/+5
| | | | | Change-Id: Ib9bb50332c4203ccbbe72e3e5b9e641a51bdacbb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
* Create a SEL error logAdriana Kobylak2017-02-161-0/+1
| | | | | | | | Log the SEL data to the journal and call the commit interface to write the error log with the data. Change-Id: Ifcb842e37f2fdb14f80ab24651d565da05da47bf Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
* Halt configure step on libmapper missingMatthew Barth2016-11-091-1/+1
| | | | | | | Resolves openbmc/phosphor-host-ipmid#100 Change-Id: I6003829eaee5330ff62b239166be428b4ff43991 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Propose and implement unit test frameworkMatthew Barth2016-09-281-2/+28
| | | | | | | Enable use of GoogleTest and created a sample unit test case. Change-Id: Ie370745a32777d4ed81ee24145364029c8e7bf02 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
* Minor reorder and simplification of autotools filesPatrick Williams2016-09-021-5/+3
| | | | | Change-Id: I55db0cf7f6041890564f557c98286c8b4bde80cb Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
* Convert build process to autotoolsMatthew Barth2016-09-021-0/+31
Replaced the use of manual Makefile(s) with the use of autotools to automatically verify and generate the necessary build files. Follow the steps outlined within the README file to build the package. Change-Id: Ia3e1e1be7b18fb90382fd56f555866120ae5ece9 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
OpenPOWER on IntegriCloud