commit | b5fa942a4fa02fe4500674b32ee16e31e802f1de | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Fri Dec 03 14:45:40 2021 -0600 |
committer | Jayanth Othayoth <ojayanth@gmail.com> | Sat Dec 11 03:28:14 2021 +0000 |
tree | 5cf01227b6504a122e208cc5884c39d8a2f48d82 | |
parent | f9152b91f27b3929e5bd147ee79e75fac2019727 [diff] |
host-restart: set restart reason on mpreboot When a memory preserving reboot (caused by a host firmware crash) is the reason for a host restart, ensure the RestartCause is set appropriately. This property is used by other software on some systems to guide partition behaviors in the host code. The phosphor-state-manager software is responsible for resetting the RestartCause when the host is powered off. Tested: - Verified RestartCause was correctly set to Host.RestartCause.HostCrash when executing the service. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ia99b13f8ee1267dcd2adb3edd0f29eea106043b2
Contains procedures that interact with the OpenPower nest chipset.
To build this package, do the following steps: 1. meson builddir 2. ninja -C builddir To build with phal feature: 1. meson builddir -Dphal=enabled -Dopenfsi=enabled 2. ninja -C builddir To clean the repository run `ninja -C builddir/ clean`.