Other Parts Discussed in Thread: OMAPL138
Hi All,
I am using OMAPL138 LogicPD Evm for testing.
I enable the ECAP support in the linux kernel configuration and boot the board. After that I tried to put board in low power mode (Deep sleep mode) using "echo mem /sys/power/state" command.
when it tries to go in low power mode it gives me kernel crash.
============================================================
WARNING: at arch/arm/mach-davinci/clock.c:54 __clk_disable+0x34/0x108()
Modules linked in:
Backtrace:
[<c003471c>] (dump_backtrace+0x0/0x114) from [<c0390628>] (dump_stack+0x18/0x1c)
r7:00000000 r6:c003a670 r5:c0438b9c r4:00000036
[<c0390610>] (dump_stack+0x0/0x1c) from [<c00451c4>] (warn_slowpath_common+0x54/0x6c)
[<c0045170>] (warn_slowpath_common+0x0/0x6c) from [<c0045200>] (warn_slowpath_null+0x24/0x2c)
r9:00000000 r8:00000000 r7:c04ab17c r6:c04ab148 r5:c03ac164
r4:c04ac348
[<c00451dc>] (warn_slowpath_null+0x0/0x2c) from [<c003a670>] (__clk_disable+0x34/0x108)
[<c003a63c>] (__clk_disable+0x0/0x108) from [<c003a788>] (clk_disable+0x44/0x74)
r4:80000013
[<c003a744>] (clk_disable+0x0/0x74) from [<c01bb4f4>] (ecap_suspend+0x1c/0x30)
r5:c03ac164 r4:00000002
[<c01bb4d8>] (ecap_suspend+0x0/0x30) from [<c01f3330>] (platform_pm_suspend+0x58/0x64)
[<c01f32d8>] (platform_pm_suspend+0x0/0x64) from [<c01f6060>] (pm_op+0x58/0xb8)
[<c01f6008>] (pm_op+0x0/0xb8) from [<c01f69ac>] (__device_suspend+0xe8/0x150)
r9:c72b9a58 r8:00000000 r6:00000002 r5:c04ab148 r4:c04ab148
[<c01f68c4>] (__device_suspend+0x0/0x150) from [<c01f6cd0>] (dpm_suspend_start+0x2bc/0x3e4)
r7:c04ab1a0 r6:c04beb80 r5:00000000 r4:c04ab148
[<c01f6a14>] (dpm_suspend_start+0x0/0x3e4) from [<c00776ac>] (suspend_devices_and_enter+0x48/0x1b4)
[<c0077664>] (suspend_devices_and_enter+0x0/0x1b4) from [<c00778c4>] (enter_state+0xac/0xe8)
r7:c0397a90 r6:00000003 r5:00000003 r4:00000000
[<c0077818>] (enter_state+0x0/0xe8) from [<c0076f2c>] (state_store+0x98/0xc0)
r5:00000003 r4:c043b2ec
[<c0076e94>] (state_store+0x0/0xc0) from [<c01a603c>] (kobj_attr_store+0x20/0x24)
[<c01a601c>] (kobj_attr_store+0x0/0x24) from [<c00fdcf0>] (sysfs_write_file+0x110/0x148)
[<c00fdbe0>] (sysfs_write_file+0x0/0x148) from [<c00b08b8>] (vfs_write+0xb8/0x144)
[<c00b0800>] (vfs_write+0x0/0x144) from [<c00b0a08>] (sys_write+0x44/0x70)
r8:4004e000 r7:00000004 r6:c7232d80 r5:00000000 r4:00000000
[<c00b09c4>] (sys_write+0x0/0x70) from [<c0030f80>] (ret_fast_syscall+0x0/0x2c)
r8:c0031104 r7:00000004 r6:403075e8 r5:4004e000 r4:00000004
---[ end trace 293f62119dac1675 ]---
===============
from crash I can figure out that this is coming from the eCAP driver suspend function.
if any body knows what could be the reason for this crash please share with me to solve this.
Thanks,
Nirav.