public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] ArmPkg: increase robustness of the crash handler
@ 2017-03-20 20:52 Ard Biesheuvel
  2017-03-20 20:52 ` [PATCH 1/3] ArmPkg/DefaultExceptionHandlerLib: add missing GUID to .inf Ard Biesheuvel
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ard Biesheuvel @ 2017-03-20 20:52 UTC (permalink / raw)
  To: edk2-devel, leif.lindholm; +Cc: ryan.harkin, eugene, Ard Biesheuvel

Make the default exception handler deal with corrupted SP or PC registers,
by switching to the EL0 stack pointer for sync exceptions, and walking the
call stack even if PC is 0x0 or otherwise invalid.

Ard Biesheuvel (3):
  ArmPkg/DefaultExceptionHandlerLib: add missing GUID to .inf
  ArmPkg/DefaultExceptionHandlerLib: walk call stack unconditionally
  ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions

 ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c                    | 17 +++-
 ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S                    | 86 ++++++++++++--------
 ArmPkg/Library/ArmExceptionLib/ArmExceptionLib.inf                           |  5 +-
 ArmPkg/Library/DefaultExceptionHandlerLib/AArch64/DefaultExceptionHandler.c  | 56 +++++++------
 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLib.inf     |  3 +
 ArmPkg/Library/DefaultExceptionHandlerLib/DefaultExceptionHandlerLibBase.inf |  3 +
 6 files changed, 107 insertions(+), 63 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-03-27 12:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20 20:52 [PATCH 0/3] ArmPkg: increase robustness of the crash handler Ard Biesheuvel
2017-03-20 20:52 ` [PATCH 1/3] ArmPkg/DefaultExceptionHandlerLib: add missing GUID to .inf Ard Biesheuvel
2017-03-22 13:01   ` Leif Lindholm
2017-03-20 20:53 ` [PATCH 2/3] ArmPkg/DefaultExceptionHandlerLib: walk call stack unconditionally Ard Biesheuvel
2017-03-22 13:07   ` Leif Lindholm
2017-03-22 13:12     ` Ard Biesheuvel
2017-03-22 13:20       ` Leif Lindholm
2017-03-20 20:53 ` [PATCH 3/3] ArmPkg/ArmExceptionLib: use EL0 stack for synchronous exceptions Ard Biesheuvel
2017-03-22 13:18   ` Leif Lindholm
2017-03-22 13:20     ` Ard Biesheuvel
2017-03-27 12:54     ` Ard Biesheuvel
2017-03-27 12:55       ` Ard Biesheuvel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox