With the attached config, Salvator-X(S) (H3 ES1/2 and M3-W) hang during boot. This does not happen with renesas-defconfig. ============================================ WARNING: possible recursive locking detected 4.15.0-rc3-salvator-x #1515 Not tainted -------------------------------------------- kworker/2:1/58 is trying to acquire lock: ((wq_completion)"events"){+.+.}, at: [<00000000d5acd491>] wait_for_completion+0x14/0x1c but task is already holding lock: ((wq_completion)"events"){+.+.}, at: [<00000000b4b1d69e>] process_one_work+0x1a8/0x648 other info that might help us debug this: Possible unsafe locking scenario: CPU0 ---- lock((wq_completion)"events"); lock((wq_completion)"events"); *** DEADLOCK *** May be due to missing lock nesting notation 3 locks held by kworker/2:1/58: #0: ((wq_completion)"events"){+.+.}, at: [<00000000b4b1d69e>] process_one_work+0x1a8/0x648 #1: (deferred_probe_work){+.+.}, at: [<00000000b4b1d69e>] process_one_work+0x1a8/0x648 #2: (&dev->mutex){....}, at: [<0000000078a5bb8f>] __device_attach+0x28/0xf8 stack backtrace: CPU: 2 PID: 58 Comm: kworker/2:1 Not tainted 4.15.0-rc3-salvator-x #1515 Hardware name: Renesas Salvator-X 2nd version board based on r8a7795 ES2.0+ (DT) Workqueue: events deferred_probe_work_func Call trace: dump_backtrace+0x0/0x118 show_stack+0x14/0x1c dump_stack+0xb4/0xf0 __lock_acquire+0xfe0/0x1208 lock_acquire+0x19c/0x24c wait_for_common+0x68/0x1f0 wait_for_completion+0x14/0x1c flush_workqueue+0x19c/0x3c4 drm_mode_config_cleanup+0x84/0x22c rcar_du_remove+0x38/0x50 rcar_du_probe+0x114/0x12c platform_drv_probe+0x58/0xa4 driver_probe_device+0x178/0x2f8 __device_attach_driver+0xa0/0xb0 bus_for_each_drv+0x74/0x90 __device_attach+0x90/0xf8 device_initial_probe+0x10/0x18 bus_probe_device+0x2c/0x90 deferred_probe_work_func+0x108/0x13c process_one_work+0x328/0x648 process_scheduled_works+0x30/0x40 worker_thread+0x260/0x350 kthread+0x158/0x160 ret_from_fork+0x10/0x18 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Attachment:
salvator-config.gz
Description: GNU Zip compressed data