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 40238C3600C for ; Tue, 8 Apr 2025 13:14:51 +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: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=jPEOF6/4xNJOsE4hF9ckPMXj/A88OgGHw2kW6L+Nsgo=; b=QXDds4/wliftQnPVZFa4GQpRse 3hQCTOxJXwZouCf5rbkE8tM9D2iP91pKnjcN2zeeKd3u8BMHfBuPeoqJ4yTq5DL8Jo/epHskfohtq DLVEBDG48VBtOK2ADQ001pCYt6CWnu5x+B+GgequRZ9A655m4hm6cLUtHk1vBcVhzl1MUYTNOoa2x P244c8PK0Sam95pd8G+8eSm4UP4zzIVQJo10ADdUqooswd/mzRYsl9OW/H1Utf8kTQrz6J3QwuH6Q Z7gbK7qYWMmxdLlNkrVDx2TY2VkT1j6EgxJzhu2+2dNNIMV5H7G42mo83WHnqh32Bia/wNYzwzyXD FSbgPHGA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1u28mm-000000047qT-3xRh; Tue, 08 Apr 2025 13:14:40 +0000 Received: from sea.source.kernel.org ([172.234.252.31]) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1u27iS-00000003wMd-0aXY for linux-arm-kernel@lists.infradead.org; Tue, 08 Apr 2025 12:06:09 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 5113F44ECF; Tue, 8 Apr 2025 12:06:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8DB0FC4CEE5; Tue, 8 Apr 2025 12:06:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744113966; bh=8IzS13onBkNorLOdkcwuDygjn5SjBt9/3Xqjltj3gXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dnZFpgnjqbVXOKGlhjGoTXjqX/EL05rA9j4l+lnQCA1nzR5V8HE7tQBAOb4+0J8tJ AGRoIJdVmuo0NLCtMHGb5QbJ/Qfrm0pkDE7NTjAz8L0PE1EsCgDCfeBeyspRYi8ET+ 8zOSBL8h5IUqGJgvI3zoRgJs6x58/dQ0AqvmDw1E= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Wang Kefeng , Ben Hutchings , linux-arm-kernel@lists.infradead.org, Ard Biesheuvel , Kees Cook , "Russell King (Oracle)" Subject: [PATCH 5.4 070/154] ARM: 9351/1: fault: Add "cut here" line for prefetch aborts Date: Tue, 8 Apr 2025 12:50:11 +0200 Message-ID: <20250408104817.544750371@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104815.295196624@linuxfoundation.org> References: <20250408104815.295196624@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250408_050608_195240_7BBBBE8E X-CRM114-Status: UNSURE ( 9.91 ) X-CRM114-Notice: Please train this message. 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 5.4-stable review patch. If anyone has any objections, please let me know. ------------------ 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);