summaryrefslogtreecommitdiffstats
path: root/src/usr/fapi2/runtime
diff options
context:
space:
mode:
authorChristian Geddes <crgeddes@us.ibm.com>2017-09-21 14:09:56 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-10-17 11:46:45 -0400
commitebea5e69f6c3a86de8103126dc69a3d8942227e9 (patch)
treeeaee57dd1aeaebb80489b2fdec42c46e300e10a7 /src/usr/fapi2/runtime
parent17dda04f37485b693eca1ebc29bdc9026bcfda04 (diff)
downloadtalos-hostboot-ebea5e69f6c3a86de8103126dc69a3d8942227e9.tar.gz
talos-hostboot-ebea5e69f6c3a86de8103126dc69a3d8942227e9.zip
Implement FAPI_PLAT_CALL_SUBROUTINE macro
HWP writers need a way to request certain HWPs to run on the SBE for non-master processor targets while we are in secureBoot mode. This macro will check these conditions and if we are on a non-master in secureMode then we will issue a fifo chipop to the slave sbe in order to request the SBE to perform the HWP. This commit also adds some simple test cases to verify the failure paths. Also fapi2 test cases are re-enabled in this commit. Change-Id: Ic42fe2df5692fb5994985d92b2fd767ea7c1234a RTC: 179062 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46580 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/usr/fapi2/runtime')
-rw-r--r--src/usr/fapi2/runtime/test/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/fapi2/runtime/test/makefile b/src/usr/fapi2/runtime/test/makefile
index 88cb33044..a8a44b36c 100644
--- a/src/usr/fapi2/runtime/test/makefile
+++ b/src/usr/fapi2/runtime/test/makefile
@@ -35,7 +35,7 @@ include ../../test/fapi2Test.mk
$(info TESTS before is ${TESTS})
TMPVAR1 := ${TESTS}
#RTC: 181003 need to determine why fapi2HwpErrorBufferTest.H is getting data storage exception in RT
-TESTS = $(filter-out ${ROOTPATH}/src/usr/fapi2/test/getVpdTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2GetVpdTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2HwpErrorBufferTest.H , ${TMPVAR1})
+TESTS = $(filter-out ${ROOTPATH}/src/usr/fapi2/test/getVpdTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2GetVpdTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2HwpErrorBufferTest.H ${ROOTPATH}/src/usr/fapi2/test/fapi2SubroutineExecutorTest.H , ${TMPVAR1})
TMPVAR2 := ${OBJS}
OBJS = $(filter-out getVpdTest.o, ${TMPVAR2})
include ${ROOTPATH}/config.mk
OpenPOWER on IntegriCloud