[PATCH] arm64: mm: Display faulting address for EL1 SEA
Kohei Enju
enju.kohei at fujitsu.com
Thu Dec 3 03:25:41 PST 2026
Commit 1049c3087170 ("arm64: Pass user fault info to arm64_notify_die
instead of printing it") moved user fault reporting into
arm64_notify_die() and removed the address log from do_sea(). As a
result, the Oops for an SEA taken at EL1 no longer reports the faulting
virtual address.
Log the faulting virtual address for EL1 SEA when ESR.FnV is clear.
Fixes: 1049c3087170 ("arm64: Pass user fault info to arm64_notify_die instead of printing it")
Signed-off-by: Kohei Enju <enju.kohei at fujitsu.com>
---
arch/arm64/mm/fault.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm64/mm/fault.c b/arch/arm64/mm/fault.c
index b22736853fcd..fb057f88b26e 100644
--- a/arch/arm64/mm/fault.c
+++ b/arch/arm64/mm/fault.c
@@ -898,6 +898,10 @@ static int do_sea(unsigned long far, unsigned long esr, struct pt_regs *regs)
* so that userspace doesn't see them.
*/
siaddr = untagged_addr(far);
+
+ if (!user_mode(regs))
+ pr_alert("SEA at virtual address %016lx\n",
+ __untagged_addr(far));
}
add_taint(TAINT_MACHINE_CHECK, LOCKDEP_STILL_OK);
arm64_notify_die(inf->name, regs, inf->sig, inf->code, siaddr, esr);
---
base-commit: fe6ff8d5d675c01793b9f051d16055dd4aa75244
change-id: 20261130-sea-print-far-1ce4aa52e352
Best regards,
--
Kohei Enju <enju.kohei at fujitsu.com>
More information about the linux-arm-kernel
mailing list