diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2019-01-25 14:34:10 -0600 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2019-01-28 11:16:19 -0600 |
commit | 675244ee606e340b96d0d6a0d42cdc2c60ec09b9 (patch) | |
tree | 9080786d20631742ea49b1adc91c1f21d8870a72 /src/usr/initservice | |
parent | f34e8263607ceeb9dec448ca0aa762e613a1c746 (diff) | |
download | talos-hostboot-675244ee606e340b96d0d6a0d42cdc2c60ec09b9.tar.gz talos-hostboot-675244ee606e340b96d0d6a0d42cdc2c60ec09b9.zip |
Load HWAS module earlier in ext init tasks
We were seeing crashes when an error occurred early on in the boot.
Errors get processed immediatly following the loading of the IMPI
module, this is because at this point we can send the logs to the BMC.
If the error had a sensor callout it would attempt to branch to
hwas code, prior to this commit, the HWAS commit would not be loaded in
at this point causing an instruction exception. By moving the loading
of the HWAS module to be prior to the loading of the IMPI module we
should avoid this issue.
Change-Id: I012e717577dc717dac67d9cf25a5091bb4a0fd84
CQ: SW455241
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/70939
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Diffstat (limited to 'src/usr/initservice')
-rw-r--r-- | src/usr/initservice/extinitsvc/extinitsvctasks.H | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/usr/initservice/extinitsvc/extinitsvctasks.H b/src/usr/initservice/extinitsvc/extinitsvctasks.H index 846d7dc08..71ac9b945 100644 --- a/src/usr/initservice/extinitsvc/extinitsvctasks.H +++ b/src/usr/initservice/extinitsvc/extinitsvctasks.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2011,2018 */ +/* Contributors Listed Below - COPYRIGHT 2011,2019 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -96,6 +96,18 @@ const TaskInfo g_exttaskinfolist[] = { } }, + /** + * @brief HWAS, + * need the hwas module for errl dependency gard / deconfig + */ + { + "libhwas.so" , // taskname + NULL, // no pointer to fn + { + INIT_TASK, // task type + EXT_IMAGE, // Extended Module + } + }, /** * @brief FSI Device Driver @@ -254,18 +266,6 @@ const TaskInfo g_exttaskinfolist[] = { } }, /** - * @brief HWAS, - * need the hwas module for errl dependency gard / deconfig - */ - { - "libhwas.so" , // taskname - NULL, // no pointer to fn - { - INIT_TASK, // task type - EXT_IMAGE, // Extended Module - } - }, - /** * @brief fapi2 task, handles attribute override and fapi2 plat intf. */ { |