commit | e289100ec0dc9944439092d1d8f97de8123ed9c6 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@us.ibm.com> | Fri Jun 01 10:21:48 2018 -0500 |
committer | Patrick Venture <venture@google.com> | Fri Jun 01 22:33:47 2018 +0000 |
tree | 38d4cb3349179c8510b442d9a93c99a8c2f808ba | |
parent | cb3daafb5681ef8359563fb04d8545f2ecb83c92 [diff] |
Add EMSGSIZE to the list of retryable errors Some devices return -EMSGSIZE if the hardware is being powered off in a normal manner, as incomplete data is received. Retrying allows time for the system to clean up driver devices, or in the event of a real failure, attempt to get the rest of the data. Resolves openbmc/openbmc#3226 Change-Id: Ib507acf4cbd4094e4369e15b8519058c57a74bc2 Signed-off-by: Eddie James <eajames@us.ibm.com>
Exposes generic hwmon entries as DBus objects.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.