aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gdb/vmlinux-gdb.py
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2016-06-20 17:28:01 +0000
committerWill Deacon <[email protected]>2016-07-07 14:55:37 +0000
commite19a6ee2460bdd0d0055a6029383422773f9999a (patch)
treef8e7898101568c82617d7afd66e712b9f0538a0e /scripts/gdb/vmlinux-gdb.py
parentLinux 4.7-rc5 (diff)
downloadkernel-e19a6ee2460bdd0d0055a6029383422773f9999a.tar.gz
kernel-e19a6ee2460bdd0d0055a6029383422773f9999a.zip
arm64: kernel: Save and restore UAO and addr_limit on exception entry
If we take an exception while at EL1, the exception handler inherits the original context's addr_limit and PSTATE.UAO values. To be consistent always reset addr_limit and PSTATE.UAO on (re-)entry to EL1. This prevents accidental re-use of the original context's addr_limit. Based on a similar patch for arm from Russell King. Cc: <[email protected]> # 4.6- Acked-by: Will Deacon <[email protected]> Reviewed-by: Mark Rutland <[email protected]> Signed-off-by: James Morse <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'scripts/gdb/vmlinux-gdb.py')
0 files changed, 0 insertions, 0 deletions