Patch "ARM: 9351/1: fault: Add "cut here" line for prefetch aborts" has been added to the 5.4-stable tree
gregkh at linuxfoundation.org
gregkh at linuxfoundation.org
Tue Apr 1 02:17:32 PDT 2025
This is a note to let you know that I've just added the patch titled
ARM: 9351/1: fault: Add "cut here" line for prefetch aborts
to the 5.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
arm-9351-1-fault-add-cut-here-line-for-prefetch-aborts.patch
and it can be found in the queue-5.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable at vger.kernel.org> know about it.
>From 8f09b8b4fa58e99cbfd9a650b31d65cdbd8e4276 Mon Sep 17 00:00:00 2001
From: Kees Cook <keescook at chromium.org>
Date: Thu, 1 Feb 2024 18:32:23 +0100
Subject: ARM: 9351/1: fault: Add "cut here" line for prefetch aborts
From: Kees Cook <keescook at chromium.org>
commit 8f09b8b4fa58e99cbfd9a650b31d65cdbd8e4276 upstream.
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 at huawei.com>
Cc: Ben Hutchings <ben at decadent.org.uk>
Cc: linux-arm-kernel at lists.infradead.org
Acked-by: Ard Biesheuvel <ardb at kernel.org>
Signed-off-by: Kees Cook <keescook at chromium.org>
Signed-off-by: Russell King (Oracle) <rmk+kernel at armlinux.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
---
arch/arm/mm/fault.c | 1 +
1 file changed, 1 insertion(+)
--- a/arch/arm/mm/fault.c
+++ b/arch/arm/mm/fault.c
@@ -570,6 +570,7 @@ do_PrefetchAbort(unsigned long addr, uns
if (!inf->fn(addr, ifsr | FSR_LNX_PF, regs))
return;
+ pr_alert("8<--- cut here ---\n");
pr_alert("Unhandled prefetch abort: %s (0x%03x) at 0x%08lx\n",
inf->name, ifsr, addr);
Patches currently in stable-queue which might be from keescook at chromium.org are
queue-5.4/arm-9350-1-fault-implement-copy_from_kernel_nofault_allowed.patch
queue-5.4/arm-9351-1-fault-add-cut-here-line-for-prefetch-aborts.patch
More information about the linux-arm-kernel
mailing list