nareshkamboju

4.9 DEADLOCK-LKFT-kernel

May 25th, 2017
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. [ 2.856051] =============================================
  2. [ 2.856075] [ INFO: possible recursive locking detected ]
  3. [ 2.856101] 4.9.29-g42d2b13-dirty #1 Not tainted
  4. [ 2.856123] ---------------------------------------------
  5. [ 2.856147] swapper/0/1 is trying to acquire lock:
  6. [ 2.856171] (&rq->lock){-.-.-.}, at: [<ffffff800812e06c>] cpufreq_notifier_policy+0x29c/0x338
  7.  
  8. [ 2.856237] but task is already holding lock:
  9. [ 2.856264] (&rq->lock){-.-.-.}, at: [<ffffff800812e06c>] cpufreq_notifier_policy+0x29c/0x338
  10.  
  11. [ 2.856318] other info that might help us debug this:
  12. [ 2.856347] Possible unsafe locking scenario:
  13. [ 2.856347]
  14. [ 2.856378] CPU0
  15. [ 2.856396] ----
  16. [ 2.856413] lock(&rq->lock);
  17. [ 2.856442] lock(&rq->lock);
  18. [ 2.856471]
  19. [ 2.856471] *** DEADLOCK ***
  20. [ 2.856471]
  21. [ 2.856508] May be due to missing lock nesting notation
  22. [ 2.856508]
  23. [ 2.856542] 6 locks held by swapper/0/1:
  24. [ 2.856562] #0: (&dev->mutex){......}, at: [<ffffff800873b2d8>] __device_attach+0x30/0x148
  25. [ 2.856625] #1: (cpu_hotplug.dep_map){++++++}, at: [<ffffff80080cd810>] get_online_cpus+0x48/0xa8
  26. [ 2.856688] #2: (subsys mutex#7){+.+.+.}, at: [<ffffff80087397dc>] subsys_interface_register+0x44/0xd0
  27. [ 2.856754] #3: (&policy->rwsem){+.+.+.}, at: [<ffffff8008919304>] cpufreq_online+0x10c/0x690
  28. [ 2.856817] #4: ((cpufreq_policy_notifier_list).rwsem){.+.+..}, at: [<ffffff80080f8048>] __blocking_notifier_call_chain+0x40/0xa0
  29. [ 2.856884] #5: (&rq->lock){-.-.-.}, at: [<ffffff800812e06c>] cpufreq_notifier_policy+0x29c/0x338
  30. [ 2.856944]
  31. [ 2.856944] stack backtrace:
  32. [ 2.856975] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.29-g42d2b13-dirty #1
  33. [ 2.857009] Hardware name: HiKey Development Board (DT)
  34. [ 2.857033] Call trace:
  35. [ 2.857057] [<ffffff800808a708>] dump_backtrace+0x0/0x1d0
  36. [ 2.857085] [<ffffff800808a8fc>] show_stack+0x24/0x30
  37. [ 2.857113] [<ffffff80085b9458>] dump_stack+0xb0/0xe8
  38. [ 2.857140] [<ffffff800813bd34>] __lock_acquire+0xf4c/0x1870
  39. [ 2.857167] [<ffffff800813ca20>] lock_acquire+0xc0/0x270
  40. [ 2.857198] [<ffffff8008d7dcfc>] _raw_spin_lock+0x44/0x58
  41. [ 2.857225] [<ffffff800812e06c>] cpufreq_notifier_policy+0x29c/0x338
  42. [ 2.857254] [<ffffff80080f7a14>] notifier_call_chain+0x5c/0xa0
  43. [ 2.857282] [<ffffff80080f8060>] __blocking_notifier_call_chain+0x58/0xa0
  44. [ 2.857311] [<ffffff80080f80e4>] blocking_notifier_call_chain+0x3c/0x50
  45. [ 2.857341] [<ffffff8008919458>] cpufreq_online+0x260/0x690
  46. [ 2.857368] [<ffffff8008919998>] cpufreq_add_dev+0xe0/0x100
  47. [ 2.857395] [<ffffff800873982c>] subsys_interface_register+0x94/0xd0
  48. [ 2.857425] [<ffffff80089183d4>] cpufreq_register_driver+0x14c/0x1d0
  49. [ 2.857454] [<ffffff8008920cd8>] dt_cpufreq_probe+0xa0/0x140
  50. [ 2.857481] [<ffffff800873dd20>] platform_drv_probe+0x60/0xc8
  51. [ 2.857509] [<ffffff800873b6fc>] driver_probe_device+0x204/0x2b0
  52. [ 2.857538] [<ffffff800873b914>] __device_attach_driver+0xa4/0x100
  53. [ 2.857566] [<ffffff800873945c>] bus_for_each_drv+0x6c/0xa8
  54. [ 2.857593] [<ffffff800873b37c>] __device_attach+0xd4/0x148
  55. [ 2.857619] [<ffffff800873b9fc>] device_initial_probe+0x24/0x30
  56. [ 2.857647] [<ffffff800873a690>] bus_probe_device+0xa0/0xa8
  57. [ 2.857674] [<ffffff8008737f70>] device_add+0x2e8/0x5b8
  58. [ 2.857700] [<ffffff800873d9d0>] platform_device_add+0x108/0x250
  59. [ 2.857728] [<ffffff800873e6a8>] platform_device_register_full+0x108/0x138
  60. [ 2.857759] [<ffffff8009249218>] cpufreq_dt_platdev_init+0x88/0x9c
  61. [ 2.857787] [<ffffff80080838f4>] do_one_initcall+0x44/0x138
  62. [ 2.857816] [<ffffff8009200d80>] kernel_init_freeable+0x1fc/0x29c
  63. [ 2.857845] [<ffffff8008d76630>] kernel_init+0x18/0x110
  64. [ 2.857870] [<ffffff8008083680>] ret_from_fork+0x10/0x5
Add Comment
Please, Sign In to add comment