]> git.dujemihanovic.xyz Git - u-boot.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)
commite75d791c5083cd7d25c36677825b2a01ce708b7d
treefbf94028bacc54b09768df62fa0fb1fca6544801
parente97ac4780d69c719b81086bba615c8568afd14a1
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