From patchwork Tue Nov 6 06:12:34 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhilash Kesavan X-Patchwork-Id: 1703071 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 249B7DF2A2 for ; Tue, 6 Nov 2012 06:10:30 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVcKm-0000yd-EU; Tue, 06 Nov 2012 06:08:25 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TVcKV-0000oJ-4J for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 06:08:10 +0000 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MD10023QYDG4CH0@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Tue, 06 Nov 2012 15:08:06 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [172.20.52.122]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id C1.84.12699.649A8905; Tue, 06 Nov 2012 15:08:06 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-ca-5098a9467dfa Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 81.84.12699.549A8905; Tue, 06 Nov 2012 15:08:05 +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:05 +0900 (KST) From: Abhilash Kesavan To: linux-arm-kernel@lists.infradead.org, kgene.kim@samsung.com Subject: [PATCH 3/5] ARM: EXYNOS: Fix soft reboot hang after suspend/resume Date: Tue, 06 Nov 2012 11:42:34 +0530 Message-id: <1352182356-28989-4-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+NgFjrHLMWRmVeSWpSXmKPExsWyRsSkStdt5YwAgzMt7BabHl9jdWD02Lyk PoAxissmJTUnsyy1SN8ugSvj19w2poKNrBVnVjxjaWDcydLFyMkhIWAisePkEkYIW0ziwr31 bCC2kMBSRolZk4Jgal49mgJUzwUUX8Qoce70XBaIovVMEvceGYLYbAJ6Egv+fWUGsUUE7CVW nDgJZgsLeEt8mvKXFcRmEVCVuLxyBVgvr4CrxI9OiGUSAgoSpz+sZQexOQXcJFb+7GeCmO8q ceLKSkaIXgGJb5MPAfVyANXLSmw6wAxyj4TAETaJm21zWCHmSEocXHGDZQKj0AJGhlWMoqkF yQXFSem5RnrFibnFpXnpesn5uZsYgYF2+t8z6R2MqxosDjEKcDAq8fAKis0IEGJNLCuuzD3E KMHBrCTCy3FneoAQb0piZVVqUX58UWlOavEhRh+gSyYyS4km5wOjIK8k3tDYxNzU2NTSyMjM 1BSHsJI4b7NHSoCQQHpiSWp2ampBahHMOCYOTqkGxi2BC5kMeM8pLZXdLur4otFxhzf3x1Qf 1TeLT31t/bn2sCLf70fhHQ83XWJLlv+smKB8ML//yLEivx9vG/e9nn/tgEFJwybpPvYrqRMt dc4s+e+yvfK67PkmVc/tGncymC44vzPom/fCqHif1wQzP9eZ2UYiu6W6zVlc/0Ud51gYKRox 59jZCiWW4oxEQy3mouJEADCelelhAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrHLMWRmVeSWpSXmKPExsVy+t9jAV3XlTMCDE5MsLHY9PgaqwOjx+Yl 9QGMUQ2MNhmpiSmpRQqpecn5KZl56bZK3sHxzvGmZgaGuoaWFuZKCnmJuam2Si4+AbpumTlA U5UUyhJzSoFCAYnFxUr6dpgmhIa46VrANEbo+oYEwfUYGaCBhDWMGb/mtjEVbGStOLPiGUsD 406WLkZODgkBE4lXj6ZA2WISF+6tZ+ti5OIQEljEKHHu9FywhJDAeiaJe48MQWw2AT2JBf++ MoPYIgL2EitOnASzhQW8JT5N+csKYrMIqEpcXrkCrJdXwFXiRyfIUJAFChKnP6xlB7E5Bdwk Vv7sZ4KY7ypx4spKxgmMPAsYGVYxiqYWJBcUJ6XnGukVJ+YWl+al6yXn525iBAfyM+kdjKsa LA4xCnAwKvHwCorNCBBiTSwrrsw9xCjBwawkwstxZ3qAEG9KYmVValF+fFFpTmrxIUYfoKsm MkuJJucDoyyvJN7Q2MTc1NjU0sTCxMwSh7CSOG+zR0qAkEB6YklqdmpqQWoRzDgmDk6pBkYr b+0ZhbWth77/jDkf/Hy567Szk1bduhtQHaLqcWe+03Fe29tKzH2Nvmvex/zYt5Wx4/GPGLmY UFEuo6w/J9R69ios9FF82STnd3x27EQFUd8dlumSy1nKC5SmXG7TuFixKcthj84m0el32DoO MlZc6eOeE97Gr7J/p/MVmYLf+o/2v6lKWaHEUpyRaKjFXFScCABgZZMokQIAAA== X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121106_010809_614259_3D831438 X-CRM114-Status: UNSURE ( 8.35 ) 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.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 From: Inderpal Singh Upon wake-up, clear the sleep mode set in INFORM1 register. Signed-off-by: Inderpal Singh Tested-by: Abhilash Kesavan --- arch/arm/mach-exynos/pm.c | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c index c06c992..8dedeb2 100644 --- a/arch/arm/mach-exynos/pm.c +++ b/arch/arm/mach-exynos/pm.c @@ -312,6 +312,10 @@ static void exynos_pm_resume(void) } early_wakeup: + + /* Clear SLEEP mode set in INFORM1 */ + __raw_writel(0x0, S5P_INFORM1); + return; }