Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423112AbbENXlj (ORCPT ); Thu, 14 May 2015 19:41:39 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:58942 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1422966AbbENXlh (ORCPT ); Thu, 14 May 2015 19:41:37 -0400 From: "Rafael J. Wysocki" To: Kevin Hilman Cc: grygorii.strashko@linaro.org, Pavel Machek , Len Brown , linux-pm@vger.kernel.org, ulf.hansson@linaro.org, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org, Tony Lindgren , Nishanth Menon , Santosh Shilimkar Subject: Re: [PATCH 0/3] Introduce SET_NOIRQ_SYSTEM_SLEEP_PM_OPS and use it Date: Fri, 15 May 2015 02:06:49 +0200 Message-ID: <1461742.xdGTkVV0dU@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/4.0.0+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <7hr3r4w9bf.fsf@linaro.org> References: <1430159072-31440-1-git-send-email-grygorii.strashko@linaro.org> <7hr3r4w9bf.fsf@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1865 Lines: 46 On Tuesday, April 28, 2015 08:40:04 AM Kevin Hilman wrote: > writes: > > > From: Grygorii Strashko > > > > While working on suspend-to-disk functionality on TI dra7-evm (DRA7xx SoC) > > i've found that the most common problem I have to dial with is absence > > of corresponding PM callbacks in drivers and, in particular, noirq callbacks. > > So, I've fixed one driver first > > commit 6248015d6867 "ARM: omap-device: add missed callback for suspend-to-disk" > > but then found another one which need to be fixed too (omap_l3_noc.c). > > At this moment I decided to make my life easier and added new macro > > SET_NOIRQ_SYSTEM_SLEEP_PM_OPS using the same approach as for the existing > > SET_SYSTEM_SLEEP_PM_OPS macro. > > > > SET_NOIRQ_SYSTEM_SLEEP_PM_OPS: defined for CONFIG_PM_SLEEP and > > assigns ->suspend_noirq, ->freeze_noirq and ->poweroff_noirq to the same > > function. Vice versa happens for ->resume_noirq, ->thaw_noirq and > > ->restore_noirq. > > > > Further two patches reuse this newly introduced macro. > > > > SET_NOIRQ_SYSTEM_SLEEP_PM_OPS, defined for CONFIG_PM_SLEEP, will > > point ->suspend_noirq, ->freeze_noirq and ->poweroff_noirq to the same > > function. Vice versa happens for ->resume_noirq, ->thaw_noirq and > > ->restore_noirq. > > For the series: > > Reviewed-by: Kevin Hilman > > And for the omap_device changes: > > Acked-by: Kevin Hilman All three queued up for 4.2, thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/