summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/sensors
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23dbus-sensors: srcrev bump 20bf2c1c12..33703af797Andrew Geissler1-1/+1
Lotus Xu (1): psusensor: Add xdpe12284 support Change-Id: I55dff5ce8e43ac7e279c1c231dc9758504fac9d2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-21dbus-sensors: srcrev bump 0c42f40e55..20bf2c1c12Andrew Geissler1-1/+1
Matt Spinler (1): HwmonTempSensor: Watch for InterfacesRemoved Change-Id: Ie4b7734ad2abd4c98d390e46f960c42f582cbd3d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-14dbus-sensors: srcrev bump 5ab424a6a4..0c42f40e55Andrew Geissler1-1/+1
Patrick Williams (2): build: add phosphor-logging dep and wrap logging: replace direct journal calls with lg2 Change-Id: Ib0eedad0b41c9848a09da3313717ca594d5ad59a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-13meta-phosphor: dbus-sensors: add phosphor-logging dependencyPatrick Williams1-1/+8
In prep for Ib408e97ff99863cd91bcbcb43a4738d773f4e21c, add the necessary dependency for phosphor-logging. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I2a67d940da9598250e9884c35006f670f68efc72
2021-09-10dbus-sensors: srcrev bump 5770a6fd6a..5ab424a6a4Andrew Geissler1-1/+1
Ed Tanous (2): Make dbus-sensors compile with clang-13 clang-tidy disable bugprone-narrowing-conversions Change-Id: I078acb48b9c61cdf7ba870fef9bb2de8804bdaa7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-08dbus-sensors: srcrev bump 2932a7bb38..5770a6fd6aAndrew Geissler1-1/+1
Oskar Senft (1): HwmonTempSensor: Add NCT7802 as a valid type. Patrick Williams (1): sensor: remove exception in error path Change-Id: I03d6f783c7baddcd300ab8e106f333ba115e924c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-06phosphor-virtual-sensor: srcrev bump fbd7145e2d..74c1e7d8c5Andrew Geissler1-1/+1
Patrick Williams (1): exception: switch to public sdbus exception Change-Id: I9a295ce898deeb448c70c23ad58ca744aa68c194 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-31meta-phosphor: switch EXTRA_OEMESON to use override syntaxPatrick Williams1-1/+1
It was observed that we have different approaches to modifying the EXTRA_OEMESON variable across our recipes. The bitbake manual implies that override syntax (":append") is slightly better and the poky meson bbclass also prefers it: meta/classes/meson.bbclass:EXTRA_OEMESON:append = " ${PACKAGECONFIG_CONFARGS}" Switch all recipes to use the ":append" override syntax for the EXTRA_OEMESON variable. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I24e9a27a87c61f374acfb03a63955821fce0dd20
2021-08-31dbus-sensors: srcrev bump d653b75cd1..2932a7bb38Andrew Geissler1-1/+1
Konstantin Aladyshev (1): psusensor: Add support for the 'PowerState' parameter Patrick Williams (6): build: add wrapfile for libgpiod .gitignore: update for meson conversion build: add wrapfile for nlohmann-json build: use nlohmann-json dependency build: DRY dependencies meson: enable tests by default Change-Id: Id0ee24448119de89342edb97eda827f3b74e1c4c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-31meta-phosphor: dbus-sensors: disable tests by defaultPatrick Williams1-1/+1
Set the OE variable to add extra meson options properly. Fixes 57272ae3079bd1882ad952283e649fd51a2b91f5. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I061534a7c86a42999f2db0a1f5888f1b7a0f2573
2021-08-31phosphor-nvme: srcrev bump e9f34c71a5..e528b0ae32Andrew Geissler1-1/+1
Chanh Nguyen (1): nvme_manager: Add checking the inventory changing Change-Id: I57b3697df91bea6fc249b30ceb7bd13636ecb395 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-31phosphor-virtual-sensor: srcrev bump 1dff7dceb9..fbd7145e2dAndrew Geissler1-1/+1
Patrick Williams (4): clang-format: sync latest from docs build: set optimization and compile warnings logging: switch to lg2 logging: switch debug statements to lg2 Change-Id: Ia925f28d219a8da69f3d809811b9e6f8e9aa70aa Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-30meta-phosphor: dbus-sensors: disable tests by defaultPatrick Williams1-0/+1
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4b2c1b2a5b02a241b106e6eb1dd377708c1c337e
2021-08-24dbus-sensors: srcrev bump f1ace50bbb..d653b75cd1Andrew Geissler1-1/+1
Bruce Mitchell (1): Corrects bug in using boost::container erase() Change-Id: I7054ab9df096aa592aa0eaeb1c42a96b7803c976 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18phosphor-nvme: srcrev bump 31c3a2f7c9..e9f34c71a5Andrew Geissler1-1/+1
Brandon Kim (1): Add Brandon Kim as MAINTAINERS Change-Id: I5a61d3fb467fa724207ef7b2c3c162bb1010b1f4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-18dbus-sensors: srcrev bump 5cf0f99210..f1ace50bbbAndrew Geissler1-1/+1
Avenash Asai Thambi (1): PSUSensorMain.cpp: Add support for ADM1266 device. Bruce Mitchell (1): Compute IIO reading from raw with offset and scale Change-Id: I09df7e710ef4f24130790e7a423f8a644c02162c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-12phosphor-virtual-sensor: srcrev bump 4ac7a7f28e..1dff7dceb9Andrew Geissler1-1/+1
Rashmica Gupta (6): Defer emitting InterfacesAdded signal until ready virtual-sensor: Add ability to read a config from dbus Use direct initialisation Add a modified median calculation README: add config via D-Bus Support threshold hysteresis Change-Id: Idd686cd6a0a1ad8d5167215e467549ce5bc7d829 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams5-21/+21
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-08-09phosphor-nvme: srcrev bump be3439961f..31c3a2f7c9Andrew Geissler1-1/+1
George Hung (1): Filter meaningless characters for reading NVMe model name Change-Id: Ia234010e85a4b5c965e925f95a6a89a205c1a95f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-30dbus-sensors: srcrev bump 913d4d00c0..5cf0f99210Andrew Geissler1-1/+1
Basheer Ahmed Muddebihal (1): Fix for airflow sensor interface path Bruce Mitchell (1): Change fanName to sensorName as this is a sensor Change-Id: I50d0f413c0a3e269a966c7b67b22addfae91dc9e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-28phosphor-hwmon: srcrev bump 9c4053455f..04da055198Andrew Geissler1-1/+1
Thang Q. Nguyen (1): sensor: accept single sensor threshold Change-Id: Ide82a487fb233e12fb16e7d757678f99cb903d74 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-23dbus-sensors: srcrev bump 3453354b83..913d4d00c0Andrew Geissler1-1/+1
Bruce Lee (1): Add setupManufacturingModeMatch Ed Tanous (2): Add OWNERS file Andrew has volunteered to maintain nvme Change-Id: If78f04e109e03eb72e539fb251e072154f46462d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-21dbus-sensors: srcrev bump a734594924..3453354b83Andrew Geissler1-1/+1
Jayashree-D (1): IpmbSensor : Add PollRate property. Paul Fertser (1): PSUSensor: improve error logging Thu Ba Nguyen (1): dbus-sensors: Change the host state match string Change-Id: I0ab8675afde57fbe5ecfe0fd1bc668bb1ab7e689 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-19dbus-sensors: srcrev bump 7170a235f9..a734594924Andrew Geissler1-1/+1
Bruce Mitchell (1): dbus-sensors: add Pascals to allowlist for units Jeff Lin (1): PSUSensor: Add Offset attribute Konstantin Aladyshev (1): hwmontemp: respect 'PowerState' parameter Change-Id: I0920ff7691dbad52568b484813bac1bd3f53ae4a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-14dbus-sensors: srcrev bump e76a5a6df5..7170a235f9Andrew Geissler1-1/+1
Lei YU (1): psusensor: Use configurable read interval Change-Id: Ic502625a075ef7dc1f17653a0b8b43cec61484a0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-13dbus-sensors: srcrev bump f72eb8324e..e76a5a6df5Andrew Geissler1-1/+1
Zhikui Ren (1): fix klocwork issues: Add return 0 for int main() Change-Id: Id410d75c07c81bc5ae4c6137fe4a0321f236d310 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-09phosphor-virtual-sensor: srcrev bump 67d8b9d265..4ac7a7f28eAndrew Geissler1-1/+1
Rashmica Gupta (1): Add pressure to unit list Change-Id: I8490341adeee86003e9db3453996a1cb9f2e7cd7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-08dbus-sensors: srcrev bump 8685b17ab1..f72eb8324eAndrew Geissler1-1/+1
Kuiying Wang (1): Ensure PSU sensor values are refreshed Zev Weiss (1): adcsensor: make BridgeGpio setup time configurable Change-Id: If7a9c926785149e43e584c6dc917dc466812db61 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-07phosphor-virtual-sensor: srcrev bump 1846d8225c..67d8b9d265Andrew Geissler1-1/+1
Rashmica Gupta (2): Replace spaces in sensor name with underscores Add check for sensor with same name Change-Id: I41ab7a1c48430e7f9fc1230a23c52dd7b8c1e459 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-06phosphor-nvme: srcrev bump 5e23bcde0a..be3439961fAndrew Geissler1-1/+1
George Hung (1): Fix missing to set WCTEMP to the threshold of config instance Change-Id: Icdfdc72d85669674f94927853e118bf3e5e5a451 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-02phosphor-nvme: srcrev bump 9ebfa481ce..5e23bcde0aAndrew Geissler1-1/+1
George Hung (1): Fix static unordered_map may lead to segfault issue Change-Id: I10268061741646d4c6593c41fcae548d2e053bab Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-01dbus-sensors: srcrev bump 18fffd3d4d..8685b17ab1Andrew Geissler1-1/+1
Zhikui Ren (1): fix klockwork issues Change-Id: I36704064ac9aa4a6c1782f83d27a169ba2f6021f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-24phosphor-virtual-sensor: srcrev bump 0fcf0e1ca1..1846d8225cAndrew Geissler1-1/+1
Patrick Williams (1): logging: remove spaces in entry definition Rashmica Gupta (1): add create_threshold function Change-Id: I7976f9f231ea62746aaf147c56d68c75b5195774 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-21dbus-sensors: srcrev bump 12c2c0ef53..18fffd3d4dAndrew Geissler1-1/+1
Andrew Jeffery (1): NVMeSensor: Fix ordering of member initializer list Change-Id: Ib810726969399e70d4bdd63a1200310cedbe5d31 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-18dbus-sensors: srcrev bump 1263c3dad3..12c2c0ef53Andrew Geissler1-1/+1
Zhikui Ren (1): ThresholdTimer: use weak_ptr in async callback Change-Id: I7861205f4d12241737d68a9e8fe5fbdb4893e847 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-18phosphor-nvme: srcrev bump d5838d1bbb..9ebfa481ceAndrew Geissler1-1/+1
George Hung (1): Emit the threshold alarm signals to trigger SEL logs Change-Id: I2489df9e780f59d2d93fe9ea0b8914ae718d999f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-08dbus-sensors: srcrev bump 2f20c5ab30..1263c3dad3Andrew Geissler1-1/+1
Bruce Lee (1): Modify set-value function from external Change-Id: Icdfbc161182019cd2b23deb46baf552b220efa8d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-08phosphor-virtual-sensor: srcrev bump 543bf66877..0fcf0e1ca1Andrew Geissler1-1/+1
Lei YU (1): Add association interface Change-Id: I974cf74f9dffb6aac4851eb2a6d3b90e31dd0551 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-04phosphor-hwmon: Disable building testsWilliam A. Kennington III1-0/+2
We don't yet support turning on ptest so we are wasting cycles building them. Change-Id: Ica6d2f7f6b99900889c1ff8b69073677c1f65f81 Signed-off-by: William A. Kennington III <wak@google.com>
2021-06-04dbus-sensors: srcrev bump 9702c9d175..2f20c5ab30Andrew Geissler1-1/+1
Andrew Jeffery (16): NVMeSensor: Fix -Wreorder warnings nvmesensor: Link against liblibmctp NVMeSensor: Drop libmctp include from header NVMeSensor: Mark internal functions static NVMeSensor: Split out NVMeContext NVMeContext: Improve encapsulation of state NVMeContext: Split out NVMeMCTPContext NVMeSensorMain: Fix clang-tidy bugprone-narrowing-conversion issue NVMeSensorMain: Fix clang-tidy performance-faster-string-find issue NVMeSensorMain: Fix clang-tidy readability-else-after-return issue Suppress clang-tidy warning for C++20 meson: Upgrade to C++20 meson: Note why libi2c is discovered by find_library() meson: Add sdbusplus as a dependency of static libraries meson: Add sdbusplus as a subproject meson: Add googletest as a subproject Change-Id: I26295b4c371f1ff0e958106825c93a98c89030db Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-02phosphor-hwmon: srcrev bump e32ce16bb6..9c4053455fAndrew Geissler1-1/+1
William A. Kennington III (1): build: test: Fix invalid variable Change-Id: I9b597c8587a4739e1382103093f1125dff71f166 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-27dbus-sensors: srcrev bump 13b63f8f59..9702c9d175Andrew Geissler1-1/+1
Zev Weiss (1): cpusensor: access inventoryIfaces by reference instead of by value Change-Id: I2a93803480fb721a27f9a004e445799b1079a96b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-21phosphor-nvme: srcrev bump fdffe5c37f..d5838d1bbbAndrew Geissler1-1/+1
Brandon Kim (1): Fix implicit includes and follow c++ style cast George Hung (1): Initialize the wctemp/modelNumber of struct NVMeData Change-Id: I78a6018f834718d25f73dd1fdd212be5f3e46333 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-13dbus-sensors: srcrev bump 5636d52baa..13b63f8f59Andrew Geissler1-1/+1
Ed Tanous (1): Make a string copy explicit Change-Id: I9382a6f95dba77b24b02b693e834a0ebf90f0357 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-12phosphor-hwmon: srcrev bump 6d50c3e9e1..e32ce16bb6Andrew Geissler1-1/+1
Matt Spinler (1): Hardcode SensorValueType to double Change-Id: I63d4962194e4767e261b9edc3e9f2f927e216d98 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-12phosphor-hwmon: conditionally run generator functionAnton D. Kachalov1-23/+22
The pkg_postinst is not running as a separate function. To allow "_append" routines do conditional checks instead of "exit". Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: Ia82ce0a2454198035b6ae7585bb04885d8e1e238
2021-05-12dbus-sensors: srcrev bump b89967ffa4..5636d52baaAndrew Geissler1-1/+1
Matt Spinler (1): HwmonTempSensor: Thresholds for multi-temp devices Change-Id: I76b041795105aad2ade058bc8931716865edaa93 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-08phosphor-hwmon: srcrev bump d46d081895..6d50c3e9e1Andrew Geissler1-1/+1
Brandon Kim (1): sensor: Implement sensor "ASYNC_READ_TIMEOUT" Change-Id: I6e9d043837b4e267f969f3939db876b2c38cd479 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-07phosphor-hwmon: srcrev bump d46d08 | create busconfig based on env cfgAnton D. Kachalov1-1/+49
Anton D. Kachalov (1): Add sensor instance id command line argument. This change will generate busconfig ACLs from the provided hwmon environment files from /etc/default/obmc/hwmon that will be supplied as "sensor-id" argument to hwmon daemon. This change required as a part of privilege separation work: https://github.com/openbmc/openbmc/issues/3383 This change should be merged after individual repo change: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/40214 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I37c31d6f2f74041bfee453bdf338d4c7e148c791
2021-05-07phosphor-hwmon: install configs from repoAnton D. Kachalov6-67/+7
Use meson to build the package. This change required as a part of privilege separation work: https://github.com/openbmc/openbmc/issues/3383 This change should be merged after individual repo change: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-hwmon/+/40277 Signed-off-by: Anton D. Kachalov <gmouse@google.com> Change-Id: I542645d55b8646e0ddb3fb95f50a1cd87334706e