summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaja Das <rajadas2@in.ibm.com>2017-10-29 23:57:11 -0500
committerJoshua Hunsberger <jahunsbe@us.ibm.com>2018-02-01 17:15:30 -0600
commit630537bdf633052e6c3a3fcb0d83c0225a355f21 (patch)
treeedda75849ecb40f0e1a91359bb5724b986af0cb4
parent63131119429fcfc7914a27f8db6832dcfd99d0f5 (diff)
downloadtalos-hcode-630537bdf633052e6c3a3fcb0d83c0225a355f21.tar.gz
talos-hcode-630537bdf633052e6c3a3fcb0d83c0225a355f21.zip
PPE empty PK FFDC handler to save-off required registers
- Defined PPE_CAPTURE_INTERRUPT_FFDC, by default NULL - Dependent Platform need to plug in a branch for FFDC Change-Id: Iea222662abe19c0b5f9da6eac3e161963b1c047c RTC:179374 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/48977 Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: PPE CI <ppe-ci+hostboot@us.ibm.com> Reviewed-by: Jennifer A. Stofer <stofer@us.ibm.com>
-rw-r--r--import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S15
1 files changed, 12 insertions, 3 deletions
diff --git a/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S b/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S
index 734bf739..dd4ddd89 100644
--- a/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S
+++ b/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_exceptions.S
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HCODE Project */
/* */
-/* COPYRIGHT 2015,2017 */
+/* COPYRIGHT 2015,2018 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -58,6 +58,8 @@ __vectors:
### will be forwarded to the program exception handler.
__machine_check:
+ PPE_CAPTURE_INTERRUPT_FFDC
+
PPE42_MACHINE_CHECK_HANDLER
############################################################
@@ -89,6 +91,8 @@ __system_reset:
.org __vectors + 0x0060
__data_storage:
+ PPE_CAPTURE_INTERRUPT_FFDC
+
PPE42_DATA_STORAGE_HANDLER
############################################################
@@ -98,6 +102,8 @@ __data_storage:
.org __vectors + 0x0080
__instruction_storage:
+ PPE_CAPTURE_INTERRUPT_FFDC
+
PPE42_INSTRUCTION_STORAGE_HANDLER
@@ -116,8 +122,9 @@ __external_interrupt_vector:
.org __vectors + 0x00C0
__alignment_exception:
- PPE42_ALIGNMENT_HANDLER
+ PPE_CAPTURE_INTERRUPT_FFDC
+ PPE42_ALIGNMENT_HANDLER
############################################################
# 0x00E0 : Program Interrupt
@@ -126,8 +133,10 @@ __alignment_exception:
.org __vectors + 0x00E0
__program_exception:
- _pk_panic PPE42_ILLEGAL_INSTRUCTION
+ PPE_CAPTURE_INTERRUPT_FFDC
+
+ _pk_panic PPE42_ILLEGAL_INSTRUCTION
############################################################
# 0x0100 : DEC Interrupts
OpenPOWER on IntegriCloud