Skip to content

Commit

Permalink
Hcode Injection: Adds hcode error injection capability.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
premsjha authored and dcrowell77 committed Dec 12, 2017
1 parent 6782a20 commit 537e7b6
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -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
Expand Down Expand Up @@ -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__

0 comments on commit 537e7b6

Please sign in to comment.