From patchwork Mon Jul 14 11:24:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 4544741 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 337FEC0515 for ; Mon, 14 Jul 2014 11:25:24 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 480E52010E for ; Mon, 14 Jul 2014 11:25:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3BC262013D for ; Mon, 14 Jul 2014 11:25:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753869AbaGNLZL (ORCPT ); Mon, 14 Jul 2014 07:25:11 -0400 Received: from mailout2.w1.samsung.com ([210.118.77.12]:31455 "EHLO mailout2.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754450AbaGNLZF (ORCPT ); Mon, 14 Jul 2014 07:25:05 -0400 Received: from eucpsbgm1.samsung.com (unknown [203.254.199.244]) by mailout2.w1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N8P00DG091ASS50@mailout2.w1.samsung.com>; Mon, 14 Jul 2014 12:24:46 +0100 (BST) X-AuditID: cbfec7f4-b7fac6d000006cfe-78-53c3be0e6176 Received: from eusync2.samsung.com ( [203.254.199.212]) by eucpsbgm1.samsung.com (EUCPMTA) with SMTP id B7.2E.27902.E0EB3C35; Mon, 14 Jul 2014 12:25:02 +0100 (BST) Received: from AMDC1943.digital.local ([106.116.151.171]) by eusync2.samsung.com (Oracle Communications Messaging Server 7u4-23.01(7.0.4.23.0) 64bit (built Aug 10 2011)) with ESMTPA id <0N8P00GZY91NWW30@eusync2.samsung.com>; Mon, 14 Jul 2014 12:25:02 +0100 (BST) From: Krzysztof Kozlowski To: Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Tomasz Figa , Kyungmin Park , Marek Szyprowski , Bartlomiej Zolnierkiewicz , Nicolas Pitre , Krzysztof Kozlowski , stable@vger.kernel.org Subject: [PATCH] ARM: EXYNOS: Fix MCPM build with SUSPEND=n Date: Mon, 14 Jul 2014 13:24:53 +0200 Message-id: <1405337093-15377-1-git-send-email-k.kozlowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrGJMWRmVeSWpSXmKPExsVy+t/xK7p8+w4HGxxq0LTYOGM9q8XrF4YW vQuuslmcbXrDbrHp8TVWi8u75rBZzDi/j8ni9mVei7VH7rJbTD/2l81iwcZHjBbrZ7xmceDx aGnuYfO4c20Pm8fmJfUefVtWMXp83iQXwBrFZZOSmpNZllqkb5fAldF17g17wXGOis+b9rE1 MC5n72Lk5JAQMJG4fGY6lC0mceHeerYuRi4OIYGljBIvLncyQTh9TBK3O58ygVSxCRhLbF6+ BKxKRGAHo8Tye5fZQRxmgSVMEit3HWQBqRIWsJaY97SLGcRmEVCVuDL3MdgOXgF3ibv7ZjJB 7JOTOHlsMusERu4FjAyrGEVTS5MLipPScw31ihNzi0vz0vWS83M3MULC6ssOxsXHrA4xCnAw KvHwVogdDhZiTSwrrsw9xCjBwawkwiu1DijEm5JYWZValB9fVJqTWnyIkYmDU6qBUU8kbXHv mQPCCwKiJHorNi88scLnQapS/opQg9DXH13iQh/NsivOvXBc8+U3AfP/d1nYrNRXpgpekPBS KmYVtHteNzOf89AeTbMfNwoOH/6+qcc70EGfcal9WBaHrqai24veUrHqqX4/eReePS+hzjvr ctzl2BWR7LOt/mluuL5O/sh/zcgOJZbijERDLeai4kQAJVr0igkCAAA= Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Building of EXYNOS5420_MCPM with disabled SUSPEND fails: arch/arm/mach-exynos/built-in.o: In function `exynos_mcpm_init': arch/arm/mach-exynos/mcpm-exynos.c:361: undefined reference to `mcpm_loopback' The exynos_mcpm_init() in mcp-exynos.c calls mcpm_loopback() which depends on cpu_suspend function (ARM_CPU_SUSPEND). Signed-off-by: Krzysztof Kozlowski Cc: Fixes: a6a4d3152e3cbb6 ("ARM: 8083/1: exynos: activate the CCI on boot CPU/cluster using the MCPM loopback") Acked-by: Nicolas Pitre --- arch/arm/mach-exynos/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 8f9b66c4ac78..5d4ff6571dcd 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -119,6 +119,7 @@ config EXYNOS5420_MCPM bool "Exynos5420 Multi-Cluster PM support" depends on MCPM && SOC_EXYNOS5420 select ARM_CCI + select ARM_CPU_SUSPEND help This is needed to provide CPU and cluster power management on Exynos5420 implementing big.LITTLE.