deadlock when CONFIG_KEYBOARD_GPIO is enabled with debug on
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linaro-networking |
Won't Fix
|
Low
|
Unassigned |
Bug Description
When building kernel: git://git.
commit 0dc6903b3b36381
see .config file: http://
I runned into a deadlock see link for more information http://
here is a snippet from the log:
[ 3.561043] =======
[ 3.561046] [ INFO: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected ]
[ 3.561050] 3.10.6-
[ 3.561052] -------
[ 3.561056] swapper/0/1 [HC0[0]
[ 3.561072] (&(&(&bank-
[ 3.561074]
[ 3.561074] and this task is already holding:
[ 3.561089] (&irq_desc_
[ 3.561090] which would create a new lock dependency:
[ 3.561101] (&irq_desc_
[ 3.561103]
[ 3.561103] but this new dependency connects a HARDIRQ-irq-safe lock:
[ 3.561110] (&irq_desc_
[ 3.561110] ... which became HARDIRQ-irq-safe at:
[ 3.561119] [<80067d89>] __lock_
[ 3.561125] [<800691db>] lock_acquire+
[ 3.561131] [<80473383>] _raw_spin_
[ 3.561137] [<80083695>] handle_
[ 3.561143] [<80080ed9>] generic_
[ 3.561150] [<80018ea5>] handle_
[ 3.561155] [<800084a3>] gic_handle_
[ 3.561160] [<8001803f>] __irq_svc+0x3f/0x9c
[ 3.561166] [<8001913a>] arch_cpu_
[ 3.561172] [<8005b8bb>] cpu_startup_
[ 3.561178] [<8069c97d>] start_kernel+
[ 3.561183] [<4000808d>] 0x4000808d
[ 3.561185]
[ 3.561185] to a HARDIRQ-irq-unsafe lock:
[ 3.561192] (&(&(&bank-
[ 3.561192] ... which became HARDIRQ-irq-unsafe at:
[ 3.561200] ... [<8006790d>] __lock_
[ 3.561206] [<800691db>] lock_acquire+
[ 3.561210] [<80473383>] _raw_spin_
[ 3.561215] [<804728f9>] rt_spin_
[ 3.561219] [<80472efd>] rt_spin_
[ 3.561227] [<8029d259>] samsung_
[ 3.561232] [<8029d321>] samsung_
[ 3.561237] [<8029c9ab>] pinconf_
[ 3.561245] [<8029a4af>] pinctrl_
[ 3.561252] [<802dd17f>] pinctrl_
[ 3.561258] [<802cbb2f>] driver_
[ 3.561263] [<802cbcf7>] __driver_
[ 3.561268] [<802ca837>] bus_for_
[ 3.561273] [<802cb567>] bus_add_
[ 3.561278] [<802cc10b>] driver_
[ 3.561283] [<8000862d>] do_one_
[ 3.561288] [<8069ca93>] kernel_
[ 3.561295] [<804676e5>] kernel_
[ 3.561299] [<8001866d>] ret_from_
[ 3.561301]
[ 3.561301] other info that might help us debug this:
[ 3.561301]
[ 3.561303] Possible interrupt unsafe locking scenario:
[ 3.561303]
[ 3.561305] CPU0 CPU1
[ 3.561306] ---- ----
[ 3.561310] lock(&(
[ 3.561312] local_irq_
[ 3.561316] lock(&irq_
[ 3.561320] lock(&(
[ 3.561322] <Interrupt>
[ 3.561326] lock(&irq_
[ 3.561327]
[ 3.561327] *** DEADLOCK ***
when I build the same kernel with CONFIG_
http://
I do not get any deadlock and the kernel boots, see log:
http://
affects: | arndale → linaro-networking |
Changed in linaro-networking: | |
importance: | Undecided → Low |
Changed in linaro-networking: | |
status: | New → Confirmed |
Changed in linaro-networking: | |
status: | Confirmed → Won't Fix |
additional information:
kernel version 3.10.6 + rt3