linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Ulf Hansson <ulf.hansson@linaro.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>,
	"Rafael J. Wysocki" <rjw@rjwysocki.net>,
	Len Brown <len.brown@intel.com>,
	Linux PM list <linux-pm@vger.kernel.org>,
	Kevin Hilman <khilman@linaro.org>,
	Tomasz Figa <tomasz.figa@gmail.com>,
	Philipp Zabel <philipp.zabel@gmail.com>,
	Russell King <linux@arm.linux.org.uk>,
	Mark Brown <broonie@kernel.org>,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	Jack Dai <jack.dai@rock-chips.com>,
	Jinkun Hong <jinkun.hong@rock-chips.com>,
	Sylwester Nawrocki <s.nawrocki@samsung.com>,
	linux-samsung-soc <linux-samsung-soc@vger.kernel.org>
Subject: Re: Powering down unused PM domains (was: Re: [PATCH 0/4] PM / Domains: Fix race conditions during boot)
Date: Fri, 10 Oct 2014 10:55:29 +0200	[thread overview]
Message-ID: <20141010085529.GA27342@amd> (raw)
In-Reply-To: <CAPDyKFrJ7x-MS79OqxPOUWVearpp6AQP160+9QXnhVXWnH9aWw@mail.gmail.com>

Hi!

> > While operation A2 is PM domain-centric (it walks the list of genpd domains),
> > A3 and B3 are device-centric (A3 operates on one specific device, B3 walks the
> > list of devices).
> > Hence B3 never touches PM domains that don't contain any devices[*].
> > So these PM domains are kept powered-up if CONFIG_PM_RUNTIME=n, even on
> > system suspend.
> >
> > Shouldn't PM domains without devices be powered down at some point?
> > When? In B2, or in B3?
> 
> I agree with Rafael and Sylwester, that it would be an advantage if PM
> domains can be initialized in powered off state. Simply because, those
> may then be left in powered off state all the time, if they are
> unused.

Also... powering up all the domains at the same time is quite harsh at
the battery. Even if they are powered down "soon", it still causes
spike in current which may trip the battery (especially when battery
is old and nearly discharged).

> > P.S. Will any of you be at ELC-E next week, for further PM domain discussions?
> 
> That would have been great, but I won't be there. Unless I schedule a
> last minute trip. :-)

I should be there.
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

      parent reply	other threads:[~2014-10-10  8:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-07 19:09 Powering down unused PM domains (was: Re: [PATCH 0/4] PM / Domains: Fix race conditions during boot) Geert Uytterhoeven
2014-10-08  3:29 ` Powering down unused PM domains Kevin Hilman
2014-10-08 10:05   ` Mark Brown
2014-10-08 12:00 ` Powering down unused PM domains (was: Re: [PATCH 0/4] PM / Domains: Fix race conditions during boot) Ulf Hansson
2014-10-08 13:49   ` Rafael J. Wysocki
2014-10-10  8:55   ` Pavel Machek [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141010085529.GA27342@amd \
    --to=pavel@ucw.cz \
    --cc=broonie@kernel.org \
    --cc=geert@linux-m68k.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=jack.dai@rock-chips.com \
    --cc=jinkun.hong@rock-chips.com \
    --cc=khilman@linaro.org \
    --cc=len.brown@intel.com \
    --cc=linux-pm@vger.kernel.org \
    --cc=linux-samsung-soc@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=philipp.zabel@gmail.com \
    --cc=rjw@rjwysocki.net \
    --cc=s.nawrocki@samsung.com \
    --cc=tomasz.figa@gmail.com \
    --cc=ulf.hansson@linaro.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).