diff options
author | Christian Geddes <crgeddes@us.ibm.com> | 2017-10-17 09:30:28 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-10-18 11:11:03 -0400 |
commit | 2752037239ad9fface375bb89362118d3471e07e (patch) | |
tree | f75006cd4b142b14a5cc1f908235a9873cdc7b32 /src/usr/fapi2 | |
parent | 0d9804fd00081aa587e3d5bb7f38f9f36c4689b5 (diff) | |
download | talos-hostboot-2752037239ad9fface375bb89362118d3471e07e.tar.gz talos-hostboot-2752037239ad9fface375bb89362118d3471e07e.zip |
Re-apply p9_int_scom inits on shutdown path (2nd attempt)
The interrupt resource provider shutdown path is clearing
out some scom inits that need to be set or else we see
problems in the hypervisor. This commit registers a new
event to the shutdown command which will re-apply the
scominits prior to shutting down and passing off control
to the hypervisor.
Change-Id: Ic6bfd1d95b593aee3f6202f5902dcff7adb29b08
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48495
Reviewed-by: Martin Gloff <mgloff@us.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2')
-rwxr-xr-x | src/usr/fapi2/fapi2.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/fapi2/fapi2.mk b/src/usr/fapi2/fapi2.mk index ee1cdc162..6e4b6490a 100755 --- a/src/usr/fapi2/fapi2.mk +++ b/src/usr/fapi2/fapi2.mk @@ -45,6 +45,7 @@ EXTRAINCDIR += $(ROOTPATH)/src/import/chips/p9/procedures/hwp/sbe/ EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/accessors/ EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/lib/ EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/ffdc/ +EXTRAINCDIR += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/initfiles/ EXTRAINCDIR += ${HWP_PATH} EXTRAINCDIR += ${HWP_PATH_2}/hwp/memory EXTRAINCDIR += ${HWP_PATH_2}/hwp/memory/lib/ @@ -152,9 +153,15 @@ include $(ROOTPATH)/src/import/chips/p9/procedures/hwp/pm/p9_pm_get_poundv_bucke include $(ROOTPATH)/src/import/chips/p9/procedures/hwp/pm/p9_pm_get_poundw_bucket.mk include $(ROOTPATH)/src/import/chips/p9/procedures/hwp/pm/p9_pm_get_poundw_bucket_attr.mk +# We specifically removed this from the istep10.so and placed it here because +# we have to reapply this init on the shutdown path after the interrupt resource +# provider is shutdown +include $(ROOTPATH)/src/import/chips/p9/procedures/hwp/initfiles/p9_int_scom.mk + VPATH += ${HWP_PATH_1}/hwp/accessors VPATH += ${ROOTPATH}/src/import/hwpf/fapi2/src/ VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/pm/ VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/ffdc/ VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/lib/ +VPATH += ${ROOTPATH}/src/import/chips/p9/procedures/hwp/initfiles/ VPATH += ${GENPATH} |