Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d4e015ee authored by Mark Rutland's avatar Mark Rutland Committed by Sami Tolvanen
Browse files

UPSTREAM: arm64: decode ESR_ELx.EC when reporting exceptions



To aid the developer when something triggers an unexpected exception,
decode the ESR_ELx.EC field when logging an ESR_ELx value. This doesn't
tell the developer the specifics of the exception encoded in the
remaining IL and ISS bits, but it can be helpful to distinguish between
exception classes (e.g. SError and a data abort) without having to
manually decode the field, which can be tiresome.

Signed-off-by: default avatarMark Rutland <mark.rutland@arm.com>
Acked-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
Reviewed-by: default avatarChristoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Will Deacon <will.deacon@arm.com>

Bug: 31432001
Change-Id: I0e87cbc3724fc3b89ad4251a4a4b4550a67977a3
(cherry picked from commit 60a1f02c9e91e0796b54e83b14fb8a07f7a568b6)
Signed-off-by: default avatarSami Tolvanen <samitolvanen@google.com>
parent 1b3e8d74
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment