Message ID | 1399653631-4938-3-git-send-email-broonie@kernel.org (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
On 9 May 2014 22:10, Mark Brown <broonie@kernel.org> wrote: > From: Mark Brown <broonie@linaro.org> > > There are arm64 big.LITTLE systems so enable the big.LITTLE cpufreq driver. > While IKS is not available for these systems the driver is still useful > since it manages clusters with shared frequencies which is the common case > for these systems. > > Long term combining the cpufreq-cpu0 and big.LITTLE drivers may be a > more sensible option but that is substantially more complex especially > in the case of IKS. Yeah, it was left separately for IKS specially :( > Signed-off-by: Mark Brown <broonie@linaro.org> > --- > drivers/cpufreq/Kconfig.arm | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > index 6e05a1e18e52..6a7dd3e958d5 100644 > --- a/drivers/cpufreq/Kconfig.arm > +++ b/drivers/cpufreq/Kconfig.arm > @@ -5,7 +5,8 @@ > # big LITTLE core layer and glue drivers > config ARM_BIG_LITTLE_CPUFREQ > tristate "Generic ARM big LITTLE CPUfreq driver" > - depends on ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK > + depends on (BIG_LITTLE && ARM_CPU_TOPOLOGY) || (ARM64 && SMP) > + depends on HAVE_CLK > select PM_OPP > help > This enables the Generic CPUfreq driver for ARM big.LITTLE platforms. Acked-by: Viresh Kumar <viresh.kumar@linaro.org> -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tue, May 20, 2014 at 01:19:03AM +0200, Rafael J. Wysocki wrote:
> I've queued this one up for 3.16, thanks!
This will fail to build without patch 1 - it uses the stubs added there.
On Monday, May 12, 2014 09:46:01 AM Viresh Kumar wrote: > On 9 May 2014 22:10, Mark Brown <broonie@kernel.org> wrote: > > From: Mark Brown <broonie@linaro.org> > > > > There are arm64 big.LITTLE systems so enable the big.LITTLE cpufreq driver. > > While IKS is not available for these systems the driver is still useful > > since it manages clusters with shared frequencies which is the common case > > for these systems. > > > > Long term combining the cpufreq-cpu0 and big.LITTLE drivers may be a > > more sensible option but that is substantially more complex especially > > in the case of IKS. > > Yeah, it was left separately for IKS specially :( > > > Signed-off-by: Mark Brown <broonie@linaro.org> > > --- > > drivers/cpufreq/Kconfig.arm | 3 ++- > > 1 file changed, 2 insertions(+), 1 deletion(-) > > > > diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm > > index 6e05a1e18e52..6a7dd3e958d5 100644 > > --- a/drivers/cpufreq/Kconfig.arm > > +++ b/drivers/cpufreq/Kconfig.arm > > @@ -5,7 +5,8 @@ > > # big LITTLE core layer and glue drivers > > config ARM_BIG_LITTLE_CPUFREQ > > tristate "Generic ARM big LITTLE CPUfreq driver" > > - depends on ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK > > + depends on (BIG_LITTLE && ARM_CPU_TOPOLOGY) || (ARM64 && SMP) > > + depends on HAVE_CLK > > select PM_OPP > > help > > This enables the Generic CPUfreq driver for ARM big.LITTLE platforms. > > Acked-by: Viresh Kumar <viresh.kumar@linaro.org> I've queued this one up for 3.16, thanks! > -- > To unsubscribe from this list: send the line "unsubscribe linux-pm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
On Tuesday, May 20, 2014 12:07:29 AM Mark Brown wrote: > > --MAH+hnPXVZWQ5cD/ > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > > On Tue, May 20, 2014 at 01:19:03AM +0200, Rafael J. Wysocki wrote: > > > I've queued this one up for 3.16, thanks! > > This will fail to build without patch 1 - it uses the stubs added there. OK, dropping then. Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Hi Rafael, On Tue, May 20, 2014 at 12:36:56AM +0100, Rafael J. Wysocki wrote: > On Tuesday, May 20, 2014 12:07:29 AM Mark Brown wrote: > > > > --MAH+hnPXVZWQ5cD/ > > Content-Type: text/plain; charset=us-ascii > > Content-Disposition: inline > > > > On Tue, May 20, 2014 at 01:19:03AM +0200, Rafael J. Wysocki wrote: > > > > > I've queued this one up for 3.16, thanks! > > > > This will fail to build without patch 1 - it uses the stubs added there. > > OK, dropping then. This patch still made it as commit 4920ab84979d (cpufreq: Enable big.LITTLE cpufreq driver on arm64) and fails to build on arm64. Could you please revert it? Thanks.
On Thursday, June 05, 2014 11:04:16 AM Catalin Marinas wrote: > Hi Rafael, > > On Tue, May 20, 2014 at 12:36:56AM +0100, Rafael J. Wysocki wrote: > > On Tuesday, May 20, 2014 12:07:29 AM Mark Brown wrote: > > > > > > --MAH+hnPXVZWQ5cD/ > > > Content-Type: text/plain; charset=us-ascii > > > Content-Disposition: inline > > > > > > On Tue, May 20, 2014 at 01:19:03AM +0200, Rafael J. Wysocki wrote: > > > > > > > I've queued this one up for 3.16, thanks! > > > > > > This will fail to build without patch 1 - it uses the stubs added there. > > > > OK, dropping then. > > This patch still made it as commit 4920ab84979d (cpufreq: Enable > big.LITTLE cpufreq driver on arm64) and fails to build on arm64. Could > you please revert it? I will. Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-pm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 6e05a1e18e52..6a7dd3e958d5 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -5,7 +5,8 @@ # big LITTLE core layer and glue drivers config ARM_BIG_LITTLE_CPUFREQ tristate "Generic ARM big LITTLE CPUfreq driver" - depends on ARM && BIG_LITTLE && ARM_CPU_TOPOLOGY && HAVE_CLK + depends on (BIG_LITTLE && ARM_CPU_TOPOLOGY) || (ARM64 && SMP) + depends on HAVE_CLK select PM_OPP help This enables the Generic CPUfreq driver for ARM big.LITTLE platforms.