From patchwork Tue Nov 6 06:12:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 1703091 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 0B8733FCDE for ; Tue, 6 Nov 2012 06:12:21 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVcLb-0001Xf-R9; Tue, 06 Nov 2012 06:09:16 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVcLG-0001KI-Dl for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 06:08:55 +0000 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MD1003VSYETCYG0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 15:08:53 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [172.20.52.125]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 45.58.01231.579A8905; Tue, 06 Nov 2012 15:08:53 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-cb-5098a975864d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 25.58.01231.579A8905; Tue, 06 Nov 2012 15:08:53 +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:53 +0900 (KST) From: Abhilash Kesavan To: linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Subject: [PATCH 5/5] ARM: EXYNOS5: Add flush_cache_all in suspend finisher Date: Tue, 06 Nov 2012 11:42:36 +0530 Message-id: <1352182356-28989-6-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+NgFrrALMWRmVeSWpSXmKPExsWyRsSkVrd05YwAgy3d8habHl9jdWD02Lyk PoAxissmJTUnsyy1SN8ugStjydM+poLzrBWrLjxjaWA8y9LFyMkhIWAicazrHzuELSZx4d56 ti5GLg4hgaWMErMu3WGHKdqw7yoLRGIRo8SN+9/YIZz1TBJnt31gBqliE9CTWPDvK5gtImAv seLESTBbWMBL4svt9WA2i4CqxO2G+UwgNq+Aq8T6/e1QGxQkTn9YC2ZzCrhJrPzZD1YjBFRz 4spKRoheAYlvkw8BXcEBVC8rsekAM8gNEgIH2CQ2N3xhhpgjKXFwxQ2WCYxCCxgZVjGKphYk FxQnpeca6hUn5haX5qXrJefnbmIEBtvpf8+kdjCubLA4xCjAwajEw7tTeEaAEGtiWXFl7iFG CQ5mJRFejjvTA4R4UxIrq1KL8uOLSnNSiw8x+gBdMpFZSjQ5HxgJeSXxhsYm5qbGppZGRmam pjiElcR5mz1SAoQE0hNLUrNTUwtSi2DGMXFwSjUwrrU0eVlwZ+mzQyenS/O7iywy2uSz+MCh xDUdV1bnsHyaZb9A/TCv0BFO4fzbIr0c810/nrSyPbNVtqLsSMDJDWskGyW5PHXPxy24VsrQ JKR564O327yz88+vMPrQ6q65/bxNnv4xLclotUctMj98W+edz/t2YqrD/8W78qUXqq8yPxCu EzMlTImlOCPRUIu5qDgRAB9PzIxjAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPLMWRmVeSWpSXmKPExsVy+t9jAd3SlTMCDM7eErfY9PgaqwOjx+Yl 9QGMUQ2MNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlA U5UUyhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhDWMGUue9jEVnGetWHXhGUsD 41mWLkZODgkBE4kN+65C2WISF+6tZ+ti5OIQEljEKHHj/jd2CGc9k8TZbR+YQarYBPQkFvz7 CmaLCNhLrDhxEswWFvCS+HJ7PZjNIqAqcbthPhOIzSvgKrF+fzs7xAYFidMf1oLZnAJuEit/ 9oPVCAHVnLiyknECI88CRoZVjKKpBckFxUnpuYZ6xYm5xaV56XrJ+bmbGMGh/ExqB+PKBotD jAIcjEo8vDuFZwQIsSaWFVfmHmKU4GBWEuHluDM9QIg3JbGyKrUoP76oNCe1+BCjD9BVE5ml RJPzgXGWVxJvaGxibmpsamliYWJmiUNYSZy32SMlQEggPbEkNTs1tSC1CGYcEwenVAOj4d2D j/zXxCjU7sxndsqtedYzpco62mvmCb1j80ry467/35T/g/fUha2FE2ccsJjU8e9IgWGG14tI A62LwvM7PvrqsGgcfLsx08/LMyD1961tt8znLP+4eYNaK+uhaa+dH3sW5ZXcO7iwIepKuVD8 09P1H4pfulQrHvA6xJQZ8erWMcY4gRPuSizFGYmGWsxFxYkAgmJpWZICAAA= X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121106_010855_026433_6D8DA923 X-CRM114-Status: GOOD ( 10.51 ) 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.33 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 The core cpu_suspend code no longer calls flush_cache_all to optimize the cpu idle flow. Add a call for the same in the exynos specific suspend code. Signed-off-by: Abhilash Kesavan --- arch/arm/mach-exynos/pm.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index 8dedeb2..8df6ec5 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -81,6 +81,9 @@ static int exynos_cpu_suspend(unsigned long arg) outer_flush_all(); #endif + if (soc_is_exynos5250()) + flush_cache_all(); + /* issue the standby signal into the pm unit. */ cpu_do_idle();