From patchwork Tue Oct 2 16:36:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11955 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id C697F24150 for ; Tue, 2 Oct 2012 16:37:19 +0000 (UTC) Received: from mail-ie0-f180.google.com (mail-ie0-f180.google.com [209.85.223.180]) by fiordland.canonical.com (Postfix) with ESMTP id 72DA2A1880A for ; Tue, 2 Oct 2012 16:37:19 +0000 (UTC) Received: by mail-ie0-f180.google.com with SMTP id e10so14608949iej.11 for ; Tue, 02 Oct 2012 09:37:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :x-provags-id:x-gm-message-state; bh=6NLTlexze8Ypsey9ljggJA4DCJL3kt7gUg3aB+MS4Js=; b=JfLZjLMvwOoBYIPuG09YvLE6aJ4DC+kbdo3KRWqVp+DHEXOw0huGs8fizsIK3w8fhB wc8EqjNbO3O3kwRs+1QFaLZ2MzG1eB47oJEmoQBrdlnYjyp3UNU69u+hyhQhNdmhoYUt 6Z1F/xP/8eGTEBIvT66BvPaB8SHfcQT4XavqX4xhUCedj7VQ56WmgqusvKUpzxqUJQ3G z8D8lUOMyF7yNNASSrGKh3ReLveqVuujoFrIiwPvlFOu87+UaMfVkEAj+cjXsX/gEnfH 4rmK3KAGRKNkVLvF8Ox3TwXE/MO4gvs+FmciWHiFqfszU21W1HOgEOPVUlfO1RmokSsy vLBA== Received: by 10.50.184.129 with SMTP id eu1mr9543283igc.0.1349195839163; Tue, 02 Oct 2012 09:37:19 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.232 with SMTP id ex8csp92059igc; Tue, 2 Oct 2012 09:37:18 -0700 (PDT) Received: by 10.180.76.69 with SMTP id i5mr23100107wiw.9.1349195837846; Tue, 02 Oct 2012 09:37:17 -0700 (PDT) Received: from moutng.kundenserver.de (moutng.kundenserver.de. [212.227.17.10]) by mx.google.com with ESMTPS id d4si24154108wie.16.2012.10.02.09.37.17 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 02 Oct 2012 09:37:17 -0700 (PDT) Received-SPF: neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) client-ip=212.227.17.10; Authentication-Results: mx.google.com; spf=neutral (google.com: 212.227.17.10 is neither permitted nor denied by best guess record for domain of arnd@arndb.de) smtp.mail=arnd@arndb.de Received: from localhost.localdomain (HSI-KBW-149-172-5-253.hsi13.kabel-badenwuerttemberg.de [149.172.5.253]) by mrelayeu.kundenserver.de (node=mrbap0) with ESMTP (Nemesis) id 0M0stL-1TYy1e3a1P-00uiwq; Tue, 02 Oct 2012 18:37:14 +0200 From: Arnd Bergmann To: linux-arm-kernel@infradead.org Cc: arm@kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Sascha Hauer , Shawn Guo Subject: [PATCH 09/17] ARM: imx: select ARM_CPU_SUSPEND if necessary Date: Tue, 2 Oct 2012 18:36:48 +0200 Message-Id: <1349195816-2225-10-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1349195816-2225-1-git-send-email-arnd@arndb.de> References: <1349195816-2225-1-git-send-email-arnd@arndb.de> X-Provags-ID: V02:K0:pn/anpJJPD5ZXVH0eq/2sxgL77p+4Kk2Rca+iNfALy+ 9EYsADEkHVXlv0Y7YjU6bXoF6RHdNc5yH2ch8tgJ90rBnwwTKl McCZnpNkmqbOsSjyzpn6qisaPGRsuxYjwHSRm5P6fZkNYbGth/ NqRsBNYqb0sEYukPq4xDM9ZVS0aOToD5J+UGWJ3Y7cy/iqbq5o ygNYDDn7jya8fZ89EWJcZglH0pJ0suUkBT4LJE7IivoVKX18zv vohZHbD7w1sIWU2sV9LG4mhrMLLgyy968wWb9Iep8Co2KU1zO7 t+8SZsxt6L7Qi5BjGA5jI2k7Pi0L+3ZNN1B/EPABmE595b871l 1e5ZudsqKqJILTOwiI9PIIUMkBDLekWIn/zNXnUNDMg8iLIrOL InSZCwckcqphw== X-Gm-Message-State: ALoCoQnoyDnjqxBmGqAABCeWqi0Auo/dhvkbO4CVkZ2h+28Fk93w6BokUEWWrudXDfCMXEZgVvO/ As tests using 'make randconfig' showed, imx5 requires the same logic as imx6 to select ARM_CPU_SUSPEND when building with power management enabled. The defconfig does not have this problem because it enables imx6 as well, but disabling it leads to this warning: arch/arm/mach-imx/built-in.o: In function `v7_cpu_resume': arch/arm/mach-imx/head-v7.S:104: undefined reference to `cpu_resume' Signed-off-by: Arnd Bergmann Cc: Sascha Hauer Cc: Shawn Guo --- arch/arm/mach-imx/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-imx/Kconfig b/arch/arm/mach-imx/Kconfig index afd542a..8e96573 100644 --- a/arch/arm/mach-imx/Kconfig +++ b/arch/arm/mach-imx/Kconfig @@ -89,6 +89,7 @@ config SOC_IMX5 select ARCH_MXC_IOMUX_V3 select ARCH_HAS_CPUFREQ select ARCH_MX5 + select ARM_CPU_SUSPEND if PM bool config SOC_IMX50