commit | ea0fb6fc4cc843122809c21f9f41048f394b40e3 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Fri Jan 08 12:53:43 2021 -0600 |
committer | Andrew Geissler <geissonator@yahoo.com> | Fri Jan 08 13:29:21 2021 -0600 |
tree | bf2e09b76cc93db3f10fd012d418a411d8e1e0b9 | |
parent | 87266c597307175d3f821abe46a98e70144e4a2b [diff] |
add timeout to stop-instructions service Stopping instructions on POWER based systems is a fairly complicated process with a lot of moving parts. If one of these moving parts gets hung up, the entire power off process gets hung up. This issue has been seen intermittently over the years on different systems so for safety, lets put a timeout in the service. Stopping instructions is not a requirement to power off, it's just a nice-to-have type function. Don't let it hanging prevent the overall powering off of the system. Note that this commit also moves the rm of the host@%i-on file to being first. This is to ensure it always runs, even if the pdbg command times out and causes the service to fail. Tested: - Verified on good path stop instructions takes 2-4 seconds. - Verified when I caused this service to hang, we hit timeout and powered off system. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I7d249051634aeca399e2ecf6d24bca5e19637160
Contains procedures that interact with the OpenPower nest chipset.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To build with phal feature: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} --enable-phal --enable-openfsi 3. make To clean the repository run `./bootstrap.sh clean`.