This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CUSTOM SRESP error with SOURCE:L4CFG

Dear All,

Our customer found 4AI.1.4-P1 with OMAP4460 ES1.1 would hang while resume.

The last kernel is following message. Do you have any idea to debug this issue?

[ 4650.948974] WARNING: at /home/lucian/project/fm2/kernel/android-3.0/arch/arm/mach-omap2/omap_l3_noc.c:135 l3_interrupt_handler+0x2e0/0x380()
[ 4650.962524] CUSTOM SRESP error with SOURCE:L4CFG
[ 4650.967498] Modules linked in: omaplfb_sgx540_120 pvrsrvkm_sgx540_120
[ 4650.974578] Backtrace:
[ 4650.977264] [<c0056b74>] (dump_backtrace+0x0/0x110) from [<c067a020>] (dump_stack+0x18/0x1c)
[ 4650.986267] r6:00000087 r5:c007d518 r4:c7aa39d0 r3:c7aa2000
[ 4650.992523] [<c067a008>] (dump_stack+0x0/0x1c) from [<c00a29ac>] (warn_slowpath_common+0x5c/0x6c)
[ 4651.002014] [<c00a2950>] (warn_slowpath_common+0x0/0x6c) from [<c00a2a60>] (warn_slowpath_fmt+0x38/0x40)
[ 4651.012115] r8:00000002 r7:f8000448 r6:00080003 r5:c08ae53c r4:f8000400
[ 4651.019256] r3:00000009
[ 4651.022247] [<c00a2a28>] (warn_slowpath_fmt+0x0/0x40) from [<c007d518>] (l3_interrupt_handler+0x2e0/0x380)
[ 4651.032470] r3:c07cbbe0 r2:c07cbb7c
[ 4651.036437] [<c007d238>] (l3_interrupt_handler+0x0/0x380) from [<c00ea3f4>] (handle_irq_event_percpu+0x58/0x188)
[ 4651.047271] [<c00ea39c>] (handle_irq_event_percpu+0x0/0x188) from [<c00ea568>] (handle_irq_event+0x44/0x64)
[ 4651.057617] [<c00ea524>] (handle_irq_event+0x0/0x64) from [<c00ecdc0>] (handle_fasteoi_irq+0xa4/0x10c)
[ 4651.067535] r6:0000002a r5:c0881b8c r4:c0881b40 r3:c00494f0
[ 4651.073791] [<c00ecd1c>] (handle_fasteoi_irq+0x0/0x10c) from [<c00e9f18>] (generic_handle_irq+0x40/0x48)
[ 4651.083862] r5:c0049eb0 r4:c0890588
[ 4651.087799] [<c00e9ed8>] (generic_handle_irq+0x0/0x48) from [<c004b060>] (asm_do_IRQ+0x60/0xc0)
[ 4651.097076] [<c004b000>] (asm_do_IRQ+0x0/0xc0) from [<c00522c8>] (__irq_svc+0x48/0xe0)
[ 4651.105499] Exception stack(0xc7aa3ac0 to 0xc7aa3b08)
[ 4651.110931] 3ac0: c728f9c0 c7467200 00000000 c0572bd0 00000025 c728f9c0 00000000 00000004
[ 4651.119659] 3ae0: 00000010 00000304 fdffe970 c7aa3b14 c06e5fdc c7aa3b08 c04a48e4 c0572bd0
[ 4651.128326] 3b00: 60000113 ffffffff
[ 4651.132110] r7:00000001 r6:0000002a r5:fa240100 r4:ffffffff
[ 4651.138366] [<c04a48c0>] (sock_poll+0x0/0x28) from [<c013ccec>] (do_select+0x688/0x928)
[ 4651.146911] [<c013c664>] (do_select+0x0/0x928) from [<c013d0ec>] (core_sys_select+0x160/0x310)
[ 4651.156066] [<c013cf8c>] (core_sys_select+0x0/0x310) from [<c013d538>] (sys_select+0x44/0x118)
[ 4651.165222] [<c013d4f4>] (sys_select+0x0/0x118) from [<c0052800>] (ret_fast_syscall+0x0/0x30)
[ 4651.174316] r8:c00529a8 r7:0000008e r6:00000000 r5:00000000 r4:00000000
[ 4651.181762] ---[ end trace ebea919c61117f1d ]---
[ 4651.186676] Master 0x0 MPU
[ 4651.190216] L4CFG OPCODE 0x00000002

BR

Kim

  • Hello Kim,

    What platform are they running 4AI.1.4-P1 on?  Blaze, panda, custom platform, etc.

    What is the context?  Are you suspending during a certain use case, or when nothing is going on and the user is idle?  Also, is this issue intermittent or occurs very frequently?

    Regards,

    Alex

  • Hello Alex,

    Thanks for your reply.

    This issue occurs on customer platform and it's a suspend/resume automatically test.

    The failed-rate is around 0.13%.

    The following message is the last kmsg after reset when system lock-up:

    [ 4591.922363] Disabling non-boot CPUs ...
    [ 4591.936157] CPU1: shutdown
    [ 4650.476715] Resume caused by IRQ 39, TWL6030-PIH
    [ 4650.482177] Successfully put all powerdomains to target state
    [ 4650.494934] Enabling non-boot CPUs ...
    [ 4650.516113] CPU1: Booted secondary processor
    [ 4650.518554] CPU1 is up
    [ 4650.521972] Switched to NOHz mode on CPU #1
    [ 4650.527709] PM: early resume of devices complete after 6.286 msecs
    [ 4650.653167] PVR: PVRSRVDriverResume(pDevice=c78abc00)
    [ 4650.659179] PVR: SysSystemPostPowerState: Entering state D0
    [ 4650.665618] PVR: EnableSystemClocks: Enabling System Clocks
    [ 4650.672302] PVR: Installing device LISR SGX ISR on IRQ 53 with cookie c71c3700
    [ 4650.680908] wake_lock: musb_autosuspend_wake_lock, type 0
    [ 4650.712127] wake_unlock: power-supply
    [ 4650.749053] lsm303dlhc_acc: hw init start
    [ 4650.756011] lsm303dlhc_acc: hw init done
    [ 4650.760559] lsm303dlhc_acc: power on: irq enabled
    [ 4650.815093] PM: resume of devices complete after 280.242 msecs
    [ 4650.841094] PM: Finishing wakeup.
    [ 4650.844940] Restarting tasks ...
    [ 4650.849151] hub 2-0:1.0: activate --> -22
    [ 4650.859863] adb_release
    [ 4650.867645] adb_open
    [ 4650.902862] done.
    [ 4650.943908] ------------[ cut here ]------------
    [ 4650.948974] WARNING: at /home/lucian/project/fm2/kernel/android-3.0/arch/arm/mach-omap2/omap_l3_noc.c:135 l3_interrupt_handler+0x2e0/0x380()
    [ 4650.962524] CUSTOM SRESP error with SOURCE:L4CFG
    [ 4650.967498] Modules linked in: omaplfb_sgx540_120 pvrsrvkm_sgx540_120
    [ 4650.974578] Backtrace:
    [ 4650.977264] [<c0056b74>] (dump_backtrace+0x0/0x110) from [<c067a020>] (dump_stack+0x18/0x1c)
    [ 4650.986267]  r6:00000087 r5:c007d518 r4:c7aa39d0 r3:c7aa2000
    [ 4650.992523] [<c067a008>] (dump_stack+0x0/0x1c) from [<c00a29ac>] (warn_slowpath_common+0x5c/0x6c)
    [ 4651.002014] [<c00a2950>] (warn_slowpath_common+0x0/0x6c) from [<c00a2a60>] (warn_slowpath_fmt+0x38/0x40)
    [ 4651.012115]  r8:00000002 r7:f8000448 r6:00080003 r5:c08ae53c r4:f8000400
    [ 4651.019256] r3:00000009
    [ 4651.022247] [<c00a2a28>] (warn_slowpath_fmt+0x0/0x40) from [<c007d518>] (l3_interrupt_handler+0x2e0/0x380)
    [ 4651.032470]  r3:c07cbbe0 r2:c07cbb7c
    [ 4651.036437] [<c007d238>] (l3_interrupt_handler+0x0/0x380) from [<c00ea3f4>] (handle_irq_event_percpu+0x58/0x188)
    [ 4651.047271] [<c00ea39c>] (handle_irq_event_percpu+0x0/0x188) from [<c00ea568>] (handle_irq_event+0x44/0x64)
    [ 4651.057617] [<c00ea524>] (handle_irq_event+0x0/0x64) from [<c00ecdc0>] (handle_fasteoi_irq+0xa4/0x10c)
    [ 4651.067535]  r6:0000002a r5:c0881b8c r4:c0881b40 r3:c00494f0
    [ 4651.073791] [<c00ecd1c>] (handle_fasteoi_irq+0x0/0x10c) from [<c00e9f18>] (generic_handle_irq+0x40/0x48)
    [ 4651.083862]  r5:c0049eb0 r4:c0890588
    [ 4651.087799] [<c00e9ed8>] (generic_handle_irq+0x0/0x48) from [<c004b060>] (asm_do_IRQ+0x60/0xc0)
    [ 4651.097076] [<c004b000>] (asm_do_IRQ+0x0/0xc0) from [<c00522c8>] (__irq_svc+0x48/0xe0)
    [ 4651.105499] Exception stack(0xc7aa3ac0 to 0xc7aa3b08)
    [ 4651.110931] 3ac0: c728f9c0 c7467200 00000000 c0572bd0 00000025 c728f9c0 00000000 00000004
    [ 4651.119659] 3ae0: 00000010 00000304 fdffe970 c7aa3b14 c06e5fdc c7aa3b08 c04a48e4 c0572bd0
    [ 4651.128326] 3b00: 60000113 ffffffff
    [ 4651.132110]  r7:00000001 r6:0000002a r5:fa240100 r4:ffffffff
    [ 4651.138366] [<c04a48c0>] (sock_poll+0x0/0x28) from [<c013ccec>] (do_select+0x688/0x928)
    [ 4651.146911] [<c013c664>] (do_select+0x0/0x928) from [<c013d0ec>] (core_sys_select+0x160/0x310)
    [ 4651.156066] [<c013cf8c>] (core_sys_select+0x0/0x310) from [<c013d538>] (sys_select+0x44/0x118)
    [ 4651.165222] [<c013d4f4>] (sys_select+0x0/0x118) from [<c0052800>] (ret_fast_syscall+0x0/0x30)
    [ 4651.174316]  r8:c00529a8 r7:0000008e r6:00000000 r5:00000000 r4:00000000
    [ 4651.181762] ---[ end trace ebea919c61117f1d ]---
    [ 4651.186676] Master 0x0        MPU
    [ 4651.190216] L4CFG OPCODE   0x00000002
    [ 4651.297088] late_resume: call handlers
    [ 4651.310058] DSSCOMP: dsscomp_late_resume

    BR

    Kim

  • Hi Kim,

    I apologize for the delay.  From this log all I can tell is during late resume in DSS, you are hitting the error.  You may want to search through the display drivers for any incorrect clock handling and check if its sequencing is correct.

    Regards

    Alex