Hi Morimoto-san, On Thursday 18 February 2016 07:39:58 Kuninori Morimoto wrote: > Hi Laurent > > > I've ran into a WARN_ON related to the sound driver on v4.5-rc3 on Lager. > > The problem doesn't seem to occur on v4.4. It also doesn't occur at every > > boot, you sometimes have to boot the board several times before > > reproducing it (up to 5 times in my tests, but usually less than that). > > > > To make the problem worse, I've only been able to reproduce it when > > disabling the vsp1 driver. I first blamed changes on the V4L2 side, but > > when reverting the V4L2 subsystem to v4.4 on top of an otherwise vanilla > > v4.5-rc3 the problem still occurs. > > > > Here's the WARN_ON log, I've also attached the full kernel log and my > > .config to this e-mail. Is this a known issue ? > > Thank you for your report, but I couldn't reproduce it. > Which tree/commit are you using ? does your "v4.5-rc3" means Linus/master ? > or renesas-driver ? I'm using the v4.5-rc3 tag from Linus' tree. > I used your .config, but my kernel log is not same as yours. > > About sound, I'm always testing shmobile_defconfig, but it seems you > added many configs. I'm happy to solve this issue. > > And, interesting things is that I got different panic I experience the same problem, it get fixed by enabling the DA9063 regulator driver. > ---------- > ... > [ 5.747675] host=192.168.10.107, domain=example.org, > nis-domain=(none) [ 5.754642] bootserver=192.168.10.77, > rootserver=192.168.10.77, rootpath=/tftpboot/rootfs_arm > nameserver0=192.168.10.77 [ 5.766273] SDHI0 Vcc: disabling > [ 5.769507] SDHI2 Vcc: disabling > [ 5.772739] SDHI0 VccQ: disabling > [ 5.776067] SDHI2 VccQ: disabling > [ 5.779841] sh-sci e6e60000.serial: dma_request_slave_channel_compat > failed [ 5.786837] sh-sci e6e60000.serial: > dma_request_slave_channel_compat failed [ 5.799314] VFS: Mounted root > (nfs filesystem) on device 0:15. > [ 5.805620] devtmpfs: mounted > [ 5.809890] Freeing unused kernel memory: 2048K (c0a00000 - c0c00000) > [ 59.144598] irq 311: nobody cared (try booting with the "irqpoll" option) > [ 59.151419] CPU: 0 PID: 410 Comm: irq/311-da9210 Not tainted > 4.5.0-rc3-02009-g83c516e #612 [ 59.159695] Hardware name: Generic R8A7790 > (Flattened Device Tree) [ 59.165879] Backtrace: > [ 59.168355] [<c020c890>] (dump_backtrace) from [<c020cabc>] > (show_stack+0x20/0x24) [ 59.175933] r7:00000137 r6:60000193 r5:c0c1d96c > r4:00000000 > [ 59.181641] [<c020ca9c>] (show_stack) from [<c03e9e00>] > (dump_stack+0xa0/0xb4) [ 59.188885] [<c03e9d60>] (dump_stack) from > [<c026ec94>] (__report_bad_irq+0x38/0xd0) [ 59.196636] r7:00000137 > r6:00000137 r5:00000000 r4:e99c7b80 > [ 59.202340] [<c026ec5c>] (__report_bad_irq) from [<c026f0c4>] > (note_interrupt+0x280/0x2d0) [ 59.210611] r7:00000137 r6:00000137 > r5:00000000 r4:e99c7b80 > [ 59.216315] [<c026ee44>] (note_interrupt) from [<c026c138>] > (handle_irq_event_percpu+0x1d0/0x238) [ 59.225195] r10:00002088 > r9:00000002 r8:e9a2a000 r7:00000002 r6:00000137 r5:e99c7be0 [ 59.233079] > r4:00000000 r3:00000000 > [ 59.236679] [<c026bf68>] (handle_irq_event_percpu) from [<c026c20c>] > (handle_irq_event+0x6c/0x90) [ 59.245559] r10:00000000 r9:00000000 > r8:f0852000 r7:ea22a600 r6:ea22a620 r5:e99c7be0 [ 59.253441] r4:e99c7b80 > [ 59.255988] [<c026c1a0>] (handle_irq_event) from [<c026f8d4>] > (handle_level_irq+0xb0/0x15c) [ 59.264347] r7:ea22a600 r6:ea22a620 > r5:e99c7b90 r4:e99c7b80 > [ 59.270048] [<c026f824>] (handle_level_irq) from [<c026b58c>] > (generic_handle_irq+0x34/0x44) [ 59.278493] r5:c0c3ab60 r4:00000004 > [ 59.282093] [<c026b558>] (generic_handle_irq) from [<c040c54c>] > (irqc_irq_handler+0x7c/0xac) [ 59.290542] [<c040c4d0>] (irqc_irq_handler) > from [<c026bfdc>] (handle_irq_event_percpu+0x74/0x238) [ 59.299508] > r9:00000000 r8:e9a2a000 r7:00000000 r6:00000020 r5:ea268ca0 r4:ea227580 [ > 59.307310] [<c026bf68>] (handle_irq_event_percpu) from [<c026c20c>] > (handle_irq_event+0x6c/0x90) [ 59.316190] r10:c026d32c r9:f0803000 > r8:ea00a800 r7:00000000 r6:00000000 r5:ea268ca0 [ 59.324072] r4:ea268c40 > [ 59.326619] [<c026c1a0>] (handle_irq_event) from [<c026fa44>] > (handle_fasteoi_irq+0xc4/0x1bc) [ 59.335151] r7:00000000 r6:00000000 > r5:c0c02d10 r4:ea268c40 > [ 59.340853] [<c026f980>] (handle_fasteoi_irq) from [<c026b58c>] > (generic_handle_irq+0x34/0x44) [ 59.349472] r7:00000000 r6:00000000 > r5:00000020 r4:c0a61228 > [ 59.355174] [<c026b558>] (generic_handle_irq) from [<c026b8c0>] > (__handle_domain_irq+0x6c/0xc4) [ 59.363884] [<c026b854>] > (__handle_domain_irq) from [<c02014c4>] (gic_handle_irq+0x58/0x98) [ > 59.372243] r9:f0803000 r8:f0802000 r7:e9a2be80 r6:f080200c r5:c0c02d10 > r4:c0c1dc58 [ 59.380042] [<c020146c>] (gic_handle_irq) from [<c020d680>] > (__irq_svc+0x40/0x54) [ 59.387533] Exception stack(0xe9a2be80 to > 0xe9a2bec8) > [ 59.392590] be80: e99c7bf8 60000113 00000001 00008625 e99c7bf8 60000113 > 00000003 00000001 [ 59.400778] bea0: 00000000 e9875f00 c026d32c e9a2bedc > e9a2bee0 e9a2bed0 c025fd90 c06439fc [ 59.408964] bec0: 60000113 ffffffff > [ 59.412453] r9:e9875f00 r8:00000000 r7:e9a2beb4 r6:ffffffff r5:60000113 > r4:c06439fc [ 59.420263] [<c06439cc>] (_raw_spin_unlock_irqrestore) from > [<c025fd90>] (__wake_up+0x54/0x5c) [ 59.428888] [<c025fd3c>] (__wake_up) > from [<c026d4b0>] (wake_threads_waitq+0x50/0x54) [ 59.436726] > r8:e99c7b80 r7:c026d660 r6:e9875f24 r5:00000000 r4:e9a2a000 [ 59.443479] > [<c026d460>] (wake_threads_waitq) from [<c026d71c>] > (irq_thread+0x1a8/0x264) [ 59.451585] [<c026d574>] (irq_thread) from > [<c0240a4c>] (kthread+0xf8/0x114) [ 59.458636] r10:00000000 r9:00000000 > r8:00000000 r7:c026d574 r6:e9875f00 r5:e99d9800 [ 59.466518] r4:00000000 > [ 59.469067] [<c0240954>] (kthread) from [<c0208ba8>] > (ret_from_fork+0x14/0x2c) [ 59.476296] r7:00000000 r6:00000000 > r5:c0240954 r4:e99d9800 > [ 59.481994] handlers: > [ 59.484271] [<c026c230>] irq_default_primary_handler threaded > [<c04548b0>] da9210_irq_handler [ 59.492828] Disabling IRQ #311 -- Regards, Laurent Pinchart