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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2D9E2C2BA83 for ; Fri, 7 Feb 2020 16:36:43 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id F40AA22314 for ; Fri, 7 Feb 2020 16:36:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hqt11Wzr" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org F40AA22314 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=aUH1d56TBrQLvLR+yx9ISv8wmdLywsk8GkgJEj4WDF8=; b=hqt11WzrzUona7 vU6yH1dSJ8BSyJJ2NQ9Tp5yOzm3W1+4CW1prZNHOWULbzqs3wcvdHCPj7Xzu/QCF+/j9J/SP/hnu2 KqLVWLFTXwJbYC6ee/xXuEANQP8+Wsr8CdajU2PZpdDYtGthqVP8160fJFcM6GoY75bYmfW9SwCaa asu4u0PXHMRVjPVedP0HnFHbz1I4mYo2MZKI6iXJrVtLLznfgVrBYdCztKLBSK1ugF7Q9FMplPg9i w4iFGnooh4PZ94gsIVY+EWzwqI2Xp18X1Y+MrZi6OPVjq10LHmJ10exdAXE9lhXx5T/ZRIrlF144b jbyU3A9t1vVcfI5j5FdQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j06cQ-0001sL-Iy; Fri, 07 Feb 2020 16:36:38 +0000 Received: from muru.com ([72.249.23.125]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j06cN-0001rR-8Z for linux-arm-kernel@lists.infradead.org; Fri, 07 Feb 2020 16:36:36 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 349C98047; Fri, 7 Feb 2020 16:37:14 +0000 (UTC) Date: Fri, 7 Feb 2020 08:36:23 -0800 From: Tony Lindgren To: Kees Cook , Nicolas Pitre , Russell King Subject: Re: Nokia N900 on 5.4 and 5.5 Message-ID: <20200207163623.GA64767@atomide.com> References: <79b91017-b52a-8aff-4b9c-913ae655f7bf@wizzup.org> <185CD173-C13C-4D56-B3DE-9A8D7784963C@goldelico.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <185CD173-C13C-4D56-B3DE-9A8D7784963C@goldelico.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200207_083635_349568_CC38C4D9 X-CRM114-Status: GOOD ( 12.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ivaylo Dimitrov , Aaro Koskinen , "H. Nikolaus Schaller" , Merlijn Wajer , linux-omap , "Arthur D." , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi, * H. Nikolaus Schaller [200207 15:52]: > > > Am 07.02.2020 um 15:54 schrieb Merlijn Wajer : > > > > Hi, > > > > I've tried to build 5.4.18 and 5.5.2 for the Nokia N900, using > > omap2plus_defconfig. Using appended DTB, like so: > > > > $ cat arch/arm/boot/zImage arch/arm/boot/dts/omap3-n900.dtb > zImage.dtb > > $ mkimage -A arm -O linux -T kernel -C none -a 80008000 -e 80008000 -n > > zImage -d zImage.dtb uImage > > > > But they both fail to boot for me - the device resets almost instantly: > > > >> data abort > >> > >> MAYBE you should read doc/README.arm-unaligned-accesses > >> > >> pc : [<8000c878>] lr : [<80008160>] > >> sp : 803c46c8 ip : 003a1870 fp : 003a1848 > >> r10: 803ba890 r9 : 00caa42c r8 : 80000100 > >> r7 : 000007a3 r6 : 803a9878 r5 : 80000100 r4 : 80008000 > >> r3 : 00004e6c r2 : 00019fa8 r1 : 803a9878 r0 : 00000000 > >> Flags: nZcv IRQs off FIQs on Mode SVC_32 > >> Resetting CPU ... > >> > >> resetting ... > > > > Full log below. I tried the same with "-Os" instead of "-O2" ; to no avail. > > > > Any clue what could be up? > > I can only tell that I have successfully running 5.5.2 on GTA04A5 (dm3730 > but with our own defconfig). This may reduce the number of problem areas > a little. Looks like there's a regression in general for appended dtb booting that was caused by commit 9f671e58159a ("security: Create "kernel hardening" config area"). With that change we now get STACKPROTECTOR_PER_TASK selected by default with Kconfig. Merlijn, care to try to disable STACKPROTECTOR_PER_TASK in your .config to see if that helps? Not sure why appended dtb boot now breaks though.. Could be just the zImage uncompressing over dtb again? Any ideas? Regards, Tony _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel