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=-5.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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 0F151C433EF for ; Mon, 20 Sep 2021 16:24: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 C625D611AE for ; Mon, 20 Sep 2021 16:24:42 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C625D611AE Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=armlinux.org.uk Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=C4zCfYin0hiUgZxxX5HA/6IQ05LiYOZNl8pwuZnU8/I=; b=wdWZMJsSva7jwC il4gKXJgOSo62aHwAmJ3NYyAclEsjFiC02/+mDT0BLPiOr+2IUVQ9hMZPQnGWH7Fani6Ku6WC/ap+ KcKokPfh5PKv8+NeDO/hwnlPXb1+CJH5Dbbu5vZqr/qw6PBLK99DAzUhwFFTYZ6SNDbeslcbh7hn1 0nKYKYCOewqpRnxt4WAbtPGQrjztD+ZKCnytABQUBxAX4iAtmi9V8WLzgDpaQLAGtD1zExOe/cF1K VV5qt+ODTv6bvY5zCBNFlizfc9CXDZRQ1hvNycJL7ZhFLxBvaqfPEfkwFRO9AbcNO2KM+Vb6Wi5eK yW6QOMH7QGZcO2+bDvcg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSM48-002Ptw-2B; Mon, 20 Sep 2021 16:22:48 +0000 Received: from pandora.armlinux.org.uk ([2001:4d48:ad52:32c8:5054:ff:fe00:142]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mSM43-002Pt5-Ak for linux-arm-kernel@lists.infradead.org; Mon, 20 Sep 2021 16:22:46 +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=KovUvdh3nYMatS75diDANW2PM1p/36g3MuHE/2p7zlw=; b=pYMwbxwYpHPzDEccE5oJ05T6mq 0mhafAVD2DFE7Ro5CCyAVDA74GH454I3h4oSq7Q4YVjkHoVCQd3SywMEgT/DE2iO7bPqxD/JX4LRH ohQssgM4nUiEMqIcJSfDflKay7+gOcukivIGd6lodA4iApwVQ+gan4Gpk4psU8BmXlWklKP3juA/K USVYfVk/zaDf87D9UPAxzQU9qL5sBamd078UMB9vgGysPVkw9al9juIbcIaf8IwPlWe+4pZXe+Ewk Kv2Wo/4h16aemWjq79EjgcDH/vBkF0vxRs2elTxztB5+EuBGHswKf7EJ0dNUM+/DteqBi8JmVVDZV ovGSZx3A==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54676) by pandora.armlinux.org.uk with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mSM3y-0001p3-E6; Mon, 20 Sep 2021 17:22:38 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mSM3w-0002Qd-Jr; Mon, 20 Sep 2021 17:22:36 +0100 Date: Mon, 20 Sep 2021 17:22:36 +0100 From: "Russell King (Oracle)" To: Fabio Estevam Cc: Tim Harvey , Shawn Guo , Pengutronix Kernel Team , Linux ARM Mailing List , Lee Jones , Robin Murphy , NXP Linux Team Subject: Re: arm32 insecure W+X mapping Message-ID: References: <20210819212819.GM22278@shell.armlinux.org.uk> <20210820001646.GN22278@shell.armlinux.org.uk> <381afc78-5a7f-8286-76ea-2e6c7867972d@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210920_092243_420209_2467A02A X-CRM114-Status: GOOD ( 12.75 ) 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 Wed, Sep 15, 2021 at 06:44:56AM -0300, Fabio Estevam wrote: > Not sure if this is related or not to the following behavior that I am seeing. > > On 5.15-rc1 I see the following on an imx6dl based board: > > [ 0.123336] imx6q_suspend_init: failed to find ocram device! Looking at the platforms I currently have, two imx6q which booted 5.13 do not have this problem, but one imx6dl that booted 5.14 does seem to spit out this message. What I do notice is that in the 5.14 case, /proc/iomem reports that the ocram device does exist: 00900000-0091ffff : 900000.sram sram@900000 so I'm suspecting an init ordering issue. It looks on the face of it to be a regression between 5.13 and 5.14. I'm guessing that the sram device isn't being probed early enough. Maybe some of the initialisation/device model debug options can identify what changed? -- RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ FTTP is here! 40Mbps 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