From patchwork Tue Nov 6 06:12:35 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 1703081 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 1D1BEDF2A2 for ; Tue, 6 Nov 2012 06:11:41 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVcLA-0001DZ-6L; Tue, 06 Nov 2012 06:08:49 +0000 Received: from mailout1.samsung.com ([203.254.224.24]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVcL1-00018C-7P for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 06:08:43 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MD1002HEYDX4H50@mailout1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 15:08:27 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.123]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 92.94.12699.B59A8905; Tue, 06 Nov 2012 15:08:27 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-2a-5098a95b21f8 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 62.94.12699.B59A8905; Tue, 06 Nov 2012 15:08:27 +0900 (KST) Received: from localhost.localdomain ([107.108.73.92]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MD100IY4YA4QW80@mmp1.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 15:08:27 +0900 (KST) From: Abhilash Kesavan To: linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Subject: [PATCH 4/5] ARM: EXYNOS5: Remove scu_enable from cpuidle Date: Tue, 06 Nov 2012 11:42:35 +0530 Message-id: <1352182356-28989-5-git-send-email-a.kesavan@samsung.com> X-Mailer: git-send-email 1.6.6.1 In-reply-to: <1352182356-28989-1-git-send-email-a.kesavan@samsung.com> References: <1352182356-28989-1-git-send-email-a.kesavan@samsung.com> DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrHLMWRmVeSWpSXmKPExsWyRsSkWjd65YwAg2PH5C02Pb7G6sDosXlJ fQBjFJdNSmpOZllqkb5dAlfGipZOloIdbBU/luxjb2DcydrFyMEhIWAi0f/avIuRE8gUk7hw bz1bFyMXh5DAUkaJI9P+MkMkTCS2Xz3LApFYxChxZtkEVpCEkMB6JolTSxJAbDYBPYkF/76C NYgI2EusOHESzBYWcJR42HUazGYRUJW4f+Q/mM0r4CqxYO4DNogFChKnP6xlB7E5BdwkVv7s Z4KY7ypx4spKRoheAYlvkw+xQBwtK7HpADPIPRICB9gkPl+YD3WopMTBFTdYJjAKLWBkWMUo mlqQXFCclJ5rpFecmFtcmpeul5yfu4kRGGin/z2T3sG4qsHiEKMAB6MSD6+g2IwAIdbEsuLK 3EOMEhzMSiK8HHemBwjxpiRWVqUW5ccXleakFh9i9AG6ZCKzlGhyPjAK8kriDY1NzE2NTS2N jMxMTXEIK4nzNnukBAgJpCeWpGanphakFsGMY+LglGpgrDK689X18T67G+f2XJfcU152yCRq 9sPKDz/0GgS+JV/b38ztoaN0lOv7VIHHTVYGHRzWn3V3p3L21gj6rXt5sG1dlES/j2yiVOA/ 4cwz3LN4Kx7KXv5vu/Om35nLvxpjhE+eMfsZUfQze/41TbkpX6c5JC8rX/kqOf347Ygdr3d3 iYv4556qUmIpzkg01GIuKk4EAABftXphAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsVy+t9jAd3olTMCDP4ukLDY9PgaqwOjx+Yl 9QGMUQ2MNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlA U5UUyhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhDWMGStaOlkKdrBV/Fiyj72B cSdrFyMnh4SAicT2q2dZIGwxiQv31rN1MXJxCAksYpQ4s2wCWJGQwHomiVNLEkBsNgE9iQX/ vjKD2CIC9hIrTpwEs4UFHCUedp0Gs1kEVCXuH/kPZvMKuEosmPuADWKBgsTpD2vZQWxOATeJ lT/7mSDmu0qcuLKScQIjzwJGhlWMoqkFyQXFSem5RnrFibnFpXnpesn5uZsYwYH8THoH46oG i0OMAhyMSjy8gmIzAoRYE8uKK3MPMUpwMCuJ8HLcmR4gxJuSWFmVWpQfX1Sak1p8iNEH6KqJ zFKiyfnAKMsriTc0NjE3NTa1NLEwMbPEIawkztvskRIgJJCeWJKanZpakFoEM46Jg1OqgdGv XtZb+iKro/e1pHJuy+W/dnr45hduLhF9MmHy7bfTrgddLzR/e2bBXy7tO79t0u/dUXDjyt3N /FfonqHDG6YzUpcM1Lh0v1XaKK5qvvLmeSFza7fGQe2q8nTXudM83zCVzma54nrkx+K+lUf4 2jpb6k5vfuKgp+lfxXzgY1Okp7J+zAUeGyWW4oxEQy3mouJEAN/t5WeRAgAA X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121106_010841_973171_22499830 X-CRM114-Status: UNSURE ( 9.48 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -7.6 (-------) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-7.6 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [203.254.224.24 listed in list.dnswl.org] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.7 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Cortex A9 based exynos4 has a memory mapped SCU while the Cortex A15 based exynos5 does not. Hence, remove the call to scu_enable for exynos5. Signed-off-by: Abhilash Kesavan Signed-off-by: Inderpal Singh --- arch/arm/mach-exynos/cpuidle.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c index cff0595..8e4ec21 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -116,7 +116,8 @@ static int exynos4_enter_core0_aftr(struct cpuidle_device *dev, cpu_suspend(0, idle_finisher); #ifdef CONFIG_SMP - scu_enable(S5P_VA_SCU); + if (!soc_is_exynos5250()) + scu_enable(S5P_VA_SCU); #endif cpu_pm_exit();