diff options
| author | Raja Das <rajadas2@in.ibm.com> | 2017-10-29 23:57:11 -0500 |
|---|---|---|
| committer | Joshua Hunsberger <jahunsbe@us.ibm.com> | 2018-02-06 14:34:39 -0600 |
| commit | 438a647132ce268af95b40ffec3de380b2232604 (patch) | |
| tree | 2a9f4b5faf16e31b4b7ac0faacb2f1a60ec03e34 | |
| parent | f034154bd261d4bab6360dbec1337dc5c09aac3d (diff) | |
| download | talos-hcode-438a647132ce268af95b40ffec3de380b2232604.tar.gz talos-hcode-438a647132ce268af95b40ffec3de380b2232604.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: I896af5b252c8fbf6531634d1a39fc84ed580a594
Original-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_irq.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_irq.h b/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_irq.h index 8b5631b6..f95fe895 100644 --- a/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_irq.h +++ b/import/chips/p9/procedures/ppe/pk/ppe42/ppe42_irq.h @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HCODE Project */ /* */ -/* COPYRIGHT 2015,2017 */ +/* COPYRIGHT 2015,2018 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -53,6 +53,15 @@ // bytes (8 instructions) to an unhandled exception, so any redefinition // would most likely be a branch to an application-defined handler. +// Empty PPE FFDC Handler plugged here, dependent platform needs to plug it in, +// if specific registers are required to be saved-off during the interupt +// execution +// by Default it will not generate any branch instruction in the pk interrupt +// vector table +#ifndef PPE_CAPTURE_INTERRUPT_FFDC + #define PPE_CAPTURE_INTERRUPT_FFDC +#endif + #ifndef PPE42_MACHINE_CHECK_HANDLER #define PPE42_MACHINE_CHECK_HANDLER PK_PANIC( PPE42_MACHINE_CHECK_PANIC) #endif |

