From 05621cf0b35aae2b05078a37b572632517459ea7 Mon Sep 17 00:00:00 2001 From: Tushar Behera Date: Wed, 23 Jan 2013 11:11:50 +0530 Subject: 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 : [] lr : [] 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 Signed-off-by: Jon Medhurst --- drivers/cpufreq/Kconfig.arm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/cpufreq/Kconfig.arm b/drivers/cpufreq/Kconfig.arm index 7985dcd2f5c..45c0ed8eaa0 100644 --- a/drivers/cpufreq/Kconfig.arm +++ b/drivers/cpufreq/Kconfig.arm @@ -91,7 +91,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. @@ -100,7 +100,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. -- cgit v1.2.3