From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34459C36018 for ; Tue, 1 Apr 2025 10:01:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Message-ID:Date:From:Cc:To:Subject:Reply-To: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=dhp7W8gUe4aH3r77oqTQjhqP2WAFgzENasbJ2Ifglp4=; b=eXSDuJgFsO524bJjizSOgJOp41 TPnNTCc7AGddhsyrRMKHuDLuLbWouqNgCDBJmHYYJYUR83SN6wHXLSV0IWZ6KzKW3e4DQKoPWCJVX TCx5b+qaKS/vm4I/aMvHKwFunglcUFaCigtxyxBrSB2UnnxV1UMtNIeuci71SJmKX2+N4g5U8CXFu H3o6Lz2/uKhQgYu+LqQK0ZqFp/NbqGw+zth96P5okailLP9+k/pO6rTTRZ8+MZX/cCQCXVFbTARc5 PwnFNjlslk4RXkQ8mFFdytETBjbJK00ENUAV9i4dn18dQr3nWIiiibou3Cn3QX4cB9bZaEJCDVfib sGRF1rHw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1tzYQH-00000002Y7J-100J; Tue, 01 Apr 2025 10:00:45 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1tzXm2-00000002S4l-2RK9 for linux-arm-kernel@lists.infradead.org; Tue, 01 Apr 2025 09:19:12 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 0A7365C1D23; Tue, 1 Apr 2025 09:16:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5D298C4CEE4; Tue, 1 Apr 2025 09:19:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743499149; bh=fEleF+KuM2F+ROyoiofXO7pzhVGFceT+LygUH0rZ8nk=; h=Subject:To:Cc:From:Date:From; b=xSAJOjk5B6UeEj7sU48hTdyd5X4dYGLYPaQ8sOvseihkWB4QdQ3AZK9vmUhLtrLHJ i9SpBAF5U4WcUGsLJxyn4biKEe20YhGmjEfI/tO9zy6FZP/BgED0tmXjnAKNzW2YoF ia15oc5LOf9YqRtVENqAGL+KXJ5Um4oo8TLTx3GA= Subject: Patch "ARM: 9351/1: fault: Add "cut here" line for prefetch aborts" has been added to the 5.4-stable tree To: ardb@kernel.org,ben@decadent.org.uk,gregkh@linuxfoundation.org,keescook@chromium.org,linux-arm-kernel@lists.infradead.org,rmk+kernel@armlinux.org.uk,wangkefeng.wang@huawei.com Cc: From: Date: Tue, 01 Apr 2025 10:17:32 +0100 Message-ID: <2025040132-finished-figment-ab0f@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit X-stable: commit X-Patchwork-Hint: ignore X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250401_021910_686085_FC4A2DE6 X-CRM114-Status: GOOD ( 12.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 know about it. >From 8f09b8b4fa58e99cbfd9a650b31d65cdbd8e4276 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Thu, 1 Feb 2024 18:32:23 +0100 Subject: ARM: 9351/1: fault: Add "cut here" line for prefetch aborts From: Kees Cook 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 Cc: Ben Hutchings Cc: linux-arm-kernel@lists.infradead.org Acked-by: Ard Biesheuvel Signed-off-by: Kees Cook Signed-off-by: Russell King (Oracle) Signed-off-by: Greg Kroah-Hartman --- 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@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