Hi ,
I use omap4460 panda i2c1 for transmit data,but sometimes the i2c control transmit data timeout and can't restore work . How to debug this problem?
Thank you .!!!
[ 8.689636] ------------[ cut here ]------------
[ 8.689697] WARNING: at arch/arm/mach-omap2/omap_l3_noc.c:135 l3_interrupt_handler+0x2e0/0x380()
[ 8.694885] CUSTOM SRESP error with SOURCE:L4 PER2
[ 8.694885] Modules linked in:
[ 8.694885] Backtrace:
[ 8.694885] [<c0056af0>] (dump_backtrace+0x0/0x110) from [<c05c971c>] (dump_stack+0x18/0x1c)
[ 8.716400] r6:00000087 r5:c007c254 r4:ec44fd10 r3:ec44e000
[ 8.716400] [<c05c9704>] (dump_stack+0x0/0x1c) from [<c00a12e4>] (warn_slowpath_common+0x5c/0x6c)
[ 8.742370] [<c00a1288>] (warn_slowpath_common+0x0/0x6c) from [<c00a1398>] (warn_slowpath_fmt+0x38/0x40)
[ 8.752929] r8:00000002 r7:f0834b48 r6:00080003 r5:c07e10dc r4:f0834b00
[ 8.752929] r3:00000009
[ 8.752929] [<c00a1360>] (warn_slowpath_fmt+0x0/0x40) from [<c007c254>] (l3_interrupt_handler+0x2e0/0x380)
[ 8.752929] r3:c0718924 r2:c0718828
[ 8.778717] [<c007bf74>] (l3_interrupt_handler+0x0/0x380) from [<c00e8d1c>] (handle_irq_event_percpu+0x58/0x188)
[ 8.778717] [<c00e8cc4>] (handle_irq_event_percpu+0x0/0x188) from [<c00e8e90>] (handle_irq_event+0x44/0x64)
[ 8.778717] [<c00e8e4c>] (handle_irq_event+0x0/0x64) from [<c00eb6e8>] (handle_fasteoi_irq+0xa4/0x10c)
[ 8.778717] r6:0000002a r5:c07b3b8c r4:c07b3b40 r3:c00494f0
[ 8.817901] [<c00eb644>] (handle_fasteoi_irq+0x0/0x10c) from [<c00e8840>] (generic_handle_irq+0x40/0x48)
[ 8.828460] r5:c0049e80 r4:c07c2568
[ 8.828460] [<c00e8800>] (generic_handle_irq+0x0/0x48) from [<c004b060>] (asm_do_IRQ+0x60/0xc0)
[ 8.832672] [<c004b000>] (asm_do_IRQ+0x0/0xc0) from [<c00522c8>] (__irq_svc+0x48/0xe0)
[ 8.832672] Exception stack(0xec44fe00 to 0xec44fe48)
[ 8.832672] fe00: f084c400 00000072 00000400 f084c7c8 c08561c0 c085625c c08561c0 00000001
[ 8.856842] fe20: c08561dc c08564b0 00000001 ec44fe74 00000011 ec44fe48 00000011 c027b6f8
[ 8.856842] fe40: 40000113 ffffffff
[ 8.856842] r7:00000001 r6:0000002a r5:fa240100 r4:ffffffff
[ 8.885742] [<c027b490>] (hdmi_core_ddc_edid+0x0/0x314) from [<c027b800>] (read_ti_4xxx_edid+0x5c/0xec)
[ 8.885742] [<c027b7a4>] (read_ti_4xxx_edid+0x0/0xec) from [<c026ab98>] (hdmi_read_edid+0x48/0x1c4)
[ 8.885742] r8:c08564b0 r7:00000002 r6:00000000 r5:c07e28b8 r4:c0856188
[ 8.885742] r3:00000000
[ 8.885742] [<c026ab50>] (hdmi_read_edid+0x0/0x1c4) from [<c026b700>] (hdmi_hotplug_detect_worker+0x140/0x1d8)
[ 8.928161] r8:c08564b0 r7:00000002 r6:c0856468 r5:c07e28b8 r4:c08564dc
[ 8.928161] [<c026b5c0>] (hdmi_hotplug_detect_worker+0x0/0x1d8) from [<c00b8504>] (process_one_work+0x114/0x410)
[ 8.928161] [<c00b83f0>] (process_one_work+0x0/0x410) from [<c00b8ba8>] (worker_thread+0x1a8/0x490)
[ 8.928161] [<c00b8a00>] (worker_thread+0x0/0x490) from [<c00bf7e4>] (kthread+0x94/0x98)
[ 8.957427] [<c00bf750>] (kthread+0x0/0x98) from [<c00a5bf8>] (do_exit+0x0/0x720)
[ 8.957427] r7:00000013 r6:c00a5bf8 r5:c00bf750 r4:ec441ec4
[ 8.957427] ---[ end trace 004c65124863c6f7 ]---
[ 9.685577] omap_i2c omap_i2c.1: controller timed out
[ 9.691223] ------------[ cut here ]------------
[ 9.691223] WARNING: at arch/arm/mach-omap2/omap_l3_noc.c:135 l3_interrupt_handler+0x2e0/0x380()
[ 9.696472] CUSTOM SRESP error with SOURCE:L4 PER2
[ 9.707122] omap_i2c_reset: i2c1: softreset failed (waited 10000 usec)
[ 9.707183] twl: i2c_read failed to transfer all messages (addr 0x004b, reg 3, len 1)
[ 9.707336] Modules linked in:
[ 9.707336] Backtrace:
[ 9.707336] [<c0056af0>] (dump_backtrace+0x0/0x110) from [<c05c971c>] (dump_stack+0x18/0x1c)
[ 9.734039] r6:00000087 r5:c007c254 r4:c07b1e48 r3:c07b0000
[ 9.734039] [<c05c9704>] (dump_stack+0x0/0x1c) from [<c00a12e4>] (warn_slowpath_common+0x5c/0x6c)
[ 9.734039] [<c00a1288>] (warn_slowpath_common+0x0/0x6c) from [<c00a1398>] (warn_slowpath_fmt+0x38/0x40)
[ 9.734039] r8:00000002 r7:f0834b48 r6:00080003 r5:c07e10dc r4:f0834b00
[ 9.778198] r3:00000009
[ 9.778198] [<c00a1360>] (warn_slowpath_fmt+0x0/0x40) from [<c007c254>] (l3_interrupt_handler+0x2e0/0x380)
[ 9.778198] r3:c0718924 r2:c0718828
[ 9.792022] [<c007bf74>] (l3_interrupt_handler+0x0/0x380) from [<c00e8d1c>] (handle_irq_event_percpu+0x58/0x188)
[ 9.792022] [<c00e8cc4>] (handle_irq_event_percpu+0x0/0x188) from [<c00e8e90>] (handle_irq_event+0x44/0x64)
[ 9.818389] [<c00e8e4c>] (handle_irq_event+0x0/0x64) from [<c00eb6e8>] (handle_fasteoi_irq+0xa4/0x10c)
[ 9.818389] r6:0000002a r5:c07b3b8c r4:c07b3b40 r3:c00494f0
[ 9.835479] [<c00eb644>] (handle_fasteoi_irq+0x0/0x10c) from [<c00e8840>] (generic_handle_irq+0x40/0x48)
[ 9.835479] r5:c0049e80 r4:c07c2568
[ 9.835479] [<c00e8800>] (generic_handle_irq+0x0/0x48) from [<c004b060>] (asm_do_IRQ+0x60/0xc0)
[ 9.850250] [<c004b000>] (asm_do_IRQ+0x0/0xc0) from [<c00522c8>] (__irq_svc+0x48/0xe0)
[ 9.868713] Exception stack(0xc07b1f38 to 0xc07b1f80)
[ 9.868713] 1f20: c07b0000 c07b0000
[ 9.883544] 1f40: c07b1f80 00000000 c07b0000 c0828c64 c05d54bc c07cad6c 8000406a 412fc09a
[ 9.883544] 1f60: 00000000 c07b1f8c c07b1f90 c07b1f80 c00539f0 c00539f4 60000113 ffffffff
[ 9.892608] r7:00000002 r6:0000002a r5:fa240100 r4:ffffffff
[ 9.892608] [<c00539c8>] (default_idle+0x0/0x30) from [<c005414c>] (cpu_idle+0xd0/0x104)
[ 9.892608] [<c005407c>] (cpu_idle+0x0/0x104) from [<c05be938>] (rest_init+0xa0/0xa4)
[ 9.892608] r7:00000000 r6:c003d364 r5:00000002 r4:c07b0000
[ 9.926177] [<c05be898>] (rest_init+0x0/0xa4) from [<c00089c8>] (start_kernel+0x2f4/0x300)
[ 9.926177] r5:00000000 r4:c07c23dc
[ 9.946258] [<c00086d4>] (start_kernel+0x0/0x300) from [<8000803c>] (0x8000803c)
[ 9.946258] r7:c07cad4c r6:c003d360 r5:c07c22c0 r4:10c5387d
[ 9.946258] ---[ end trace 004c65124863c6f8 ]---
[ 9.966400] Master 0x0 MPU
[ 9.970123] L4 PER2 OPCODE 0x00000002