Skip to content

Commit 8f09b8b

Browse files
keesRussell King (Oracle)
authored andcommitted
ARM: 9351/1: fault: Add "cut here" line for prefetch aborts
The common pattern in arm is to emit a "8<--- cut here ---" line for faults, but it was missing for do_PrefetchAbort(). Add it. Cc: Wang Kefeng <wangkefeng.wang@huawei.com> Cc: Ben Hutchings <ben@decadent.org.uk> Cc: linux-arm-kernel@lists.infradead.org Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
1 parent 169f910 commit 8f09b8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm/mm/fault.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ do_PrefetchAbort(unsigned long addr, unsigned int ifsr, struct pt_regs *regs)
593593
if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs))
594594
return;
595595

596+
pr_alert("8<--- cut here ---\n");
596597
pr_alert("Unhandled prefetch abort: %s (0x%03x) at 0x%08lx\n",
597598
inf->name, ifsr, addr);
598599

0 commit comments

Comments
 (0)