public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: Pavel Skripkin <paskripkin@gmail.com>
Cc: u-boot@lists.denx.de
Subject: Re: [PATCH] arm64: interrupts: print FAR_ELx on sync exceptions
Date: Wed, 26 Apr 2023 08:30:18 -0400	[thread overview]
Message-ID: <20230426123018.GD1134230@bill-the-cat> (raw)
In-Reply-To: <20230402162734.121322-1-paskripkin@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 645 bytes --]

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@gmail.com>

Applied to u-boot/master, thanks!

-- 
Tom

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 659 bytes --]

      reply	other threads:[~2023-04-26 12:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-02 16:27 [PATCH] arm64: interrupts: print FAR_ELx on sync exceptions Pavel Skripkin
2023-04-26 12:30 ` Tom Rini [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230426123018.GD1134230@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=paskripkin@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox