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 CD7EBC3600C for ; Tue, 8 Apr 2025 13:14:29 +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=aEKBhSfmBkftYmccpNVeDbGE5VK9iFHgoN/yKLwA2Hk=; b=x/OouZ4tVdlc3xNEd4hiNdSXwD CO60muj5hsFIxfPlUJnPbuDpngWoSclMKQrbCFc0SZTB2orAIkuP4Q2NQM8aOi0gtHYUgFHkD66k/ zC+edKqGuKR18s8OOWDxwd76F9Z5nMIvykbOzMZRy2mst9t0cFIm4SAMWbbPrsc4mdOUoTLhqMziG rJrwxnkse7ZUjn9a6z+A3YYTcAd9hd157i6r0CMQ/mLBfRxtvpdR7YigFNeyA8ChYdMMkeA3RLQ3U L9VZFGTnjuPBPM/GZayDT88b683xWNF7OGZc2tq24l/iI2As1o6o0NILLpbA4AzHazddq573dgCjh xnzVd37A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1u28mR-000000047Ak-2P5r; Tue, 08 Apr 2025 13:14:19 +0000 Received: from tor.source.kernel.org ([2600:3c04:e001:324:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1u27Lq-00000003soJ-3kdS for linux-arm-kernel@lists.infradead.org; Tue, 08 Apr 2025 11:42:46 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 1E8E6614E0; Tue, 8 Apr 2025 11:42:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5C220C4CEE5; Tue, 8 Apr 2025 11:42:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744112564; bh=JLReWo/SgiNv5PhaYWUKzE9k7M3iMSIrodZJE6GRNBs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JmwXe/nhqhTcNUrM01Ikjh9znp/IqbHiz7vq4KaVFnjgK5szHQw1KiaX9VECD9xPm xONkNix3QEUs1uxQ2NOtUAhYePiQuVT7Z2Am/Oj6lsT313tlylgse3aNVr98nz8PMS NTpH+8txB2e8K0xBh0xD14xkiEC/WCk+Ua1vPTvE= 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.15 114/279] ARM: 9351/1: fault: Add "cut here" line for prefetch aborts Date: Tue, 8 Apr 2025 12:48:17 +0200 Message-ID: <20250408104829.423635953@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104826.319283234@linuxfoundation.org> References: <20250408104826.319283234@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.15-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 @@ -559,6 +559,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);