]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm64: Save esr in pt_regs
authorSean Anderson <sean.anderson@seco.com>
Tue, 22 Mar 2022 21:17:35 +0000 (17:17 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2022 20:56:53 +0000 (16:56 -0400)
commite97ac4780d69c719b81086bba615c8568afd14a1
tree6003aaab580f6181b363d20eb8c7c32bd1adabd7
parent93c3d329707e0d8dc98e5f86938bbedbe15b5349
arm64: Save esr in pt_regs

To avoid passing around an extra register everywhere, save esr in
pt_regs like the rest. For proper alignment we need to have a second
(unused) register. All the printfs have to be adjusted, since
it's now an unsigned long and not an int.

Signed-off-by: Sean Anderson <sean.anderson@seco.com>
arch/arm/cpu/armv8/exceptions.S
arch/arm/include/asm/proc-armv/ptrace.h
arch/arm/include/asm/u-boot-arm.h
arch/arm/lib/interrupts_64.c
arch/arm/mach-imx/imx8m/soc.c