diff options
-rw-r--r-- | src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h | 7 | ||||
-rw-r--r-- | src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_boot.S | 4 |
2 files changed, 9 insertions, 2 deletions
diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h index 18ee3fdf..d1be9935 100644 --- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h +++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42.h @@ -428,7 +428,12 @@ uint32_t __pk_panic_dbcr = DBCR_RST_HALT; /// the 'panic' macros and the default DBCR0 setup. #ifndef PPE42_DBCR_INITIAL -#define PPE42_DBCR_INITIAL DBCR_TRAP +#define PPE42_DBCR_INITIAL (DBCR_TRAP | DBCR_IACE) +#endif + + +#ifndef PPE42_DACR_INITIAL +#define PPE42_DACR_INITIAL 0 #endif /// This is the value of the MSR used during initialization. Once PK threads diff --git a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_boot.S b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_boot.S index 189c2968..c83c02a5 100644 --- a/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_boot.S +++ b/src/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_boot.S @@ -5,7 +5,7 @@ /* */ /* OpenPOWER sbe Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2015,2016 */ +/* Contributors Listed Below - COPYRIGHT 2015,2017 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -120,6 +120,8 @@ __reset_trap: #ifndef NO_INIT_DBCR0 _liwa %r3, PPE42_DBCR_INITIAL mtdbcr %r3 + _liwa %r3, PPE42_DACR_INITIAL + mtdacr %r3 #endif ## The exception vector prefix is set - it must be 512 byte aligned. |