From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751687AbcEAIwl (ORCPT ); Sun, 1 May 2016 04:52:41 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:39875 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750881AbcEAIwj (ORCPT ); Sun, 1 May 2016 04:52:39 -0400 Date: Sun, 1 May 2016 10:52:36 +0200 From: Pavel Machek To: Sebastian Reichel Cc: Pali =?iso-8859-1?Q?Roh=E1r?= , Tony Lindgren , kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, Tomi Valkeinen Subject: Re: Nokia N900 retention mode in v4.6, camera buttons fun Message-ID: <20160501085236.GA14243@amd> References: <20160407234134.GQ16484@atomide.com> <20160411093023.GC11814@amd> <20160411094130.GA5753@amd> <20160411211026.GH5995@atomide.com> <20160412121658.GA32486@amd> <20160412123013.GA12296@amd> <20160412163055.GP5995@atomide.com> <20160417175539.GA502@amd> <20160421130450.GQ29406@pali> <20160429200559.GA16598@earth> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160429200559.GA16598@earth> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri 2016-04-29 22:06:00, Sebastian Reichel wrote: > Hi, > > On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Rohár wrote: > > > CONFIG_HSI breaks power management completely, so power management > > > with modem will be another topic. > > > > Sebastian, any idea why power management does not work for HSI? > > I wasn't aware, that pm_runtime_irq_safe() basically breaks runtime > PM until Tony's fix for musb (even though it's logical when thinking > about it). Currently omap-ssi and omap-ssi-port make use of > pm_runtime_irq_safe(). > > Since pm_runtime_get_sync/pm_runtime_put_sync is called from > tasklets in omap-ssi (and omap-ssi-port) it cannot be simply > removed. So fixing PM for the ssi controller requires reworking > the driver in a non trivial way. I see latest series, and it also talks about frequency scaling. But I guess it is not going to fix this issue? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html From mboxrd@z Thu Jan 1 00:00:00 1970 From: pavel@ucw.cz (Pavel Machek) Date: Sun, 1 May 2016 10:52:36 +0200 Subject: Nokia N900 retention mode in v4.6, camera buttons fun In-Reply-To: <20160429200559.GA16598@earth> References: <20160407234134.GQ16484@atomide.com> <20160411093023.GC11814@amd> <20160411094130.GA5753@amd> <20160411211026.GH5995@atomide.com> <20160412121658.GA32486@amd> <20160412123013.GA12296@amd> <20160412163055.GP5995@atomide.com> <20160417175539.GA502@amd> <20160421130450.GQ29406@pali> <20160429200559.GA16598@earth> Message-ID: <20160501085236.GA14243@amd> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri 2016-04-29 22:06:00, Sebastian Reichel wrote: > Hi, > > On Thu, Apr 21, 2016 at 03:04:50PM +0200, Pali Roh?r wrote: > > > CONFIG_HSI breaks power management completely, so power management > > > with modem will be another topic. > > > > Sebastian, any idea why power management does not work for HSI? > > I wasn't aware, that pm_runtime_irq_safe() basically breaks runtime > PM until Tony's fix for musb (even though it's logical when thinking > about it). Currently omap-ssi and omap-ssi-port make use of > pm_runtime_irq_safe(). > > Since pm_runtime_get_sync/pm_runtime_put_sync is called from > tasklets in omap-ssi (and omap-ssi-port) it cannot be simply > removed. So fixing PM for the ssi controller requires reworking > the driver in a non trivial way. I see latest series, and it also talks about frequency scaling. But I guess it is not going to fix this issue? Thanks, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html