[Xperia Z Original Android Development] aidfarh:
kernel BUG

I've experienced sudden reboots a few times over the last few days. last_kmsg after the last one is attached.

Relevant lines in the log is as follows:

[ 3014.719970] Suspending console(s) (use no_console_suspend to debug)
[ 3014.735717] msm_fb_ext_suspend: Turning off HPD circuitry
[ 3026.748931] **** DPM device timeout: 2-0068 (inv-mpu-iio)
[ 3026.748962] dpm suspend stack:
[ 3026.749053] [<c090f728>] (__schedule+0x51c/0x710) from [<c0910004>] (__rt_mutex_slowlock+0x84/0xc0)
[ 3026.749114] [<c0910004>] (__rt_mutex_slowlock+0x84/0xc0) from [<c0910110>] (rt_mutex_slowlock+0xd0/0x138)
[ 3026.749175] [<c0910110>] (rt_mutex_slowlock+0xd0/0x138) from [<c05d42f0>] (i2c_transfer+0x54/0x13c)
[ 3026.749237] [<c05d42f0>] (i2c_transfer+0x54/0x13c) from [<c06bf994>] (inv_i2c_single_write_base+0x78/0xdc)
[ 3026.749298] [<c06bf994>] (inv_i2c_single_write_base+0x78/0xdc) from [<c06c58fc>] (set_power_mpu3050+0x144/0x1dc)
[ 3026.749328] [<c06c58fc>] (set_power_mpu3050+0x144/0x1dc) from [<c06be9fc>] (inv_mpu_suspend+0x84/0xc0)
[ 3026.749389] [<c06be9fc>] (inv_mpu_suspend+0x84/0xc0) from [<c04d5228>] (dpm_run_callback+0x44/0x7c)
[ 3026.749450] [<c04d5228>] (dpm_run_callback+0x44/0x7c) from [<c04d609c>] (__device_suspend+0x204/0x2ec)
[ 3026.749511] [<c04d609c>] (__device_suspend+0x204/0x2ec) from [<c04d6a4c>] (dpm_suspend+0xa8/0x204)
[ 3026.749542] [<c04d6a4c>] (dpm_suspend+0xa8/0x204) from [<c01b7f88>] (suspend_devices_and_enter+0xa8/0x2e0)
[ 3026.749603] [<c01b7f88>] (suspend_devices_and_enter+0xa8/0x2e0) from [<c01b82bc>] (pm_suspend+0xfc/0x21c)
[ 3026.749633] [<c01b82bc>] (pm_suspend+0xfc/0x21c) from [<c01b8784>] (try_to_suspend+0x64/0xac)
[ 3026.749694] [<c01b8784>] (try_to_suspend+0x64/0xac) from [<c01991dc>] (process_one_work+0x288/0x410)
[ 3026.749755] [<c01991dc>] (process_one_work+0x288/0x410) from [<c0199c00>] (worker_thread+0x19c/0x2bc)
[ 3026.749816] [<c0199c00>] (worker_thread+0x19c/0x2bc) from [<c019e5f8>] (kthread+0x80/0x8c)
[ 3026.749877] [<c019e5f8>] (kthread+0x80/0x8c) from [<c0106d34>] (kernel_thread_exit+0x0/0x8)
[ 3026.749908] swapper/3 (0): undefined instruction: pc=c04d5e88
[ 3026.749938] Code: eb10c06e e1a00004 e3a01000 ebf0cfd1 (e7f001f2)
[ 3026.750091] ------------[ cut here ]------------
[ 3026.750122] kernel BUG at ../../../../../../kernel/sony/apq8064/drivers/base/power/main.c:684!
[ 3026.750152] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
[ 3026.750183] Modules linked in: wlan(C)
[ 3026.750213] CPU: 3 Tainted: G WC (3.4.98-ge347aa9-01015-g6486690 #25)
[ 3026.750244] PC is at dpm_drv_timeout+0x40/0x50
[ 3026.750274] LR is at unwind_frame+0xc4/0x540
[ 3026.750305] pc : [<c04d5e88>] lr : [<c010c4b8>] psr: a0000113
[ 3026.750305] sp : ed945e98 ip : 40106d34 fp : c0049e90
[ 3026.750335] r10: c0049e98 r9 : c04d5e48 r8 : 00000102
[ 3026.750366] r7 : c10331bc r6 : ed945eb0 r5 : ed944020 r4 : c002b540
[ 3026.750366] r3 : 00000000 r2 : 7f3dea3c r1 : 00000001 r0 : fffffff7
[ 3026.750396] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 3026.750427] Control: 10c5787d Table: ae33806a DAC: 00000015

Previous reboots also had similar error messages. Apparently there was a problem with the inv-mpu-iio device timing out. Could this be due to recent shift to powersuspend? Anybody else having the same issue?