[PATCH] arm64: interrupts: print FAR_ELx on sync exceptions
Tom Rini
trini at konsulko.com
Wed Apr 26 14:30:18 CEST 2023
On Sun, Apr 02, 2023 at 07:27:34PM +0300, Pavel Skripkin wrote:
> Default synchronous exceptions handler prints only esr and register
> dump. Sometimes it requiers to see an address which caused exceptions
> to understand what's going on
>
> ARM ARM in section D13.2.41 states that FAR_EL2 will contain meanfull
> value in case of ESR.EC holds 0x20, 0x21, 0x24, 0x25, 0x22, 0x34 or
> 0x35. Same applies for EL1.
>
> This patch adds function whivh determine current EL, gets correct FAR
> register and prints it on panic.
>
> Signed-off-by: Pavel Skripkin <paskripkin at gmail.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230426/67982b1e/attachment.sig>
More information about the U-Boot
mailing list