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