[Nexus 6 Q&A, Help & Troubleshooting] bbedward:
My phone randomly reboots. 32GB ATT N6

Looks like a bug in esoc/esoc-mdm-4x triggering an IRQ before mdm_ready

I have a patch that I am currently testing, for now here's my trace:

[33493.971358] ------------[ cut here ]------------
[33493.971374] WARNING: at kernel/irq/manage.c:530 irq_set_irq_wake+0x90/0xec()
[33493.971379] Unbalanced IRQ 431 wake disable
[33493.971387] CPU: 1 PID: 28928 Comm: droid.lightflow Tainted: G D W 3.10-zen1 #26
[33493.971404] [<c010c39c>] (unwind_backtrace+0x0/0x118) from [<c0109be4>] (show_stack+0x10/0x14)
[33493.971415] [<c0109be4>] (show_stack+0x10/0x14) from [<c01673c0>] (warn_slowpath_common+0x48/0x68)
[33493.971425] [<c01673c0>] (warn_slowpath_common+0x48/0x68) from [<c0167438>] (warn_slowpath_fmt+0x2c/0x3c)
[33493.971434] [<c0167438>] (warn_slowpath_fmt+0x2c/0x3c) from [<c01b2998>] (irq_set_irq_wake+0x90/0xec)
[33493.971447] [<c01b2998>] (irq_set_irq_wake+0x90/0xec) from [<c07c0db0>] (mdm_disable_irqs+0x24/0x84)
[33493.971456] [<c07c0db0>] (mdm_disable_irqs+0x24/0x84) from [<c07c1420>] (mdm_notify+0x114/0x2e0)
[33493.971469] [<c07c1420>] (mdm_notify+0x114/0x2e0) from [<c013e2a0>] (subsys_panic+0x18/0x28)
[33493.971481] [<c013e2a0>] (subsys_panic+0x18/0x28) from [<c0477db4>] (bus_for_each_dev+0x68/0x8c)
[33493.971492] [<c0477db4>] (bus_for_each_dev+0x68/0x8c) from [<c013e72c>] (ssr_panic_handler+0x18/0x28)
[33493.971504] [<c013e72c>] (ssr_panic_handler+0x18/0x28) from [<c018a9ac>] (notifier_call_chain+0x40/0x68)
[33493.971514] [<c018a9ac>] (notifier_call_chain+0x40/0x68) from [<c018aa7c>] (__atomic_notifier_call_chain+0x34/0x48)
[33493.971522] [<c018aa7c>] (__atomic_notifier_call_chain+0x34/0x48) from [<c018aaa4>] (atomic_notifier_call_chain+0x14/0x1c)
[33493.971536] [<c018aaa4>] (atomic_notifier_call_chain+0x14/0x1c) from [<c0a165e0>] (panic+0xac/0x1d4)
[33493.971545] [<c0a165e0>] (panic+0xac/0x1d4) from [<c0109e38>] (die+0x250/0x308)
[33493.971554] [<c0109e38>] (die+0x250/0x308) from [<c0a163c4>] (__do_kernel_fault.part.18+0x54/0x74)
[33493.971564] [<c0a163c4>] (__do_kernel_fault.part.18+0x54/0x74) from [<c0112248>] (do_page_fault+0x2fc/0x350)
[33493.971573] [<c0112248>] (do_page_fault+0x2fc/0x350) from [<c0100250>] (do_DataAbort+0x34/0x114)
[33493.971585] [<c0100250>] (do_DataAbort+0x34/0x114) from [<c0105d18>] (__dabt_svc+0x38/0x60)
[33493.971590] Exception stack(0xe378df48 to 0xe378df90)
[33493.971595] df40: e365e000 d8b6e700 00000000 00000001 00000000 e365e000
[33493.971601] df60: d8b6e700 00000006 c0106344 e378c000 00000000 00000009 fffd0207 e378df90
[33493.971607] df80: c02198f8 c0250450 400f0013 ffffffff
[33493.971619] [<c0105d18>] (__dabt_svc+0x38/0x60) from [<c0250450>] (dnotify_flush+0x4/0xd8)
[33493.971629] [<c0250450>] (dnotify_flush+0x4/0xd8) from [<c01061c0>] (ret_fast_syscall+0x0/0x30)
[33493.971635] ---[ end trace da227214a82491bc ]---
[33493.971644] ------------[ cut here ]------------
[33493.971651] WARNING: at kernel/irq/manage.c:530 irq_set_irq_wake+0x90/0xec()
[33493.971655] Unbalanced IRQ 432 wake disable
[33493.971661] CPU: 1 PID: 28928 Comm: droid.lightflow Tainted: G D W 3.10-zen1 #26
[33493.971670] [<c010c39c>] (unwind_backtrace+0x0/0x118) from [<c0109be4>] (show_stack+0x10/0x14)
[33493.971678] [<c0109be4>] (show_stack+0x10/0x14) from [<c01673c0>] (warn_slowpath_common+0x48/0x68)
[33493.971686] [<c01673c0>] (warn_slowpath_common+0x48/0x68) from [<c0167438>] (warn_slowpath_fmt+0x2c/0x3c)
[33493.971694] [<c0167438>] (warn_slowpath_fmt+0x2c/0x3c) from [<c01b2998>] (irq_set_irq_wake+0x90/0xec)
[33493.971703] [<c01b2998>] (irq_set_irq_wake+0x90/0xec) from [<c07c0dd8>] (mdm_disable_irqs+0x4c/0x84)
[33493.971710] [<c07c0dd8>] (mdm_disable_irqs+0x4c/0x84) from [<c07c1420>] (mdm_notify+0x114/0x2e0)
[33493.971719] [<c07c1420>] (mdm_notify+0x114/0x2e0) from [<c013e2a0>] (subsys_panic+0x18/0x28)
[33493.971728] [<c013e2a0>] (subsys_panic+0x18/0x28) from [<c0477db4>] (bus_for_each_dev+0x68/0x8c)
[33493.971737] [<c0477db4>] (bus_for_each_dev+0x68/0x8c) from [<c013e72c>] (ssr_panic_handler+0x18/0x28)
[33493.971746] [<c013e72c>] (ssr_panic_handler+0x18/0x28) from [<c018a9ac>] (notifier_call_chain+0x40/0x68)
[33493.971754] [<c018a9ac>] (notifier_call_chain+0x40/0x68) from [<c018aa7c>] (__atomic_notifier_call_chain+0x34/0x48)
[33493.971763] [<c018aa7c>] (__atomic_notifier_call_chain+0x34/0x48) from [<c018aaa4>] (atomic_notifier_call_chain+0x14/0x1c)
[33493.971772] [<c018aaa4>] (atomic_notifier_call_chain+0x14/0x1c) from [<c0a165e0>] (panic+0xac/0x1d4)
[33493.971780] [<c0a165e0>] (panic+0xac/0x1d4) from [<c0109e38>] (die+0x250/0x308)
[33493.971788] [<c0109e38>] (die+0x250/0x308) from [<c0a163c4>] (__do_kernel_fault.part.18+0x54/0x74)
[33493.971796] [<c0a163c4>] (__do_kernel_fault.part.18+0x54/0x74) from [<c0112248>] (do_page_fault+0x2fc/0x350)
[33493.971804] [<c0112248>] (do_page_fault+0x2fc/0x350) from [<c0100250>] (do_DataAbort+0x34/0x114)
[33493.971812] [<c0100250>] (do_DataAbort+0x34/0x114) from [<c0105d18>] (__dabt_svc+0x38/0x60)
[33493.971817] Exception stack(0xe378df48 to 0xe378df90)
[33493.971823] df40: e365e000 d8b6e700 00000000 00000001 00000000 e365e000
[33493.971829] df60: d8b6e700 00000006 c0106344 e378c000 00000000 00000009 fffd0207 e378df90
[33493.971834] df80: c02198f8 c0250450 400f0013 ffffffff
[33493.971842] [<c0105d18>] (__dabt_svc+0x38/0x60) from [<c0250450>] (dnotify_flush+0x4/0xd8)
[33493.971850] [<c0250450>] (dnotify_flush+0x4/0xd8) from [<c01061c0>] (ret_fast_syscall+0x0/0x30)
[33493.971856] ---[ end trace da227214a82491bd ]---
[33496.972007] ext-mdm qcom,mdm0.73: mdm_notify MDM2AP status did not go low
[33496.978099] Rebooting in 1 seconds..
[33497.978421] Going down for restart now
[33497.979117] Calling SCM to disable SPMI PMIC arbiter

Going to test the patch overnight tonight and see if phone reboots. Every night when it's on the charger it reboots for me. I wouldn't even notice if I didn't see the "uptime" in the morning among a few other signs.