GitHub PushEvent at 2014-12-19 23:30:58
Repository: android_kernel_lge_hammerhead-starship
Actor: Chairshot215
Payload: {"shas":[["c23dfe587cae6610647cd56c5bc6ab12031bd1cb","8a2957e0063f2abf61bd145b6236a74a3708ac54@mork.no","USB: cdc-wdm: fix lockup on error in wdm_read\n\ncommit b086b6b10d9f182cd8d2f0dcfd7fd11edba93fc9 upstream.\n\nClear the WDM_READ flag on empty reads to avoid running\nforever in an infinite tight loop, causing lockups:\n\nJul  1 21:58:11 nemi kernel: [ 3658.898647] qmi_wwan 2-1:1.2: Unexpected error -71\nJul  1 21:58:36 nemi kernel: [ 3684.072021] BUG: soft lockup - CPU#0 stuck for 23s! [qmi.pl:12235]\nJul  1 21:58:36 nemi kernel: [ 3684.072212] CPU 0\nJul  1 21:58:36 nemi kernel: [ 3684.072355]\nJul  1 21:58:36 nemi kernel: [ 3684.072367] Pid: 12235, comm: qmi.pl Tainted: P           O 3.5.0-rc2+ #13 LENOVO 2776LEG/2776LEG\nJul  1 21:58:36 nemi kernel: [ 3684.072383] RIP: 0010:[<ffffffffa0635008>]  [<ffffffffa0635008>] spin_unlock_irq+0x8/0xc [cdc_wdm]\nJul  1 21:58:36 nemi kernel: [ 3684.072388] RSP: 0018:ffff88022dca1e70  EFLAGS: 00000282\nJul  1 21:58:36 nemi kernel: [ 3684.072393] RAX: ffff88022fc3f650 RBX: ffffffff811c56f7 RCX: 00000001000ce8c1\nJul  1 21:58:36 nemi kernel: [ 3684.072398] RDX: 0000000000000010 RSI: 000000000267d810 RDI: ffff88022fc3f650\nJul  1 21:58:36 nemi kernel: [ 3684.072403] RBP: ffff88022dca1eb0 R08: ffffffffa063578e R09: 0000000000000000\nJul  1 21:58:36 nemi kernel: [ 3684.072407] R10: 0000000000000008 R11: 0000000000000246 R12: 0000000000000002\nJul  1 21:58:36 nemi kernel: [ 3684.072412] R13: 0000000000000246 R14: ffffffff00000002 R15: ffff8802281d8c88\nJul  1 21:58:36 nemi kernel: [ 3684.072418] FS:  00007f666a260700(0000) GS:ffff88023bc00000(0000) knlGS:0000000000000000\nJul  1 21:58:36 nemi kernel: [ 3684.072423] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\nJul  1 21:58:36 nemi kernel: [ 3684.072428] CR2: 000000000270d9d8 CR3: 000000022e865000 CR4: 00000000000007f0\nJul  1 21:58:36 nemi kernel: [ 3684.072433] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000\nJul  1 21:58:36 nemi kernel: [ 3684.072438] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400\nJul  1 21:58:36 nemi kernel: [ 3684.072444] Process qmi.pl (pid: 12235, threadinfo ffff88022dca0000, task ffff88022ff76380)\nJul  1 21:58:36 nemi kernel: [ 3684.072448] Stack:\nJul  1 21:58:36 nemi kernel: [ 3684.072458]  ffffffffa063592e 0000000100020000 ffff88022fc3f650 ffff88022fc3f6a8\nJul  1 21:58:36 nemi kernel: [ 3684.072466]  0000000000000200 0000000100000000 000000000267d810 0000000000000000\nJul  1 21:58:36 nemi kernel: [ 3684.072475]  0000000000000000 ffff880212cfb6d0 0000000000000200 ffff880212cfb6c0\nJul  1 21:58:36 nemi kernel: [ 3684.072479] Call Trace:\nJul  1 21:58:36 nemi kernel: [ 3684.072489]  [<ffffffffa063592e>] ? wdm_read+0x1a0/0x263 [cdc_wdm]\nJul  1 21:58:36 nemi kernel: [ 3684.072500]  [<ffffffff8110adb7>] ? vfs_read+0xa1/0xfb\nJul  1 21:58:36 nemi kernel: [ 3684.072509]  [<ffffffff81040589>] ? alarm_setitimer+0x35/0x64\nJul  1 21:58:36 nemi kernel: [ 3684.072517]  [<ffffffff8110aec7>] ? sys_read+0x45/0x6e\nJul  1 21:58:36 nemi kernel: [ 3684.072525]  [<ffffffff813725f9>] ? system_call_fastpath+0x16/0x1b\nJul  1 21:58:36 nemi kernel: [ 3684.072557] Code: <66> 66 90 c3 83 ff ed 89 f8 74 16 7f 06 83 ff a1 75 0a c3 83 ff f4\n\nThe WDM_READ flag is normally cleared by wdm_int_callback\nbefore resubmitting the read urb, and set by wdm_in_callback\nwhen this urb returns with data or an error.  But a crashing\ndevice may cause both a read error and cancelling all urbs.\nMake sure that the flag is cleared by wdm_read if the buffer\nis empty.\n\nWe don't clear the flag on errors, as there may be pending\ndata in the buffer which should be processed.  The flag will\ninstead be cleared on the next wdm_read call.\n\nSigned-off-by: Bjørn Mork <bjorn@mork.no>\nAcked-by: Oliver Neukum <oneukum@suse.de>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Bjørn Mork",true]],"size":1,"ref":"refs/heads/cm-12.0_staging","head":"c23dfe587cae6610647cd56c5bc6ab12031bd1cb"}