Stephen Boyd
a0806f9eed
USB: OTG: msm: Fix inconsistent lockdep state warning
=================================
[ INFO: inconsistent lock state ]
3.0.21-g51ce160-00021-g8b33780-dirty #2904
---------------------------------
inconsistent {IN-HARDIRQ-W} -> {HARDIRQ-ON-W}
kworker/0:1/32 [HC0[0]:SC0[0]:HE1:SE1] takes:
(&irq_desc_lock_class){?.....}, at: [<c01cfd10>] irq_read_line+0x3c/0x80
{IN-HARDIRQ-W} state was registered at:
[<c01b8768>] __lock_acquire+0x704/0x9f8
[<c01b9034>] lock_acquire+0x10c/0x130
[<c0833ac8>] _raw_spin_lock+0x44/0x54
[<c01d1c30>] handle_fasteoi_irq+0x14/0x108
[<c01ce8ac>] generic_handle_irq+0x28/0x3c
[<c0106f6c>] handle_IRQ+0x7c/0xc0
[<c0100458>] gic_handle_irq+0xac/0x104
[<c0834798>] __irq_svc+0x58/0x8c
[<c01070b4>] default_idle+0x28/0x2c
[<c010742c>] cpu_idle+0x8c/0xf4
[<c0808ddc>] rest_init+0xd8/0x100
[<c0008a90>] start_kernel+0x464/0x4d8
[<8020803c>] 0x8020803c
other info that might help us debug this:
Possible unsafe locking scenario:
CPU0
----
lock(&irq_desc_lock_class);
<Interrupt>
lock(&irq_desc_lock_class);
*** DEADLOCK ***
2 locks held by kworker/0:1/32:
#0: (events_nrt){.+.+..}, at: [<c019c49c>] process_one_work+0x1f8/0x518
#1: ((&motg->sm_work)){+.+...}, at: [<c019c49c>] process_one_work+0x1f8/0x518
stack backtrace:
[<c010c798>] (unwind_backtrace+0x0/0x12c) from [<c01b53bc>]
[<c01b53bc>] (print_usage_bug+0x248/0x2ac) from [<c01b5804>]
[<c01b5804>] (mark_lock+0x3e4/0x6ec) from [<c01b87f4>]
[<c01b87f4>] (__lock_acquire+0x790/0x9f8) from [<c01b9034>]
[<c01b9034>] (lock_acquire+0x10c/0x130) from [<c0833ac8>]
[<c0833ac8>] (_raw_spin_lock+0x44/0x54) from [<c01cfd10>]
[<c01cfd10>] (irq_read_line+0x3c/0x80) from [<c04e79b8>]
[<c04e79b8>] (msm_otg_sm_work+0x1a0/0x1510) from [<c019c57c>]
[<c019c57c>] (process_one_work+0x2d8/0x518) from [<c019cb94>]
[<c019cb94>] (worker_thread+0x220/0x3a0) from [<c01a2a80>]
[<c01a2a80>] (kthread+0x88/0x94) from [<c0107008>]
Change-Id: I7966d183cad54758508cb9635ebe3f31fba408b9
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2013-02-25 11:36:45 -08:00
..
2012-05-17 16:16:16 -07:00
2012-04-13 14:04:08 +01:00
2012-05-03 17:16:52 -07:00
2012-03-28 18:30:03 +01:00
2013-02-25 11:29:18 -08:00
2012-04-16 13:32:01 -04:00
2012-05-19 10:12:17 -07:00
2013-02-25 11:33:55 -08:00
2012-03-16 09:28:05 +11:00
2013-02-25 11:29:26 -08:00
2013-02-25 11:29:27 -08:00
2012-04-12 00:05:05 +02:00
2013-02-25 11:34:04 -08:00
2013-01-17 00:00:18 -08:00
2013-02-25 11:29:28 -08:00
2012-03-27 16:03:32 -07:00
2012-05-17 09:57:13 -07:00
2012-04-06 17:56:20 -07:00
2012-03-28 18:30:03 +01:00
2012-05-03 17:19:19 -07:00
2013-02-25 11:32:09 -08:00
2013-02-25 11:33:51 -08:00
2013-02-25 11:29:41 -08:00
2012-04-27 14:03:45 -07:00
2012-04-23 14:23:32 +03:00
2012-03-16 13:36:04 -07:00
2013-02-25 11:29:52 -08:00
2013-02-25 11:29:55 -08:00
2012-03-28 18:30:03 +01:00
2012-04-05 15:25:50 -07:00
2012-04-26 15:35:35 -07:00
2013-02-25 11:30:54 -08:00
2012-04-05 15:30:34 -07:00
2012-04-12 15:36:33 -07:00
2013-02-25 11:31:10 -08:00
2012-03-28 18:30:03 +01:00
2013-02-25 11:32:11 -08:00
2013-02-25 11:31:01 -08:00
2012-03-20 21:48:19 +08:00
2012-03-28 15:58:21 -07:00
2013-02-25 11:31:47 -08:00
2013-02-25 11:31:57 -08:00
2013-02-20 00:44:50 -08:00
2013-02-25 11:32:01 -08:00
2013-02-25 11:32:15 -08:00
2012-03-28 18:30:03 +01:00
2013-02-25 11:33:06 -08:00
2012-04-05 15:25:50 -07:00
2012-05-10 15:12:08 -07:00
2012-05-17 16:16:16 -07:00
2012-03-29 16:00:48 -07:00
2012-04-11 09:31:02 +02:00
2013-02-25 11:32:19 -08:00
2012-03-30 16:45:39 -07:00
2013-02-25 11:32:32 -08:00
2012-05-16 14:44:44 -04:00
2012-03-15 17:03:03 -07:00
2013-02-25 11:33:50 -08:00
2012-05-13 23:15:42 +03:00
2013-02-25 11:32:34 -08:00
2012-04-24 00:33:17 -04:00
2012-03-28 18:30:03 +01:00
2012-05-10 08:27:06 +01:00
2012-03-30 00:09:17 -07:00
2013-02-25 11:32:56 -08:00
2013-02-25 11:32:55 -08:00
2013-02-25 11:33:08 -08:00
2012-03-20 21:04:47 -07:00
2013-02-25 11:33:57 -08:00
2012-04-09 13:53:14 -07:00
2012-05-17 12:02:43 -07:00
2013-02-25 11:33:38 -08:00
2013-02-25 11:32:51 -08:00
2013-02-25 11:36:45 -08:00
2012-04-18 13:15:51 -07:00
2012-05-11 18:16:57 -04:00
2013-02-25 11:33:51 -08:00
2012-05-17 12:14:34 +03:00
2012-04-26 14:38:07 +02:00
2012-05-07 12:26:28 -04:00
2013-02-25 11:32:57 -08:00
2013-02-25 11:32:57 -08:00