summaryrefslogtreecommitdiff
path: root/meta-phosphor/recipes-phosphor/state
AgeCommit message (Collapse)AuthorFilesLines
2021-12-18phosphor-post-code-manager: srcrev bump 84855abe9e..de8d3a537fAndrew Geissler1-1/+1
Manojkiran Eda (1): Fix static analysis & cppcheck issues Change-Id: Ie75d99035a4c0763247c140cafe9248f2f09e18c Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-12-17post-code-manager : Switch to meson build system & BumpManojkiran Eda1-6/+6
Tested By: Was able to sucessfully build post-code-manager using meson & was able to see that the daemon is working as before on a BMC. Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com> Change-Id: I4cf90fc8bf0a3350b944d5ef94fa131cb6f1c35f
2021-12-17phosphor-post-code-manager: srcrev bump 9ce5a645f5..c4440ebefbAndrew Geissler1-1/+1
Manojkiran Eda (2): Drop experimental::filesystem Fix unused variables error Change-Id: I757a4e07f579df1fb121afc76e2ff7963ab70297 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-12-09phosphor-state-manager: srcrev bump 1e89e62283..68a8c31d82Andrew Geissler1-1/+1
Andrew Geissler (3): host-restart: ensure reason cleared on host stop host-restart: set restart reason on power policy use host-restart: set restart reason on scheduling use Change-Id: Ib4fb725feb3459b4bc34a6c15c30d84a07952b75 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-30phosphor-post-code-manager: srcrev bump 90e767334b..9ce5a645f5Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Ie4e88dda3f8fbb12f22a6f045f02823de43a5d1a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-28phosphor-post-code-manager: srcrev bump aed7b3de09..90e767334bAndrew Geissler1-1/+1
Patrick Williams (2): catch exceptions as const MAINTAINERS: fix syntax Change-Id: I0033cb14e5b363027ba70fbe9e631e7df87e99e3 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-27phosphor-state-manager: srcrev bump 8583b3b93d..1e89e62283Andrew Geissler1-1/+1
Manojkiran Eda (1): Add OWNERS file Change-Id: Ib633329b7e709919fd47053785ed9e59ded7d6e9 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-09phosphor-state-manager: srcrev bump 4328479f43..8583b3b93dAndrew Geissler1-1/+2
Ben Tyner (1): Chassis: Check for standby voltage regulator fault Patrick Williams (1): catch exceptions as const Change-Id: I0ff4195f0c5330674417f74a2c3908d74bb6e2ae Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-10-05phosphor-state-manager: srcrev bump 8ffdb26928..4328479f43Andrew Geissler1-1/+1
Andrew Geissler (2): clang: do not break string literals state-manager: avoid un-needed reboot prop check Change-Id: I3043b64233b076a602b05011c8a2468191e67b05 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-28phosphor-state-manager: srcrev bump 5f8e04a6e1..8ffdb26928Andrew Geissler1-1/+1
Andrew Geissler (1): lg2: convert state-manager Change-Id: If2f690dc21737ce681d22c939376691109ad9d79 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-20phosphor-state-manager: srcrev bump 2bfb1efc4b..5f8e04a6e1Andrew Geissler2-1/+13
Andrew Geissler (6): lg2: convert bmc state manager bmc-reset: check host boot progress prior to reset bmc-reset: create error if host was running bmc-reset: ensure chassis power on target complete bmc-reset: move to quiesce if host was running bmc-reset: add service to launch new host recovery Add new service to install image Change-Id: I2b3aa0c8c80450295e7884ece74ad9729d3bd66e Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-15phosphor-state-manager: srcrev bump 0a675215d6..2bfb1efc4bAndrew Geissler1-1/+1
Tim Lee (1): bmc-state-manager: Add support BMC Reboot Cause feature Change-Id: I1758df4efde9dec8981c400d95bee740cf1737a7 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-03phosphor-state-manager: srcrev bump 0d1c3f1f93..0a675215d6Andrew Geissler1-1/+1
Patrick Williams (2): cleanup sdbus CAMELCASE define exception: switch to public sdbus exception Change-Id: Id83d11975ab09247c61b488f713d4c319bd4cde8 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-09-02meta-phosphor: change systemd.bbclass to match upstream override syntaxPatrick Williams1-6/+6
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-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-11meta-phosphor: prep for new override syntaxPatrick Williams3-37/+37
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I588025b614416c43aa2d053765ab53bacf890cb5
2021-08-10host-check: check host state on startup of host managerAndrew Geissler2-16/+1
See this commit for more info on function and testing: https://github.com/openbmc/phosphor-state-manager/commit/0d1c3f1f9329c853677f0581287afef83eeea0f0 phosphor-state-manager: srcrev bump 65bfcf5792..0d1c3f1f93 Andrew Geissler (1): host-check: discover host state within state manager Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I04129b1838118efceb1d073539d01d6e1af99eec
2021-07-13phosphor-state-manager: srcrev bump and remove obmc-mapper.targetLei YU1-2/+1
The obmc-mapper.target is removed from the repo and will be installed in another openbmc recipe. Bump the srcrev cd0ebe867b..3ac78dfd6e and remove the obmc-mapper.target from its recipe. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: If01074d52db9690e1b74cc63eed6eceb3e850f60
2021-06-21phosphor-post-code-manager: srcrev bump b84fea4efe..aed7b3de09Andrew Geissler1-1/+1
Manojkiran Eda (1): Make MaxBootCycleCount Configurable Change-Id: Iab04dad507cfaa5152ccabd8d4e3034165f49722 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-17phosphor-post-code-manager: srcrev bump 0171dd6bce..b84fea4efeAndrew Geissler1-1/+1
Ravi Teja (1): Fix DeleteAll to set boot count 0 Change-Id: I5784117931029d90aec6d73be517ca4d9443e9ab Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-08phosphor-state-manager: srcrev bump cd0ebe867b..3ac78dfd6eAndrew Geissler1-1/+1
Andrew Geissler (1): transition: ensure only run once per power on/off Change-Id: I0f55398a0790ae99603cc39676137f86a396b2e2 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-06-05phosphor-state-manager: Disable building testsWilliam A. Kennington III1-0/+2
We don't yet use ptest so we are wasting cycles building tests Change-Id: I5e6031b94f2ef3c5319e7990d06d3dde46282222 Signed-off-by: William A. Kennington III <wak@google.com>
2021-05-21phosphor-state-manager: srcrev bump 2d7b69e054..cd0ebe867bAndrew Geissler1-1/+1
Andrew Geissler (3): host-check: remove wants on ipmid host-check: ensure runs after pldmd service starts host-cond: handle mapper delay for d-bus objects Change-Id: I924d7ddd23c1b0f3cfba69bfe8bf2e2134c1c732 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-15phosphor-state-manager: srcrev bump cfc43be2a0..2d7b69e054Andrew Geissler1-1/+1
Andrew Geissler (1): host-condition: update host-check to utilize new intf Change-Id: Ic6276d4fecb1b4218d809f469067805fa42bb757 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-12phosphor-state-manager: srcrev bump 45a1ed71bc..cfc43be2a0Andrew Geissler1-1/+1
Bruce Mitchell (1): Replace IRC with Discord Change-Id: If72b9ac98aff6e801a2c8fc33f49e67fd34473ba Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-05-04phosphor-state-manager: srcrev bump aaa2e11057..45a1ed71bcAndrew Geissler1-1/+1
Patrick Williams (1): use new sdbus++ camelcase for POHCounter Change-Id: Ia7af3db049ecfbeaeb33c50f9b6634793a5b52ae Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-26phosphor-state-manager: srcrev bump 525478053c..aaa2e11057Andrew Geissler1-1/+1
Andrew Geissler (1): sched-host-tran: change info trace to debug Change-Id: I51e4aae2d2b3b08f691a39628ea520eb285ab87a Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-22phosphor-post-code-manager: srcrev bump 84a4c19c48..0171dd6bceAndrew Geissler1-1/+1
Alan Kuo (1): Add the BIOSPostCode events into the BMCWeb EventService Change-Id: Icd1d25abf1ca9961b32c982261909145bb1fc655 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-04-15phosphor-state-manager: srcrev bump 4a4c1a6943..525478053cAndrew Geissler1-1/+3
Patrick Williams (2): obmcutil: fix shellcheck issues enable shellcheck Change-Id: I3473c064b88f2df04b58ce7b9a8b910aa783711f Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-24phosphor-state-manager: srcrev bump a59fca489e..4a4c1a6943Andrew Geissler1-1/+1
Andrew Geissler (4): clear temp reset file on host running clear temp reset file on chassis on remove host@%d-on from config options update documentation on clearing of *-on files Change-Id: Ibed6a41d5bb6a542e2127d21b51d05a19c7e9f19 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-19phosphor-state-manager: srcrev bump 35ca2e34cd..a59fca489eAndrew Geissler1-1/+1
Andrew Geissler (1): reduce scheduled host transition logging Change-Id: Ib7473e024734bd1e834308bd5d50df6106700b3b Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-12Bump the changes related to post codesAndrew Geissler1-1/+1
PDI : Change the signature of Raw PostCode property Change Post codes signature to contain Secondary Code phosphor-host-postd: Fix code to consume the secondary code phosphor-post-code-manager: Add logic for supporting the secondary post codes fb-ipmi-oem : Fix the dbus signature used for setting postcodes Change-Id: I503eb5ebb70f4f8200a0e6e6f9ff6c052075d2e4 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-03-04phosphor-state-manager: srcrev bump 75f38ee42d..35ca2e34cdAndrew Geissler1-1/+1
Andrew Geissler (1): power-restore: one-time support Change-Id: I1d64fe88b371a64b552d0f17766e562761d98eff Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-02-26phosphor-post-code-manager: srcrev bump fd45f78858..08125ca77fAndrew Geissler1-1/+1
Jonathan Doman (1): Update D-Bus names per design Change-Id: I811757d7670afd083a2ef1c382cea1314f3ee767 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-02-25hypervisor: introduce new package for state managerAndrew Geissler1-1/+5
This new phosphor-state-manager package allows a user to track the state of their hypervisor firmware. This new software utilizes the BootProgress property to determine the hypervisor state and relies on a different software entity (for example PLDM) to monitor state requests and send the appropriate messages to the hypervisor firmware. Includes the autobump which has the new function: phosphor-state-manager: srcrev bump 58477b5287..75f38ee42d Andrew Geissler (3): hypervisor: state management support hypervisor: monitor boot progress hypervisor: reset requested host state on power off Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I4c4bfc06db3b38b114c28692db808cffceff628a
2021-01-30phosphor-state-manager: srcrev bump 1e8b164f7b..58477b5287Andrew Geissler1-1/+1
Andrew Geissler (3): synch targets: ensure wants relationship ensure synch targets started by execution targets clarify power stop and start targets Change-Id: I5bc45f3ec1467edfbb3f47182dbca9e1d7cfa872 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com>
2021-01-13remove quiesce target from crashAndrew Geissler1-1/+1
The host crash and quiesce design is being refactored a bit to allow for a more generic implementation. For example, in some cases it's desired to go from the crash to diagnostic to quiesce targets vs. directly from crash to quiesce as done now. Leave it to the system policy recipes to set these targets relationships as they see fit. Tested: - Verified with all commits in this Topic that the witherspoon system has the same service layout as before and the rainier system has the new layout (crash used for mpipl) (From meta-phosphor rev: 3a20d587cb274756624214a0ee6a9e1d94142bc9) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I8f1b003a19de9d6dcefa5bd05a46316635f2c985 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-13remove warm reboot from diagnostic targetAndrew Geissler1-8/+0
Initially the diagnostic target was only tied to one type of system event. This one system event required a warm reboot so it made sense to just put that directly in this recipe. There are now new use cases for the diagnostic target that do not want or need a warm reboot. Remove the warm reboot from the diagnostic target and let other recipes add it if needed for their use cases. Tested: - Verified with all commits in this Topic that the witherspoon system has the same service layout as before and the rainier system has the new layout (crash used for mpipl) (From meta-phosphor rev: 2406ed7d08b4d4c9f2ea7960094aea9aed79f4ac) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iea5b791057c74a2be880d842436284fa23bd15bc Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-12meta-phosphor: Add post code support for multi host in meta-phosphor.Kumar Thangavel1-1/+11
Added implementation to handle post codes from multiple host to BMC with multi process approach. Each process handles post codes for corresponding host. TESTED : Built the openbmc image targetting Facebook YosemiteV2 hardware. Verified all the host's postcodes stored in corresponding host directories. (From meta-phosphor rev: 57042e2fdb40b185721d7a8e9fc54d56d382b083) Signed-off-by: Kumar Thangavel <thangavel.k@hcl.com> Change-Id: I490558737b601fccb74da3b2dbef5e173343683f Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2021-01-12install host state transition servicesAndrew Geissler2-1/+19
See the following for more details: https://gerrit.openbmc-project.xyz/c/openbmc/phosphor-state-manager/+/39359 This will install the services required to get the TransitionToRunning and TransitionToOff support for CurrentHostState. Includes following in bump: Andrew Geissler (1): host state transitioning support Tested: - Verified CurrentHostState changed as expected doing a host on, off, and reboot. (From meta-phosphor rev: 56b7928ea464b89f1f585a92549d9026d1b91a43) Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Iffd6a7b9a71a0df0ee1180797db4253051436edf Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-12-10phosphor-post-code-manager: srcrev bump 9d91a39a3a..fd45f78858Andrew Geissler1-1/+1
Kumar Thangavel (1): phosphor-post-code-manager: Add post code support for multi host (From meta-phosphor rev: c5d5f9968b30ffe1b96155bde70907d121986bd0) Change-Id: I05b63b8d8f527015af9ef84b080264a174a22fd1 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-14phosphor-state-manager: srcrev bump 3191be88af..bbbc016552Andrew Geissler1-1/+1
Matt Spinler (1): Put state change values into the journal message (From meta-phosphor rev: 2f0ae7561b028c34cbcf95d20189f3cb68743bcb) Change-Id: I4d4bece39df6e1ca18c6adfaf22c90dff36a3b38 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-11-05phosphor-state-manager: srcrev bump 162c7bfb0c..3191be88afAndrew Geissler2-1/+10
Andrew Geissler (5): soft-off: ensure pldm soft svc stopped on hard poweroff autoreboot: clear one time properties on chassis off autoreboot: one-time object support autoreboot: add one-time property to logic autoreboot: add one-time support to obmcutil Install new phosphor-clear-one-time@.service into obmc-chassis-poweroff@.target (From meta-phosphor rev: 948e50a15fd86fb84b9697019cf3ae099fa114fb) Change-Id: I3e883d65ceb403aea09e21dfe1a95bea5f5bffdb Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-30phosphor: ensure host state sensors cleared on host quiesceAndrew Geissler1-0/+8
By design, nothing occurs in the obmc-host-quiesce target. The point is to leave everything in its current state so external debug can occur. The host states sensors should be reset though so other BMC software knows the host is in an undefined state. Tested: - Verified sensors were reset when obmc-host-quiesce target was started (From meta-phosphor rev: 1ac5d20b80688027c61b153e8ba46dc1e855b030) Change-Id: Ib99b0261976335bbc0644e5572a131c4f3e25304 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-30phosphor: ensure host state sensors cleared on host stopAndrew Geissler1-0/+8
With some of the new targets like obmc-host-diagnostic-mode, the BMC can be a while in these targets before other ones are started which start initializing these sensors again. Need to be sure to reset them to defaults once the host is stopped for any reason. This ensures that other BMC software which is looking at these to know host boot state have the correct information. Tested: - Verified sensors were reset when starting obmc-host-diagnostic-mode target (From meta-phosphor rev: 6f640bd9fcabae0affc0883940e47bdd5a13e752) Change-Id: Iee12327b769ffed03dabb050fd4eed8137f76fe0 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-25systemd-units: ensure required class is inheritedAndrew Geissler1-0/+1
Although the project is trying to get away from the use of obmc-phosphor-systemd, need to ensure it's being used where required. This recipe utilizes it to create chassis/host synchronization and action targets. (From meta-phosphor rev: de30c9857a4b93e657a8c32af33f3c84f659463c) Change-Id: I7ddc13c2997f8a38a59e81250aa1b03a76f7625c Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-25systemd-units: move state units to own incAndrew Geissler2-96/+120
The openbmc project is moving away from obmc-phosphor-systemd and its SYSTEMD_LINK macros in favor of more explicit package based installation. This commit gets phosphor-state-manager going in the right direction so that future targets and services can build on the new way to do things. The chassis/host action and synchronization targets still need some additional thought and effort. Tested: Booted up image in QEMU and spot checked a few services ensuring they were still in the expected locations. (From meta-phosphor rev: 5059a445b94e70efa7d6c90c1b5e7aa755dfe1d7) Change-Id: I576cddd8ae10edb222d45e5b4903ea7195def4d4 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-09-24phosphor-state-manager: srcrev bump 44c223ce1a..162c7bfb0cAndrew Geissler1-1/+1
Andrew Geissler (1): bootblock: ensure no power operation on block (From meta-phosphor rev: fa674755ba254010f6d08efb01373808cefbb875) Change-Id: Idd4da5efae4e9b20be87e3fdd62326f3130a2992 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-08-28phosphor-state-manager: srcrev bump 7fdad605ab..44c223ce1aAndrew Geissler1-1/+1
Jayaprakash Mutyala (1): bmc_state_manager: Add HardReboot support to BMC (From meta-phosphor rev: 0a4d590852bd82f73211d42ac2a4c0a4f27e158a) Change-Id: Ib29dcaad032ab5405043948c3b7b8f3555e54f0d Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2020-06-24phosphor-state-manager: srcrev bump d8779cd867..7fdad605abAndrew Geissler1-1/+1
Andrew Geissler (1): option to disable warm reboots (From meta-phosphor rev: e9129c2947a3dc36c96f698a6c5f0e2c188d8d30) Change-Id: I799e84974b13558185be607abed8cbf79953ad84 Signed-off-by: Andrew Geissler <openbmcbump-github@yahoo.com> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>