[PATCH v2 0/5] arm64: report EL1 exceptions better
Catalin Marinas
catalin.marinas at arm.com
Fri Sep 16 10:46:33 PDT 2022
On Tue, 13 Sep 2022 11:17:27 +0100, Mark Rutland wrote:
> We treat BTI, FPAC, and UNDEFINED exceptions as fatal when taken from
> EL1, but due to the way we make these fatal, we end up throwing away
> information that could be used to diagnose the cause of the exception.
>
> We have an anti-pattern where in the handler for the exception we do:
>
> BUG_ON(!user_mode(regs));
>
> [...]
Applied to arm64 (for-next/el1-exceptions), thanks!
[1/5] arm64: report EL1 UNDEFs better
https://git.kernel.org/arm64/c/b502c87d2a26
[2/5] arm64: die(): pass 'err' as long
https://git.kernel.org/arm64/c/18906ff9af65
[3/5] arm64: consistently pass ESR_ELx to die()
https://git.kernel.org/arm64/c/0f2cb928a154
[4/5] arm64: rework FPAC exception handling
https://git.kernel.org/arm64/c/a1fafa3b24a7
[5/5] arm64: rework BTI exception handling
https://git.kernel.org/arm64/c/830a2a4d853f
--
Catalin
More information about the linux-arm-kernel
mailing list