aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/lists.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2019-10-25 17:42:13 +0100
committerCatalin Marinas <[email protected]>2019-10-28 11:22:47 +0000
commited3768db588291ddb5dc794daed12cc751373566 (patch)
tree86e3e27244aac6ca06e74748e367573f35a211a0 /scripts/gdb/linux/lists.py
parent51077e03b8cef2a24d6582b8c54b718fced6878c (diff)
arm64: entry: convert el1_sync to C
This patch converts the EL1 sync entry assembly logic to C code. Doing this will allow us to make changes in a slightly more readable way. A case in point is supporting kernel-first RAS. do_sea() should be called on the CPU that took the fault. Largely the assembly code is converted to C in a relatively straightforward manner. Since all sync sites share a common asm entry point, the ASM_BUG() instances are no longer required for effective backtraces back to assembly, and we don't need similar BUG() entries. The ESR_ELx.EC codes for all (supported) debug exceptions are now checked in the el1_sync_handler's switch statement, which renders the check in el1_dbg redundant. This both simplifies the el1_dbg handler, and makes the EL1 exception handling more robust to currently-unallocated ESR_ELx.EC encodings. Signed-off-by: Mark Rutland <[email protected]> [split out of a bigger series, added nokprobes, moved prototypes] Signed-off-by: James Morse <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Cc: Julien Thierry <[email protected]> Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions