]> www.infradead.org Git - users/jedix/linux-maple.git/commit
arm64: Introduce esr_is_ubsan_brk()
authorMostafa Saleh <smostafa@google.com>
Wed, 30 Apr 2025 16:27:08 +0000 (16:27 +0000)
committerMarc Zyngier <maz@kernel.org>
Wed, 7 May 2025 10:21:35 +0000 (11:21 +0100)
commitdc1fd37a7f501731e488c1c6f86b2f591632a4ad
tree660c17159a8414b53916472dab9f7a944c9a3db5
parent9c32cda43eb78f78c73aee4aa344b777714e259b
arm64: Introduce esr_is_ubsan_brk()

Soon, KVM is going to use this logic for hypervisor panics,
so add it in a wrapper that can be used by the hypervisor exit
handler to decode hyp panics.

Signed-off-by: Mostafa Saleh <smostafa@google.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250430162713.1997569-2-smostafa@google.com
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/include/asm/esr.h
arch/arm64/kernel/traps.c