From patchwork Tue May 27 11:39:24 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kim Kukjin X-Patchwork-Id: 4248691 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 D8487BF90B for ; Tue, 27 May 2014 11:39:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 254DE2021B for ; Tue, 27 May 2014 11:39:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 402892025A for ; Tue, 27 May 2014 11:39:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663AbaE0Ljb (ORCPT ); Tue, 27 May 2014 07:39:31 -0400 Received: from mailout4.samsung.com ([203.254.224.34]:20090 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750904AbaE0Lja (ORCPT ); Tue, 27 May 2014 07:39:30 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0N680091FDPSLJ20@mailout4.samsung.com>; Tue, 27 May 2014 20:39:28 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id 68.B4.13369.07974835; Tue, 27 May 2014 20:39:28 +0900 (KST) X-AuditID: cbfee690-b7fb56d000003439-6e-538479708853 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 45.86.07139.F6974835; Tue, 27 May 2014 20:39:27 +0900 (KST) Received: from DOKGENEKIM03 ([12.36.166.133]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0N68009J6DPRKY80@mmp2.samsung.com>; Tue, 27 May 2014 20:39:27 +0900 (KST) From: Kukjin Kim To: 'Arnd Bergmann' , 'Abhilash Kesavan' Cc: nicolas.pitre@linaro.org, Dave.Martin@arm.com, lorenzo.pieralisi@arm.com, daniel.lezcano@linaro.org, linux-arm-kernel@lists.infradead.org, t.figa@samsung.com, abrestic@chromium.org, thomas.ab@samsung.com, inderpal.s@samsung.com, mark.rutland@arm.com, devicetree@vger.kernel.org, grant.likely@linaro.org, robh+dt@kernel.org, will.deacon@arm.com, kesavan.abhilash@gmail.com, linux-samsung-soc@vger.kernel.org References: <1399307221-8659-1-git-send-email-a.kesavan@samsung.com> <1399307221-8659-6-git-send-email-a.kesavan@samsung.com> <201405271307.56729.arnd@arndb.de> In-reply-to: <201405271307.56729.arnd@arndb.de> Subject: RE: [PATCH v5 5/5] arm: exynos: Add MCPM call-back functions Date: Tue, 27 May 2014 20:39:24 +0900 Message-id: <002101cf79a0$50fba0f0$f2f2e2d0$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: AQDvUpY8CY2JHNZcTUmeS7FTJuvJRAFg8ukSAeozHn2c+kBUQA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrBKsWRmVeSWpSXmKPExsVy+t8zA92CypZgg/1/WSwer1nMZLHy/V9G i7+TjrFbzPssa9E0dw+jxfwj51gtDvzZwWix+94XRos1f5UsNj2+xmox4/w+Jos3v1+wWyy9 fpHJ4tOzf+wWrXuPsFusn/GaxaJjGaPFy48nWByEPNbMW8Po8fvXJEaP2Q0XWTx2zrrL7rFp VSebx51re9g8Ni+p9+jbsorR4/MmuQDOKC6blNSczLLUIn27BK6MHy+2shf85ql4fLe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trIX/OapeHy3k6mBcQ9XFyMnh4SAicS255NZIWwxiQv31rN1MXJxCAlMZ5TY cfkVE0hCSOAvo0TrTkkQm01AQ+Lw+2fsILaIgL/E4f+/mEEamAWWMEucnNEF1b2EUWJO+2Ww bk4BfYn+24uBbA4OYQFXiTONeSBhFgFViZndb5hBwrwClhKHJzmAhHkFBCV+TL7HAmIzC2hJ rN95nAnClpfYvOYtM8ShChI7zr5mhLjBSeL7nausEDUiEvtevGOcwCg0C8moWUhGzUIyahaS lgWMLKsYRVMLkguKk9JzjfSKE3OLS/PS9ZLzczcxglPVM+kdjKsaLA4xCnAwKvHwTvBtDhZi TSwrrsw9xCjBwawkwru+pCVYiDclsbIqtSg/vqg0J7X4EGMy0KMTmaVEk/OBaTSvJN7Q2MTM yNLIzMLIxNycNGElcd6DrdaBQgLpiSWp2ampBalFMFuYODilGhh13hRpd9zM5+tee2F/6Qyf vYtUv89+9f/H35+WTTLl31z7dtW4XVGUcPSL4Dm59sXlWXskI5W9Us+Y1IjOuXmgq+1jsUjj eqv5b0+wZT5saNs5VfXNAgbhO6UuZntPMqzPX1qVcGtu0q9k45bjtiV+c9x4t7Pvkuy67GzE kWy/RVy++KHM8cVKLMUZiYZazEXFiQBWlfshmQMAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected 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=-7.5 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 Arnd Bergmann wrote: > > On Monday 05 May 2014, Abhilash Kesavan wrote: > > +static const struct mcpm_platform_ops exynos_power_ops = { > > + .power_up = exynos_power_up, > > + .power_down = exynos_power_down, > > + .power_down_finish = exynos_power_down_finish, > > +}; > > > I'm getting a build error in linux-next because there is > no .power_down_finish > member in mcpm_platform_ops here. > Yeah, commit 166aaf39 ("ARM: 8029/1: mcpm: Rename the power_down_finish() functions to be less confusing") changed the name to wait_for_cpu_powerdown... So need to change it accordingly... unsigned int cpunr = cpu + (cluster * EXYNOS5420_CPUS_PER_CLUSTER); @@ -261,7 +261,7 @@ static int exynos_power_down_finish(unsigned int cpu, unsigned int cluster) static const struct mcpm_platform_ops exynos_power_ops = { .power_up = exynos_power_up, .power_down = exynos_power_down, - .power_down_finish = exynos_power_down_finish, + .wait_for_powerdown = exynos_wait_for_powerdown, }; static void __init exynos_mcpm_usage_count_init(void) Thanks, Kukjin --- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-exynos/mcpm-exynos.c b/arch/arm/mach-exynos/mcpm-exynos.c index 1ac618c..34c4e6f 100644 --- a/arch/arm/mach-exynos/mcpm-exynos.c +++ b/arch/arm/mach-exynos/mcpm-exynos.c @@ -235,7 +235,7 @@ static void exynos_power_down(void) /* Not dead at this point? Let our caller cope. */ } -static int exynos_power_down_finish(unsigned int cpu, unsigned int cluster) +static int exynos_wait_for_powerdown(unsigned int cpu, unsigned int cluster) { unsigned int tries = 100;