summaryrefslogtreecommitdiffstats
path: root/src/import/chips/p9/common
diff options
context:
space:
mode:
authorPrem Shanker Jha <premjha2@in.ibm.com>2017-10-18 09:32:40 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-12-12 00:19:08 -0500
commit537e7b6e6c72e06f2339e413c703fbb055f612ca (patch)
tree573b67215d74a40bb97b6ea9584c87cfe77c0421 /src/import/chips/p9/common
parent6782a20d9c7c4bb8b72480ee3c1a499a4806f991 (diff)
downloadtalos-hostboot-537e7b6e6c72e06f2339e413c703fbb055f612ca.tar.gz
talos-hostboot-537e7b6e6c72e06f2339e413c703fbb055f612ca.zip
Hcode Injection: Adds hcode error injection capability.
Commit adds error injection capability in the hcode of CME, SGPE and PGPE. - CME reads CSAR[30|31] and if asserted traps - SGPE reads OCC Flag2[30] and if asserted traps - PGPE reads OCC Flag2[31] and if asserted traps Change-Id: Ia8476076ce4953ced4eda30927bd891481b0373c Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48920 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Hostboot CI <hostboot-ci+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Michael S. Floyd <mfloyd@us.ibm.com> Reviewed-by: YUE DU <daviddu@us.ibm.com> Reviewed-by: RAHUL BATRA <rbatra@us.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49477 Tested-by: Jenkins OP Build CI <op-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/import/chips/p9/common')
-rw-r--r--src/import/chips/p9/common/pmlib/include/registers/ocb_register_addresses.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/import/chips/p9/common/pmlib/include/registers/ocb_register_addresses.h b/src/import/chips/p9/common/pmlib/include/registers/ocb_register_addresses.h
index d84589dfd..4f509c841 100644
--- a/src/import/chips/p9/common/pmlib/include/registers/ocb_register_addresses.h
+++ b/src/import/chips/p9/common/pmlib/include/registers/ocb_register_addresses.h
@@ -105,6 +105,9 @@
#define OCB_OCCFLG_CLR 0xc0060458
#define OCB_OCCFLG_OR 0xc0060460
#define OCB_OCCHBR 0xc0060478
+#define OCB_OCCFLG2 0xc0060c50
+#define OCB_OCCFLG2_CLR 0xc0060c58
+#define OCB_OCCFLG2_OR 0xc0060c60
#define OCB_CCSR 0xc0060480
#define OCB_CCSR_CLR 0xc0060488
#define OCB_CCSR_OR 0xc0060490
@@ -457,7 +460,7 @@
#define OCB_OCCLFIRACT0 0x01010806
#define OCB_OCCLFIRACT1 0x01010807
#define OCB_OCCLFIRWOF 0x01010808
-#define OCB_OCCERRRPT 0x0101080a
+#define OCB_OCCERRRPT 0x0101080a
#endif // __OCB_REGISTER_ADDRESSES_H__
OpenPOWER on IntegriCloud