]> git.baikalelectronics.ru Git - uboot.git/commit
arm64: Save spsr in pt_regs
authorSean Anderson <sean.anderson@seco.com>
Tue, 22 Mar 2022 20:59:28 +0000 (16:59 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 20:56:53 +0000 (16:56 -0400)
commit42f1f9290c9446a28f40c0dfaf12a9e8420a55dc
treefbf94028bacc54b09768df62fa0fb1fca6544801
parent16f084f3f5a38d10813087cde5dc2003b55410d5
arm64: Save spsr in pt_regs

This register holds "pstate" which includes (among other things) the
instruction mode the CPU was in when the exception was taken. This is
necessary to correctly interpret instructions at elr.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
arch/arm/cpu/armv8/exceptions.S
arch/arm/include/asm/proc-armv/ptrace.h