aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTushar Behera <tushar.behera@linaro.org>2013-01-23 11:11:50 +0530
committerJon Medhurst <tixy@linaro.org>2013-04-29 09:43:53 +0100
commitbe19b71b407ca8fbf196814a65bfa1a99bda3370 (patch)
tree640f912dab78ce49d3187dc9c48143926534fbb7
parenta3cafa7631efb9d73c00ceb56e54eacba7104556 (diff)
downloadvexpress-lsk-be19b71b407ca8fbf196814a65bfa1a99bda3370.tar.gz
cpufreq: ARM_DT_BL_CPUFREQ should be enabled only when BIG_LITTLE is enabled
Currently ARM_DT_BL_CPUFREQ gets enabled by default which causes a kernel-oops on Arndale board. Forcing this to only when BIG_LITTLE is enabled fixes following issue. Unable to handle kernel paging request at virtual address ffffffd0 pgd = c0004000 [ffffffd0] *pgd=6f7fe821, *pte=00000000, *ppte=00000000 Internal error: Oops: 17 [#2] PREEMPT SMP THUMB2 Modules linked in: CPU: 0 Tainted: G D (3.8.0-rc4+ #2) PC is at kthread_data+0xa/0x10 LR is at wq_worker_sleeping+0xf/0xa4 pc : [<c0035726>] lr : [<c0032273>] psr: a00000b3 sp : ef0adb98 ip : 00000001 fp : ef0a6080 r10: c1bb7140 r9 : c05cd140 r8 : ef0ac000 r7 : ef0adbb8 r6 : ef0a6080 r5 : 00000000 r4 : b0000000 r3 : 00000000 r2 : 00000000 r1 : 00000000 r0 : ef0a6080 Flags: NzCv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment user Control: 50c5387d Table: 6e4c806a DAC: 55555555 Signed-off-by: Tushar Behera <tushar.behera@linaro.org> Signed-off-by: Jon Medhurst <tixy@linaro.org>
-rw-r--r--drivers/cpufreq/Kconfig.arm4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm
index 84d08cabbac..6ef9c7b0691 100644
--- a/drivers/cpufreq/Kconfig.arm
+++ b/drivers/cpufreq/Kconfig.arm
@@ -121,7 +121,7 @@ config ARM_BIG_LITTLE_CPUFREQ
config ARM_DT_BL_CPUFREQ
tristate "Generic ARM big LITTLE CPUfreq driver probed via DT"
select ARM_BIG_LITTLE_CPUFREQ
- depends on OF
+ depends on OF && BIG_LITTLE
default y
help
This enables the Generic CPUfreq driver for ARM big.LITTLE platform.
@@ -130,7 +130,7 @@ config ARM_DT_BL_CPUFREQ
config ARM_VEXPRESS_BL_CPUFREQ
tristate "ARM Vexpress big LITTLE CPUfreq driver"
select ARM_BIG_LITTLE_CPUFREQ
- depends on ARM_SPC
+ depends on ARM_SPC && BIG_LITTLE
help
This enables the CPUfreq driver for ARM Vexpress big.LITTLE platform.
If in doubt, say N.