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 747BBC04FFE for ; Tue, 14 May 2024 08:15:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ypRVtVTinykea4NFSztCOjfJKFx0pVqUrbtjb/hhscg=; b=3wFMAbyfj4ZfbJ x43M5ORG5YY2Z+42CQ7Cx3f0lpY+wCTPyL9gKo9n7qNfeDYj2MjHSpxN44mSnXINJ95Pv7IAL1beJ UZBMhweMUnHzEWnV01MkswaggUw48Uxffra3KiHnakR6RC54yXNpydN2Dq8gge4CymNuPXQMbVXSl Or3okwFfXK8+A1VjcehdE2zWUPGMAeDj/VyiRuVyBMCk1wuBhx1ZBHRuEAhjOq96Q7bwzbNv/AD1h 3mKPoanqjgIm3Cr6RNWL/AewtcPOy5qWaBDMi8kQ19FQIPwF4SglOlSp9E8w71lq1P8HfoaHrIxUV yverpEsQK2jD9AhDgEHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6nJa-0000000FKGM-0fkA; Tue, 14 May 2024 08:15:14 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s6nJW-0000000FKF4-38o0 for linux-arm-kernel@lists.infradead.org; Tue, 14 May 2024 08:15:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=armlinux.org.uk; s=pandora-2019; h=Sender:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=eHGnPrChfj1sjOaBPG4pFddetEByTsG+3dkvfXYekok=; b=SSepveiJHeO5MhJjXCYELFrbbI sN8UHevz5/uJAv22gsG5x3TGg8EhiBY9f5gZmq9cm3RP8O8KEKTiJUOceQdFo/6c0TESMgsRW6hcR a1H/jGIXEldsKy4D+6rPFKr1yRfpY63qMqL53aXmLbEflUMeoeyhjOzYYp/e9uw1mPb2ZJGC3D6rS Qw45l1OmHekFNVb7uRvwlv8YCwhkF1psbB0SbKBRiZtPUuitpFiVNzHauk89cGAtcy1SwQbEaUdl2 bN6iA0iPUEyNGav7Luu5AAx99NfqqMd6o6uXlreF6l9eyvCiMf6/U+nrYD/pK8VzoEy1M8x096vON Q1cgsZMg==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:60298) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1s6nJJ-0002j6-0x; Tue, 14 May 2024 09:14:57 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1s6nJJ-0006vM-9Z; Tue, 14 May 2024 09:14:57 +0100 Date: Tue, 14 May 2024 09:14:57 +0100 From: "Russell King (Oracle)" To: Florian Fainelli Cc: Linus Walleij , Geert Uytterhoeven , Ard Biesheuvel , Arnd Bergmann , Stefan Wahren , Kees Cook , linux-arm-kernel@lists.infradead.org, Catalin Marinas Subject: Re: [PATCH v3 4/4] ARM: Implement PAN for LPAE by TTBR0 page table walks disablement Message-ID: References: <20240312-arm32-lpae-pan-v3-0-532647afcd38@linaro.org> <20240312-arm32-lpae-pan-v3-4-532647afcd38@linaro.org> <56b3d8b1-3883-4c2f-9b27-2e879b1d6aa0@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <56b3d8b1-3883-4c2f-9b27-2e879b1d6aa0@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240514_011510_812407_220C5D1A X-CRM114-Status: GOOD ( 11.21 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, May 13, 2024 at 08:56:20PM -0700, Florian Fainelli wrote: > Hi Geert, Linus, > > Error is similar to Geert, see below. > > [ 11.299106] Freeing unused kernel image (initmem) memory: 79872K > [ 11.305720] Run /init as init process > [ 11.314070] Kernel panic - not syncing: Attempted to kill init! > exitcode=0x00000004 > [ 11.321888] CPU: 0 PID: 1 Comm: init Not tainted 6.9.0-next-20240513 #32 > [ 11.328709] Hardware name: BCM2711 > [ 11.332169] Call trace: > [ 11.332179] unwind_backtrace from show_stack+0x10/0x14 > [ 11.340087] show_stack from panic+0x20c/0x55c > [ 11.344615] panic from do_exit+0x6b0/0x1e74 > [ 11.348972] do_exit from do_group_exit+0xcc/0x280 > [ 11.353857] do_group_exit from get_signal+0xfb4/0x1340 > [ 11.359182] get_signal from do_work_pending+0x2c0/0x7bc > [ 11.364590] do_work_pending from slow_work_pending+0xc/0x24 > [ 11.370351] Exception stack(0xf082bfb0 to 0xf082bff8) > [ 11.375492] bfa0: b6bca568 00000000 > 003fa0d6 aedf3d20 > [ 11.383811] bfc0: aedf4a28 b6bca6f8 b6bca73c b6bca710 b6bca748 b6bca6f8 > aedf4a28 b6bca6f8 > [ 11.392127] bfe0: b6bca590 b6bca548 aeddae15 aedeb660 200f0030 ffffffff > [ 11.398954] ---[ end Kernel panic - not syncing: Attempted to kill init! > exitcode=0x00000004 ]--- You could enable CONFiG_DEBUG_USER, and then pass "user_debug=24" to the kernel to get a report for the conditions that lead to SEGV/BUS signals being delivered to a userspace processd. -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last! _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel