Bug 66441

Summary: [pandaboard] omap-aes L3 standard error
Product: Drivers Reporter: Tobias Jakobi (liquid.acid)
Component: OtherAssignee: drivers_other
Status: RESOLVED CODE_FIX    
Severity: normal CC: nm, tony
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 3.13-rc2 Subsystem:
Regression: No Bisected commit-id:
Attachments: current kernel config for the panda-es
full dmesg output

Description Tobias Jakobi 2013-12-03 21:05:07 UTC
Created attachment 117301 [details]
current kernel config for the panda-es

Hello!

dmesg:
omap-aes 4b501000.aes: OMAP AES hw accel rev: 0.4
omap-dma-engine 4a056000.dma-controller: allocating channel for 110
omap-dma-engine 4a056000.dma-controller: allocating channel for 111
WARNING: CPU: 0 PID: 0 at drivers/bus/omap_l3_noc.c:97 l3_interrupt_handler+0xc0/0x164()
L3 standard error: TARGET:AES1 at address 0x101084
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.13.0-rc2+ #7
Backtrace: 
[<c0011a04>] (dump_backtrace+0x0/0x10c) from [<c0011ba0>] (show_stack+0x18/0x1c)
 r6:00000061 r5:00000009 r4:00000000 r3:00000000
[<c0011b88>] (show_stack+0x0/0x1c) from [<c0409a88>] (dump_stack+0x78/0x94)
[<c0409a10>] (dump_stack+0x0/0x94) from [<c00332ac>] (warn_slowpath_common+0x6c/0x90)
 r4:c056be28 r3:c0588a74
[<c0033240>] (warn_slowpath_common+0x0/0x90) from [<c0033374>] (warn_slowpath_fmt+0x38/0x40)
 r8:0000002a r7:00000000 r6:0000001a r5:f003cd00 r4:00080001
[<c003333c>] (warn_slowpath_fmt+0x0/0x40) from [<c01f0d34>] (l3_interrupt_handler+0xc0/0x164)
 r3:c04eae64 r2:c04ead9c
[<c01f0c74>] (l3_interrupt_handler+0x0/0x164) from [<c006e6ac>] (handle_irq_event_percpu+0x54/0x1a0)
 r7:00000000 r6:00000000 r5:ed007054 r4:ed1035c0
[<c006e658>] (handle_irq_event_percpu+0x0/0x1a0) from [<c006e844>] (handle_irq_event+0x4c/0x6c)
[<c006e7f8>] (handle_irq_event+0x0/0x6c) from [<c00718c4>] (handle_fasteoi_irq+0x84/0x150)
 r6:00000000 r5:0000002a r4:ed007000 r3:00000000
[<c0071840>] (handle_fasteoi_irq+0x0/0x150) from [<c006e03c>] (generic_handle_irq+0x28/0x38)
 r4:0000002a r3:c0071840
[<c006e014>] (generic_handle_irq+0x0/0x38) from [<c000f138>] (handle_IRQ+0x40/0x9c)
 r4:c0568c44 r3:000001a2
[<c000f0f8>] (handle_IRQ+0x0/0x9c) from [<c0008514>] (gic_handle_irq+0x30/0x64)
 r6:c056bf38 r5:c0572838 r4:fa24010c r3:000000a0
[<c00084e4>] (gic_handle_irq+0x0/0x64) from [<c0012680>] (__irq_svc+0x40/0x50)
Exception stack(0xc056bf38 to 0xc056bf80)
bf20:                                                       ffffffed 00888000
bf40: c05730ec 00000000 c05724a0 c041214c c056a000 c05a2ead c056a000 c056a000
bf60: 00000001 c056bf8c c056bf80 c056bf80 c000f4e8 c000f4e0 60000113 ffffffff
 r7:c056bf6c r6:ffffffff r5:60000113 r4:c000f4e0
[<c000f4b0>] (arch_cpu_idle+0x0/0x40) from [<c006dd2c>] (cpu_startup_entry+0x5c/0x154)
[<c006dcd0>] (cpu_startup_entry+0x0/0x154) from [<c0406a4c>] (rest_init+0x68/0x80)
 r7:c0ded840 r3:00000000
[<c04069e4>] (rest_init+0x0/0x80) from [<c053ba50>] (start_kernel+0x298/0x2dc)
[<c053b7b8>] (start_kernel+0x0/0x2dc) from [<80008070>] (0x80008070)

Greets,
Tobias
Comment 1 Tobias Jakobi 2013-12-03 21:06:41 UTC
Created attachment 117311 [details]
full dmesg output
Comment 2 Nishanth Menon 2013-12-04 17:15:25 UTC
Full discussion: http://marc.info/?t=138610477200004&r=1&w=2 along with patches proposed.
Comment 3 Tobias Jakobi 2014-05-01 11:44:41 UTC
Closing this, since the error doesn't occur on 3.15.0-rc3 anymore.

Still, AES hw doesn't work yet:
platform 4b501000.aes: Cannot lookup hwmod 'aes'
omap-aes 4b501000.aes: _od_fail_runtime_resume: FIXME: missing hwmod/omap_dev info
omap-aes 4b501000.aes: omap_aes_probe: failed to get_sync(-19)
omap-aes 4b501000.aes: initialization failed.