From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexandre Courbot Subject: Re: [PATCH 1/2] ARM: firmware: Introduce suspend and resume operations Date: Thu, 26 Jun 2014 11:33:30 +0900 Message-ID: <53AB867A.901@nvidia.com> References: <1403713114-18923-1-git-send-email-t.figa@samsung.com> <1403713114-18923-2-git-send-email-t.figa@samsung.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from hqemgate14.nvidia.com ([216.228.121.143]:13993 "EHLO hqemgate14.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757262AbaFZCdf (ORCPT ); Wed, 25 Jun 2014 22:33:35 -0400 In-Reply-To: <1403713114-18923-2-git-send-email-t.figa@samsung.com> Sender: linux-samsung-soc-owner@vger.kernel.org List-Id: linux-samsung-soc@vger.kernel.org To: Tomasz Figa , "linux-samsung-soc@vger.kernel.org" Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Kukjin Kim , Olof Johansson , Arnd Bergmann , Russell King - ARM Linux , Stephen Warren , Marek Szyprowski , Tomasz Figa On 06/26/2014 01:18 AM, Tomasz Figa wrote: > This patch extends the firmware_ops structure with two new callbacks: > .suspend() and .resume(). The former is intended to ask the firmware to > save all its volatile state and suspend the system, without returning > back to the kernel in between. The latter is to be called early by > very low level platform suspend code after waking up to restore low > level hardware state, which can't be restored in non-secure mode. > > While at it, outdated version of the structure is removed from the > documentation and replaced with a reference to the header file. Acked-by: Alexandre Courbot From mboxrd@z Thu Jan 1 00:00:00 1970 From: acourbot@nvidia.com (Alexandre Courbot) Date: Thu, 26 Jun 2014 11:33:30 +0900 Subject: [PATCH 1/2] ARM: firmware: Introduce suspend and resume operations In-Reply-To: <1403713114-18923-2-git-send-email-t.figa@samsung.com> References: <1403713114-18923-1-git-send-email-t.figa@samsung.com> <1403713114-18923-2-git-send-email-t.figa@samsung.com> Message-ID: <53AB867A.901@nvidia.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 06/26/2014 01:18 AM, Tomasz Figa wrote: > This patch extends the firmware_ops structure with two new callbacks: > .suspend() and .resume(). The former is intended to ask the firmware to > save all its volatile state and suspend the system, without returning > back to the kernel in between. The latter is to be called early by > very low level platform suspend code after waking up to restore low > level hardware state, which can't be restored in non-secure mode. > > While at it, outdated version of the structure is removed from the > documentation and replaced with a reference to the header file. Acked-by: Alexandre Courbot