[PATCH 1/1] arm: traps: remove fp underflow checking

From: Maninder Singh

Date: Fri Apr 24 2026 - 00:31:40 EST


with IRQSTACKS fp can point outside of thread's stack.
And when there is crash reported from IRQ side, it always report
"frame pointer underflow", which is not real underflow.

Unhandled fault: page domain fault (0x81b) at 0x00000000
..
PC is at handle_irq_desc+0x68/0xa4
LR is at generic_handle_domain_irq+0x18/0x1c
..

Call trace: frame pointer underflow
handle_irq_desc from generic_handle_domain_irq+0x18/0x1c
generic_handle_domain_irq from gic_handle_irq+0x78/0x8c
gic_handle_irq from generic_handle_arch_irq+0x3c/0x4c
..

It is just warning print and there is no decision based on this
to stop backtrack or etc. So it can be removed.

Signed-off-by: Maninder Singh <maninder1.s@xxxxxxxxxxx>
---
arch/arm/kernel/traps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/kernel/traps.c b/arch/arm/kernel/traps.c
index afbd2ebe5c39..47f8c0738399 100644
--- a/arch/arm/kernel/traps.c
+++ b/arch/arm/kernel/traps.c
@@ -243,8 +243,8 @@ void dump_backtrace(struct pt_regs *regs, struct task_struct *tsk,
} else if (verify_stack(fp)) {
pr_cont("invalid frame pointer 0x%08x", fp);
ok = 0;
- } else if (fp < (unsigned long)end_of_stack(tsk))
- pr_cont("frame pointer underflow");
+ }
+
pr_cont("\n");

if (ok)
--
2.34.1