diff options
author | Jacob Kroon <jacob.kroon@mikrodidakt.se> | 2014-08-26 10:12:44 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2014-08-30 18:29:42 -0300 |
commit | d0a5d78ebc6fdf88f99d3ffb7ec4d899eb378355 (patch) | |
tree | e98aafdfee84c655f67cdba7e5fc7366f2ec62e7 /recipes-kernel | |
parent | f8681f39a2c9d41efe410444855f8934548a20cf (diff) | |
download | meta-fsl-arm-d0a5d78ebc6fdf88f99d3ffb7ec4d899eb378355.tar.gz |
linux-imx-rt: Use 'performance' as default cpufreq governor
Since CPU frequency scaling is a bad idea for real-time systems anyway,
use 'performance' and disable the remaining cpufreq governors.
Avoids the following issue:
BUG: scheduling while atomic: swapper/0/0/0x00000002
Modules linked in:
Preemption disabled at:[< (null)>] (null)
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.17-rt12-monkey+g232293e #1
[<80013c7c>] (unwind_backtrace+0x0/0xec) from [<80011644>] (show_stack+0x10/0x14)
[<80011644>] (show_stack+0x10/0x14) from [<8004e160>] (__schedule_bug+0x60/0xa8)
[<8004e160>] (__schedule_bug+0x60/0xa8) from [<80643458>] (__schedule+0x408/0x4a8)
[<80643458>] (__schedule+0x408/0x4a8) from [<8064352c>] (schedule+0x34/0xa4)
[<8064352c>] (schedule+0x34/0xa4) from [<80644104>] (rt_spin_lock_slowlock+0xc0/0x298)
[<80644104>] (rt_spin_lock_slowlock+0xc0/0x298) from [<80033780>] (lock_timer_base.isra.29+0x2c/0x4c)
[<80033780>] (lock_timer_base.isra.29+0x2c/0x4c) from [<80033944>] (mod_timer+0x60/0x1c4)
[<80033944>] (mod_timer+0x60/0x1c4) from [<8044bcc8>] (cpufreq_interactive_idle_notifier+0x148/0x180)
[<8044bcc8>] (cpufreq_interactive_idle_notifier+0x148/0x180) from [<8004ad40>] (notifier_call_chain+0x44/0x84)
[<8004ad40>] (notifier_call_chain+0x44/0x84) from [<8004afd4>] (atomic_notifier_call_chain+0x34/0x48)
[<8004afd4>] (atomic_notifier_call_chain+0x34/0x48) from [<8005d9a0>] (cpu_startup_entry+0xfc/0x164)
[<8005d9a0>] (cpu_startup_entry+0xfc/0x164) from [<80c1cab4>] (start_kernel+0x324/0x330)
[<80c1cab4>] (start_kernel+0x324/0x330) from [<10008074>] (0x10008074)
See:
https://lkml.org/lkml/2014/6/10/457
https://lists.yoctoproject.org/pipermail/meta-freescale/2014-June/008957.html
Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-imx-rt-3.10.17/mx6/defconfig | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/recipes-kernel/linux/linux-imx-rt-3.10.17/mx6/defconfig b/recipes-kernel/linux/linux-imx-rt-3.10.17/mx6/defconfig index 0144b3d..1d38f4e 100644 --- a/recipes-kernel/linux/linux-imx-rt-3.10.17/mx6/defconfig +++ b/recipes-kernel/linux/linux-imx-rt-3.10.17/mx6/defconfig | |||
@@ -36,11 +36,7 @@ CONFIG_AEABI=y | |||
36 | CONFIG_HIGHMEM=y | 36 | CONFIG_HIGHMEM=y |
37 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | 37 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" |
38 | CONFIG_CPU_FREQ=y | 38 | CONFIG_CPU_FREQ=y |
39 | CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y | 39 | # CONFIG_CPU_FREQ_STAT is not set |
40 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
41 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
42 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
43 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
44 | CONFIG_ARM_IMX6_CPUFREQ=y | 40 | CONFIG_ARM_IMX6_CPUFREQ=y |
45 | CONFIG_CPU_IDLE=y | 41 | CONFIG_CPU_IDLE=y |
46 | CONFIG_VFP=y | 42 | CONFIG_VFP=y |