From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932145AbcBGVjx (ORCPT ); Sun, 7 Feb 2016 16:39:53 -0500 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:46355 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932118AbcBGVjv (ORCPT ); Sun, 7 Feb 2016 16:39:51 -0500 Date: Sun, 7 Feb 2016 22:39:49 +0100 From: Pavel Machek To: Sebastian Reichel Cc: Tony Lindgren , =?iso-8859-1?Q?Beno=EEt?= Cousson , Aaro Koskinen , Pali =?iso-8859-1?Q?Roh=E1r?= , linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/5] HSI: nokia-modem: kernel based PM Message-ID: <20160207213949.GC6147@amd> References: <1454203187-688-1-git-send-email-sre@kernel.org> <1454203187-688-3-git-send-email-sre@kernel.org> <20160131172948.GC3721@amd> <20160131180009.GB18175@earth> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160131180009.GB18175@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 Sun 2016-01-31 19:00:09, Sebastian Reichel wrote: > Hi, > > On Sun, Jan 31, 2016 at 06:29:48PM +0100, Pavel Machek wrote: > > > So far power management had to be done in uerspace using exported > > > > "userspace" > > Right, thanks. > > > > This patch adds kernel based power management, which will bind the > > > modem's power state to the state of the phonet network interface. > > > > Ok, so I have ofonod that already does power management in > > userspace. What happens when power management is done twice? > > I have patches for ofono, which add support for the in-kernel > power management. Currently ofono will not start with the new > method, since it wants the GPIOs for userspace based PM. Ok, but breaking userspace is a no-no, and stock ofono works well on N900. So this should not go in as-is...? Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html