From patchwork Thu Mar 15 15:13:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10284775 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8823C602BD for ; Thu, 15 Mar 2018 15:20:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 69D8528B51 for ; Thu, 15 Mar 2018 15:20:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6803E28AE0; Thu, 15 Mar 2018 15:20:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E984828B87 for ; Thu, 15 Mar 2018 15:20:15 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=fbAiXZfX4NQehKOb7sMHjPCJfVYrFQz3RYxJNx6bqn4=; b=RF6vG1toqLygcTdaoyjYDKZ/UD AcTzxnX42xsst6FImQcTob2zk2y94oUMemQCIAK8GTtZRO6hoXSXe07DrBpJcuI6luCBXAKYXsnMa FQW7Ph7OJNyi58H1se/ihQEahHVKbOJcfjyo8zxFq1d79/s7Fa7GenVc/B3QuP73Rtc3odK/HN/eK PfQ3lTgQ64aNal6VMA63l5ruANa55i752RfG41ZW59YlIpqcdzVt8dnFSkMs30zRuigVeiXBep4mw ajSTq8/+dci0ALGLt/2KfLU6gLgolVUPGMClHxCXA2YhR37+WdODhPNmn9a2BuddBQmNFPJgXXpIh V5+Vqa3w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewUfg-00022Y-Ba; Thu, 15 Mar 2018 15:20:00 +0000 Received: from mout.kundenserver.de ([212.227.126.135]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1ewUbB-0007BU-0C for linux-arm-kernel@lists.infradead.org; Thu, 15 Mar 2018 15:16:37 +0000 Received: from wuerfel.lan ([95.208.111.237]) by mrelayeu.kundenserver.de (mreue007 [212.227.15.129]) with ESMTPA (Nemesis) id 0LkEpj-1eKfqw18IN-00cTzh; Thu, 15 Mar 2018 16:14:05 +0100 From: Arnd Bergmann To: Shawn Guo , arm@kernel.org Subject: [PATCH 2/2] ARM: imx: select ARM_CPU_SUSPEND for CPU_IDLE as well Date: Thu, 15 Mar 2018 16:13:19 +0100 Message-Id: <20180315151345.3089601-2-arnd@arndb.de> X-Mailer: git-send-email 2.9.0 In-Reply-To: <20180315151345.3089601-1-arnd@arndb.de> References: <20180315151345.3089601-1-arnd@arndb.de> X-Provags-ID: V03:K0:zo0wDZAsBywMiKtAdUaRjxU8jKaHNi6at2P6jKxf7zPwSPWhV/V S05z5yznZ5oDB4Jzaug+r4j2ekZnLw6c6biEsgtX4CLgBXmANG6X95t0tdTgP+kdRFtn3II uhBh0Hpsko1KvU/nRS0ZToz87fXWMI46QtfbBjd/2mPGQNFxp+PlOkQPf7//rxnlyugQBPg jcEGyCeuMf/66KGNLEbxA== X-UI-Out-Filterresults: notjunk:1; V01:K0:RXuXQPpX9Tc=:YTGMdOfrDHBdr063OIUFGz 0B51h/R6iCYdrO2Z+KYXCnguUNMQV9t2VKtnmII5XD9ZHyH8Y2NyVpL1EeK+y79h1W3+myjcq +Bm7OzIhwDC/aAf+lsmKHbmysKloK3H2yft+A8+XyB1Sg2XnX457RJeiic81M6woeU3o0YMRu FZy5064X1entTP2ZhYheo5DOJPckX9C7qe5MouzsG5ZxMz8+JiSCd68IerxFJtusOT0jft9Ka y6io6gm2naoE3a4bgIBMFCJ3lrfR3UZEvOeFFMjLKDEIzYWzQ7z/lbw6dexJBVdH5h5AEZS70 TjW9E5NZZ7LeNK2qAAyyudTGUy+xARHtltXx6rNJDI5vm8NmbeO3Geb7k8qhGitgsuUbxW6IT mFvzp66URVYiHqNnyEO9BAVabRr2mYaTuLH0RyM6+e0i33s655x0HSoxEMtvwCpZBvqGLXcL4 2vvdJRJpwR8zHArGP+PwOUYIU7vUBbDnQf0gypiRk9j1r9bSDJS00MlRPzx9EAdB/CZfv/SVF RcAb8hyT0Echi1HTEpjecNtHpQaVzOjlEUAYIfYwCAMHz2j1E5UbVH/Rh2w6/GV7maxDwEiFe bKrSFIRRGTqUk8Y3u7GQPDcvXpCfy02PJO8AxRlvI9xmb2jaCFQSQANnOJulDuel1eIjzLBKN +CRFXKzXhgqON8OH63g7u0WFUDsTu0Ym9XTrHy96+7WcLrYtIWWgol2eNwBf2qYkwxfzyeBHR eZFpSCRTwGlvx2ojihBhKaa3hgET8vIco1Tkmg== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180315_081521_909410_6398E1BB X-CRM114-Status: GOOD ( 11.55 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bai Ping , Arnd Bergmann , Andrey Smirnov , linux-kernel@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de, fabio.estevam@nxp.com, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The cpuidle support calls cpu_suspend(), which is compiled conditionally, and fails to link unless something selects CONFIG_ARM_CPU_SUSPEND. arch/arm/mach-imx/cpuidle-imx6sx.o: In function `imx6sx_enter_wait': cpuidle-imx6sx.c:(.text+0x6c): undefined reference to `cpu_suspend' This adds an explicit select statement here. Signed-off-by: Arnd Bergmann Acked-by: Shawn Guo --- arch/arm/mach-imx/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index f53ec31c9f5a..e47fa13f4b0c 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -469,7 +469,7 @@ config SOC_IMX53 config SOC_IMX6 bool - select ARM_CPU_SUSPEND if PM + select ARM_CPU_SUSPEND if (PM || CPU_IDLE) select ARM_ERRATA_754322 select ARM_ERRATA_775420 select ARM_GIC