From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] cpuidle: big.LITTLE: add MCPM dependency
Date: Mon, 14 Jul 2014 20:55:53 +0200 [thread overview]
Message-ID: <6876751.hCLZ4zM0XT@wuerfel> (raw)
In-Reply-To: <53C42522.9060907@linaro.org>
On Monday 14 July 2014 20:44:50 Daniel Lezcano wrote:
> > --- a/drivers/cpuidle/Kconfig.arm
> > +++ b/drivers/cpuidle/Kconfig.arm
> > @@ -10,6 +10,7 @@ config ARM_ARMADA_370_XP_CPUIDLE
> > config ARM_BIG_LITTLE_CPUIDLE
> > bool "Support for ARM big.LITTLE processors"
> > depends on ARCH_VEXPRESS_TC2_PM || ARCH_EXYNOS
> > + depends on MCPM
>
> Why do we want to depend on MCPM ? If I want to enable the cpuidle
> driver, the Kconfig should select the dependencies instead of letting
> the user to figure out what dependency is missing in order to enable the
> cpuidle option, no ?
>
> + select MCPM
>
MCPM is a user-selectable option, which doesn't mix well with 'select'.
If you want to use 'select' here, better also change
bool "Multi-Cluster Power Management"
to just
bool
in the ARM global Kconfig. The normal way to deal with these dependencies
though is to have platforms 'select' the features they allow and have
device drivers 'depends on' the same symbol.
Arnd
prev parent reply other threads:[~2014-07-14 18:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 11:23 [PATCH] cpuidle: big.LITTLE: add MCPM dependency Arnd Bergmann
2014-07-14 15:18 ` Nicolas Pitre
2014-07-14 18:44 ` Daniel Lezcano
2014-07-14 18:55 ` Arnd Bergmann [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=6876751.hCLZ4zM0XT@wuerfel \
--to=arnd@arndb.de \
--cc=linux-arm-kernel@lists.infradead.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