From: Andrew Lunn <andrew@lunn.ch>
To: mturquette@linaro.org
Cc: arnd.bergmann@linaro.org, rob.herring@calxeda.com,
linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: COMMON_CLK_DISABLE_UNUSED
Date: Tue, 10 Apr 2012 00:29:03 +0200 [thread overview]
Message-ID: <20120409222903.GA31622@lunn.ch> (raw)
Hi Mike
I've been thinking about:
config COMMON_CLK_DISABLE_UNUSED
bool "Disabled unused clocks at boot"
depends on COMMON_CLK
---help---
Traverses the entire clock tree and disables any clocks that are
enabled in hardware but have not been enabled by any device drivers.
This saves power and keeps the software model of the clock in line
with reality.
If in doubt, say "N".
I think in the long run, having this as an option is going to cause
problems, in particular for the One ARM Kernel. Some platforms are
going to want it enabled, others will want it disabled. Depending on
who looses out, there are going to be power regressions, or clocks
unexpectedly turned off.
I think it would be good to consider deleting this config option and
just have the code always enabled.
What do you think?
Thanks
Andrew
next reply other threads:[~2012-04-09 22:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-09 22:29 Andrew Lunn [this message]
2012-04-09 23:04 ` COMMON_CLK_DISABLE_UNUSED Turquette, Mike
2012-04-10 13:36 ` COMMON_CLK_DISABLE_UNUSED Rob Herring
2012-04-17 22:05 ` COMMON_CLK_DISABLE_UNUSED Turquette, Mike
2012-05-01 22:44 ` COMMON_CLK_DISABLE_UNUSED Mike Turquette
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=20120409222903.GA31622@lunn.ch \
--to=andrew@lunn.ch \
--cc=arnd.bergmann@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@linaro.org \
--cc=rob.herring@calxeda.com \
/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