summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/watchdog
AgeCommit message (Collapse)AuthorFilesLines
2021-12-21phosphor-watchdog: srcrev bump cf4ce3c171..658527bbddAndrew Geissler1-1/+1
William A. Kennington III (1): mainapp: Terminate cleanly for TERM and INT Change-Id: Iebb6dcbab8d69f74ebf4c59aa9c64e78494a6c27 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-12-14phosphor-watchdog: srcrev bump 6a54155eab..cf4ce3c171Andrew Geissler1-1/+1
Willy Tu (1): phosphor-watchdog: Cleanup CodeChecker Errors Change-Id: I01f9edbda8c43933d4e374480cbad90ba8da2848 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-watchdog: srcrev bump 120bc4ccb7..6a54155eabAndrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: I120d2fe7c07c1715edc9b3e30e1aeaf0b1e7f4d5 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-08phosphor-watchdog: srcrev bump 15c5bd1b60..120bc4ccb7Andrew Geissler1-1/+1
Patrick Williams (1): catch exceptions as const Change-Id: Ideca1db35feee3c97600cc3baff2f53492076203 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-03phosphor-watchdog: srcrev bump 9ef0d0fbac..15c5bd1b60Andrew Geissler1-1/+1
Patrick Williams (1): exception: switch to public sdbus exception Change-Id: I3fcbb54bb70185af9c3c44c93ce0d38a42f4e36d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-4/+4
Upstream bbclasses changed to typically use the `:${PN}` override syntax, including the SYSTEMD_ variables. Change our systemd.bbclass to do the same for consistency and perform a tree-wide variable replacement. Spot checked by building bletchley and witherspoon and checking some of the SYSTEMD_LINK directives on installed packages under qemu. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I20a9dd809bff8af8759488734f80486c7228c6eb
2021-08-11meta-phosphor: prep for new override syntaxPatrick Williams1-3/+3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-08-09phosphor-watchdog: srcrev bump 61bc6cdd56..9ef0d0fbacAndrew Geissler1-1/+1
Willy Tu (1): watchdog: Add signal for timeout event Change-Id: Ib1c65311ebfd6719df0d82513da45e48871e0972 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-07-06phosphor-watchdog: srcrev bump 86e09d749f..61bc6cdd56Andrew Geissler1-1/+1
Jae Hyun Yoo (1): Fix klocwork issues Change-Id: Ib6f2df2da5d74fdd17cd348c100f2296cab314fb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-24phosphor-watchdog: srcrev bump afc369ad54..86e09d749fAndrew Geissler1-1/+1
William A. Kennington III (1): build: Subproject support Change-Id: I0ec138e48a74fc56b36ce79bb31c0cb0812480eb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-05watchdog: utilize new default_interval parameterAndrew Geissler1-1/+1
Commit fb9869ff introduced the concept of passing in a default interval timeout to the watchdog application on startup. This utilized the existing --min_interval option. This worked ok but it limited the ability of external users to reduce the interval. Give the above limitation, a new feature was added to phosphor-watchdog which allows the user to explicitly set the default interval on startup in the following commit: https://github.com/openbmc/phosphor-watchdog/commit/afc369ad548137a5fdb0bc69b6606e2aafa7182b Utilize this new parameter to set the default interval on startup. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ia21dc7bb9dec50f3ec044c6d1733a54bcea15298
2021-06-04phosphor-watchdog: srcrev bump 459b6c798e..afc369ad54Andrew Geissler1-1/+1
Andrew Geissler (1): watchdog: support a default interval parameter Change-Id: I11348e41c7df253ba3569dd09fec629067d187ff Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-27watchdog: pass in default timeout on service startAndrew Geissler2-1/+2
This commit will allow other meta layers to easily override the default timeout on watchdog start. Without passing the --min_interval option there is no way currently for other layers to change this on startup. Set the default of 30000 milliseconds to match the current default defined within the phosphor-dbus-interface. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I6a25d5dd3da5704113c3f77d6f9737e0705b3d01
2021-05-27watchdog: hard code application pathAndrew Geissler1-2/+1
Per OpenBMC direction, hard code the path to the application Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I7dbbc9d8c353bc760d32e9cd106551a8bfab3838
2021-05-13phosphor-watchdog: srcrev bump 42506393a6..459b6c798eAndrew Geissler1-1/+1
William A. Kennington III (1): mainapp: Fix postcode path Change-Id: I2b5c4ff185c6c9043200cc92b7f4c26b8d82818e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-28phosphor-watchdog: srcrev bump 18d3e6525c..42506393a6Andrew Geissler1-1/+1
William A. Kennington III (8): meson: Fixup formatting meson: Remove explicit werror override meson: Propagate watchdog library dependencies meson: Use subprojects where possible meson: Add missing CLI11 check and subproject support meson: Move to c++20 test/watchdog: Remove separate header Move source into src directory Change-Id: If6c06b9c1d03241e0952ad3f1fac154e8249ee3c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-26phosphor-watchdog: srcrev bump 086837596c..18d3e6525cAndrew Geissler1-1/+1
Deepak Kodihalli (1): MAINTAINERS: Remove Deepak William A. Kennington III (1): test/watchdog: Fix multi-object acquisition Change-Id: Icd15f51488e5ac9c7f96b43de02a4720f1514430 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2020-02-26phosphor-watchdog: srcrev bump 2e09bb076a..086837596cAndrew Geissler1-1/+1
Kun Yi (4): Add a test for the fallback reset timer case Fix setting remaining time lower than minInterval Test min interval is used when setting remaining time Fix minInterval option (From meta-phosphor rev: da91a566e009c46d5597b90847897199a735d262) Change-Id: I25068ed1fc187c1b4ad00eb5ff57106863357f7f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-11-13phosphor-watchdog: srcrev bump c35135d32f..2e09bb076aAndrew Geissler1-1/+1
Vishwanatha Subbanna (1): Add vishwa as Maintainer (From meta-phosphor rev: 3b85233981728bb8b6fa7f638a3b55570f86c995) Change-Id: I3849efbfd178d38b840dd3530f2daaa11cc3e1f0 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-29phosphor-watchdog: srcrev bump 9062ed11e4..c35135d32fAndrew Geissler1-1/+1
Ofer Yehielli (1): Implementation of minimum watchdog interval. (From meta-phosphor rev: 76c7997b39fa99f239a5c75de7605fd3d5e706ab) Change-Id: Iccd87f599f1f88f34b0c32cc68038d4d8868fb8a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-06-03phosphor-watchdog: srcrev bump 47a9ec4ee9..9062ed11e4Andrew Geissler1-1/+1
William A. Kennington III (1): autotools: Remove (From meta-phosphor rev: 315ef52cf7eac893097cfbf67e8db0afbe035418) Change-Id: I61da85c05d062e877b1f5ccc40c0df4713066a41 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-19phosphor-watchdog: srcrev bump 26eef26c97..47a9ec4ee9Andrew Geissler1-1/+1
William A. Kennington III (1): watchdog: Log timer use during expiration (From meta-phosphor rev: 991133912e5ffba3a7acee6f57747de5ef780b96) Change-Id: I45ad85af7b2b4e109826096b5ce87a29e6ed8160 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-08phosphor-watchdog: Use meson instead of autotoolsWilliam A. Kennington III1-2/+5
This will allow us to get rid of autotools in the upstream sources. (From meta-phosphor rev: 5fef274d2238a6baae3e865161505a8432e1ed7b) Change-Id: Idbfbd7445ba186555812a6ab29e2e8c97a067c30 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-07phosphor-watchdog: srcrev bump 8c8072aa4a..26eef26c97Andrew Geissler1-1/+1
William A. Kennington III (1): mainapp: Add an option for watching post codes (From meta-phosphor rev: 4fb0ccedabbcdbe474e056d419bd19c7aae96751) Change-Id: I03be2a65ac6a067635c8858ab79f560b20b65643 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-04-02phosphor-watchdog: srcrev bump 50ae4b152b..8c8072aa4aAndrew Geissler1-1/+1
Patrick Venture (1): build: install into bin instead of sbin (From meta-phosphor rev: 1cfa1e6077ec047b62a12c8da16c44323dd0279e) Change-Id: I0b13210c2f578602a5ab9055077e4983e024d66f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28meta-phosphor: Fix explicit dependencies antipatternBrad Bishop1-2/+1
Out of the box bitbake examines built applications, automatically adds runtime dependencies and thus ensures any library packages dependencies are automatically added to images, sdks, etc. There is no need to list them explicitly in a recipe. Dependencies change over time, and listing them explicitly is likely prone to errors - the net effect being unnecessary shared library packages being installed into images. Consult https://www.yoctoproject.org/docs/latest/mega-manual/mega-manual.html#var-RDEPENDS for information on when to use explicit runtime dependencies. (From meta-phosphor rev: 26873c99d30b55e21a920c9851f21c3e2eab19f7) Change-Id: I38640d75a2d834c07d45ddcdb0162f1a23f848d9 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-28phosphor-watchdog: Doesn't depend on sdbus++William A. Kennington III1-1/+1
We don't use the sdbus++ tool so we don't need sdbusplus-native (From meta-phosphor rev: d7d59cf4f4afb7e0ae696364feec38d17ff5abfb) Change-Id: I5dd6668c3d25fba533efe787e036a3d96568722d Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-03-21phosphor-watchdog: srcrev bump b933771042..50ae4b152bAndrew Geissler1-1/+1
Yong Li (1): Set expiredTimerUse when timer expired (From meta-phosphor rev: 5901a04b316621970bb5ea0c43410146b359ae29) Change-Id: Ib8356d19a25f39664a6c9530c6947082e5d70793 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-03-07phosphor-watchdog: srcrev bump 976764158a..b933771042Andrew Geissler1-1/+1
William A. Kennington III (1): meson: Add alternate build system (From meta-phosphor rev: 32db1be03f67120ccaa21a2b0c77a9305c1491f1) Change-Id: I7fd312f0615f0756d128e9cbbc8d4cda2825b908 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-02-14phosphor-watchdog: srcrev bump 5e350795bf..976764158aAndrew Geissler1-1/+1
Patrick Venture (1): build: pkg anti-pattern: use defaults (From meta-phosphor rev: a28bb7596ce15b56c4d5bc6efbbe9a29a6a76240) Change-Id: Ie88c6e4a53449511d09c7c1540dec22c69c49885 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-07phosphor-watchdog: srcrev bump 8cf5f64c9e..5e350795bfAndrew Geissler1-1/+1
William A. Kennington III (2): test/watchdog: Define a time quantum type test/watchdog: Change the time quantum to 0.1s instead of 1s (From meta-phosphor rev: 85fccdb9a651347002db518869ae3a3406aa677c) Change-Id: I9c3d61d002949eed0e77d7f840440c83d5e12d91 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-05phosphor-watchdog: srcrev bump f505fc0674..8cf5f64c9eAndrew Geissler1-1/+1
William A. Kennington III (4): Convert to standard CLI11 argument parser mainapp: Fix missing includes test: Rename watchdog_test to watchdog test/watchdog: Don't use designated initializers (From meta-phosphor rev: 251192c44dc5fa8d70a051b920d9d7597f098f6e) Change-Id: I25e93ba5ba11dc5a818a5314d85a864fce586709 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-02-04phosphor-watchdog: Add cli11 supportWilliam A. Kennington III1-0/+1
Tested: Still build as normal and works to enable support with a manually patched phosphor-watchdog. (From meta-phosphor rev: 95fd2b822ed50bfc08513f4f9d6e0f689dac8ef2) Change-Id: I91f720e10b02390ee4c2fd9c2feb62fb0c77b384 Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-08meta-phosphor: watchdog: rename as git recipePatrick Venture1-1/+2
Rename phosphor-watchdog.bb to phosphor-watchdog_git.bb per OE norms. (From meta-phosphor rev: 4e4a29658911e0c97c6429e4d8f52f95f44c0a87) Change-Id: I3fe36a75f5b3887fff573bad38453e04981d3f4b Signed-off-by: Patrick Venture <venture@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-10-06phosphor-watchdog: srcrev bump d4cbc5aad2..f505fc0674Andrew Geissler1-1/+1
William A. Kennington III (2): watchdog: Handle systemd StartUnit errors Convert to using sdeventplus (From meta-phosphor rev: 1c6a37639553a0c491cb7f5ea545f4a38bffe9ff) Change-Id: Ic1ccdcd091723addbe0abb3e00f660258bcf21ac Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-27phosphor-watchdog: srcrev bump c2c26cebc2..d4cbc5aad2Andrew Geissler1-1/+1
William A. Kennington III (1): test/watchdog: Test interval update (From meta-phosphor rev: 21fd69505a256ea7e130623ec4a08ab76e83cb89) Change-Id: I8c2ee8c942ef01a704f4cb1326dc167121667abb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-25phosphor-watchdog: srcrev bump 3bb2f4006f..c2c26cebc2Andrew Geissler1-1/+1
William A. Kennington III (1): mainapp: Detect duplicate action targets (From meta-phosphor rev: 63233b4f96dc7a7993faa4221184012095f429d8) Change-Id: I3d39a75f61777fbe972952eb631824ebeaf0d7f6 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-24phosphor-watchdog: srcrev bump 8f6c51564d..3bb2f4006fAndrew Geissler1-1/+1
William A. Kennington III (2): Switch to C++17 Standardize Action -> Target Map Type (From meta-phosphor rev: 4c7a80919ffe1d82190c24fc75ad02ffcfd681b3) Change-Id: Ic9d9972d34d4fbccc378d1e59d845f200381e958 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-18phosphor-watchdog: Enable sdeventplus supportWilliam A. Kennington III1-0/+1
An upcoming commit to phosphor-watchdog will require sdeventplus during the build process. Tested: Build still works as expected. Manually patching in the sdeventplus patch works as expected. (From meta-phosphor rev: 6e1dfdd6958f069c20606490ce65ecc5f99da62f) Change-Id: Ib450d12a7f74862ded1288aeea4d2046108281ba Signed-off-by: William A. Kennington III <wak@google.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-14phosphor-watchdog: srcrev bump d5353086a4..8f6c51564dAndrew Geissler1-1/+1
Patrick Venture (1): add .clang-format (From meta-phosphor rev: 2e1b4ea9a2baf789f367fbd5be1b0fefb3a88dbc) Change-Id: I87ad587d03d8babc910dbbb4e70063353433195a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2018-09-06meta-phosphor: Move layer content from common/Brad Bishop5-0/+79
Adopt a more conventional directory hierarchy. meta-phosphor is still a _long_ way from suitable for hosting on yoctoproject.org but things like this don't help. (From meta-phosphor rev: 471cfcefa74b8c7ceb704cb670e6d915cf27c63b) Change-Id: I3f106b2f6cdc6cec734be28a6090800546f362eb Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>