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=-15.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 D08D8C433F5 for ; Mon, 20 Sep 2021 23:50:13 +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 893B661159 for ; Mon, 20 Sep 2021 23:50:13 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 893B661159 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=183WAF/JTQj70QpOso0iNQ2nsOuEnGjrF98PNoQCYmw=; b=hOkyA9XAkfJsL9 /UoQT0PhkTZGqJCFBTF/YLFdMAwiZSc+Z4QzBRSTO2/ZKu5rPmo7DP/gLMel+Of9dU8tImMatO5wl IIUAt7kg7FWnokRzhe3fPUQPPUFR5EpCOcXVqK2rUka6Fm6kgKUT4ql1BzyNJacqD2VXuF76NcW9M VXtaN5h4OjmV34xut+rTiDd54l71YBJIKKbg8S8eFUzelyr6HRCjK32KmIIykXQs1DINS1q/WcRd8 bkBRqZuwtlxbuDTCQhgosmGxgrvuwAZxuHug8IrMjcrH38erN6AjD/HMnBOS9uzSnyoSw5lyK6UfR kyFRM/JITyrUs2Zbw7bQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mST1U-003LEt-Cl; Mon, 20 Sep 2021 23:48:32 +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 1mST1P-003LEK-NO for linux-arm-kernel@lists.infradead.org; Mon, 20 Sep 2021 23:48:29 +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=T1RFrzW21kzIZQqFZGBJPCEJ/CKQj6Iu6zOBR9y+v5E=; b=THjIGHzjDrIzSm/bUtJUWEeEdr MNq5lx3y2edGfzaG3NE0heLwtT/BfV98nK3DfAkMbPYN0tFtl/jgSoFUW95GbPb/F/YkuKM/enXip hLZDKrkRi3xy6Ed7bpnmIR8R03tkwOikzWoy/GkDVKbOCTXVy1kOwolEVX1ftvlLo9eUtvuEi+O4h PG8C9Vd6LHOthQDruKxeBbBcS+SD7LXWIPIlZbXvMGx8f+4TRI95SAVZ+zyIyXzTw07VNnP1Cf6QF fqoUa3AihZ/QNZlajuqwR3akH3yov+yKBhqYuDiAYyPva17OTFHGG8R2sLjhY9Epxf+tyA2VAI7RS uJjLM18w==; Received: from shell.armlinux.org.uk ([fd8f:7570:feb6:1:5054:ff:fe00:4ec]:54692) 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 1mST1N-000286-Vy; Tue, 21 Sep 2021 00:48:26 +0100 Received: from linux by shell.armlinux.org.uk with local (Exim 4.94.2) (envelope-from ) id 1mST1N-0002ib-CW; Tue, 21 Sep 2021 00:48:25 +0100 Date: Tue, 21 Sep 2021 00:48:25 +0100 From: "Russell King (Oracle)" To: Fabio Estevam Cc: shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, m.felsch@pengutronix.de, tharvey@gateworks.com, stable@vger.kernel.org Subject: Re: [PATCH] Revert "ARM: imx6q: drop of_platform_default_populate() from init_machine" Message-ID: References: <20210920234311.682163-1-festevam@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210920234311.682163-1-festevam@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210920_164827_803798_99FE9DEF X-CRM114-Status: GOOD ( 16.86 ) 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, Sep 20, 2021 at 08:43:11PM -0300, Fabio Estevam wrote: > This reverts commit cc8870bf4c3ab0af385538460500a9d342ed945f. > > Since commit cc8870bf4c3a ("ARM: imx6q: drop of_platform_default_populate() > from init_machine") the following errors are seen on boot: > > [ 0.123372] imx6q_suspend_init: failed to find ocram device! > [ 0.123537] imx6_pm_common_init: No DDR LPM support with suspend -19! > > , which break suspend/resume on imx6q/dl. > > Revert the offeding commit to avoid the regression. > > Thanks to Tim Harvey for bisecting this problem. > > Cc: stable@vger.kernel.org Thanks Fabio. Acked-by: Russell King (Oracle) > Fixes: cc8870bf4c3a ("ARM: imx6q: drop of_platform_default_populate() from init_machine") > Signed-off-by: Fabio Estevam > --- > arch/arm/mach-imx/mach-imx6q.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c > index 11dcc369ec14..c9d7c29d95e1 100644 > --- a/arch/arm/mach-imx/mach-imx6q.c > +++ b/arch/arm/mach-imx/mach-imx6q.c > @@ -172,6 +172,9 @@ static void __init imx6q_init_machine(void) > imx_get_soc_revision()); > > imx6q_enet_phy_init(); > + > + of_platform_default_populate(NULL, NULL, NULL); > + > imx_anatop_init(); > cpu_is_imx6q() ? imx6q_pm_init() : imx6dl_pm_init(); > imx6q_1588_init(); > -- > 2.25.1 > > -- 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