[Xiaomi Mi 5s ROMs, Kernels, Recoveries, & Other De] realmenvvs:
[30686.920717] dpm_run_callback(): wiphy_resume+0x0/0x19c returns -22

[30686.920734] PM: Device phy0 failed to resume: error -22

[30686.920768] PM: resume of devices complete after 5.610 msecs

[30686.925687] Restarting tasks ... done.

[30686.954957] Abort: Some devices failed to suspend, or early wake event detected

[30686.955115] PM: suspend exit 2018-03-23 20:23:54.877013368 UTC

[30706.927093] FG: soc_work_fn: adjust_soc: s 89 r 186279 i 25329 v 4188055 t 297

[30707.761083] synaptics_dsi_force 12-0020: (captouch) fake report captouch keydown~!!

[30707.761187] captouch soc:qcom,captouch: captouch_key_report: key_status = 1 (1:down 0:up)

[30707.763885] captouch soc:qcom,captouch: captouch_read: returning event 1

[30707.808435] healthd: battery l=89 v=4188 t=29.7 h=2 st=3 c=25 fc=3081000 chg=

[30707.858228] synaptics_rmi4_sensor_report: spontaneous reset detected

[30708.274615] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30708.274850] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30708.358786] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30726.984358] FG: soc_work_fn: adjust_soc: s 89 r 177978 i 252989 v 4147162 t 297

[30747.033704] FG: soc_work_fn: adjust_soc: s 89 r 179809 i 80871 v 4180731 t 300

[30767.086791] FG: soc_work_fn: adjust_soc: s 89 r 179809 i 80871 v 4180731 t 300

[30768.959048] init: Untracked pid 9458 exited with status 0

[30768.959596] init: Untracked pid 9455 exited with status 0

[30768.965493] init: Untracked pid 9462 exited with status 0

[30769.959890] init: Untracked pid 9454 killed by signal 1

[30770.224159] captouch soc:qcom,captouch: captouch_key_report: key_status = 1 (1:down 0:up)

[30770.224215] captouch soc:qcom,captouch: captouch_get_status: homekey_enabled = true

[30770.378205] captouch soc:qcom,captouch: captouch_key_report: key_status = 0 (1:down 0:up)

[30770.378267] captouch soc:qcom,captouch: captouch_get_status: homekey_enabled = true

[30770.738349] msm_ion_custom_ioctl: virtual address 0000000000000000 is out of bounds

[30772.066864] msm_ion_custom_ioctl: virtual address 0000000000000000 is out of bounds

[30772.122181] msm_ion_custom_ioctl: virtual address 0000000000000000 is out of bounds

[30774.417464] healthd: battery l=89 v=4180 t=30.0 h=2 st=3 c=80 fc=3081000 chg=

[30774.439511] healthd: battery l=89 v=4180 t=30.0 h=2 st=3 c=80 fc=3081000 chg=

[30774.451292] msm_ion_custom_ioctl: virtual address 0000000000000000 is out of bounds

[30774.523635] msm_ion_custom_ioctl: virtual address 0000000000000000 is out of bounds

[30774.706888] msm_ion_custom_ioctl: virtual address 0000000000000000 is out of bounds

[30776.155587] init: Untracked pid 8832 killed by signal 9

[30776.305747] binder: undelivered transaction 5809736, process died.

[30776.320874] init: Untracked pid 9775 exited with status 0

[30776.368235] init: Untracked pid 9770 exited with status 0

[30776.368778] init: Untracked pid 9782 exited with status 0

[30779.487333] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30779.798803] healthd: battery l=89 v=4148 t=30.0 h=2 st=3 c=206 fc=3081000 chg=

[30782.812063] captouch soc:qcom,captouch: captouch_read: returning event 2

[30787.142206] FG: soc_work_fn: adjust_soc: s 89 r 177001 i 206755 v 4148382 t 297

[30788.229391] PM: suspend entry 2018-03-23 20:25:36.151288405 UTC

[30788.229432] PM: Syncing filesystems ... done.

[30788.275835] Freezing user space processes ... (elapsed 0.024 seconds) done.

[30788.299970] Freezing remaining freezable tasks ... (elapsed 0.026 seconds) done.

[30788.326295] Suspending console(s) (use no_console_suspend to debug)

[30788.340529] synaptics_dsi_force 12-0020: Enable touch irq wake

[30788.928779] __hif_pci_suspend: tx frames are pending

[30788.932146] TXRX: Total tx credits 2080 free_credits 2079

[30788.932147] pci_pm_suspend(): cnss_wlan_pci_suspend+0x0/0x8c returns -16

[30788.932178] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16

[30788.932199] PM: Device 0000:01:00.0 failed to suspend: error -16

[30788.932222] PM: Some devices failed to suspend, or early wake event detected

[30788.933126] synaptics_dsi_force 12-0020: Disable touch irq wake

[30788.938670] dpm_run_callback(): wiphy_resume+0x0/0x19c returns -22

[30788.938690] PM: Device phy0 failed to resume: error -22

[30788.938725] PM: resume of devices complete after 6.483 msecs

[30788.944370] Restarting tasks ... done.

[30788.971016] Abort: Some devices failed to suspend, or early wake event detected

[30788.971193] PM: suspend exit 2018-03-23 20:25:36.893104520 UTC

[30804.978376] synaptics_dsi_force 12-0020: (captouch) fake report captouch keydown~!!

[30804.978460] captouch soc:qcom,captouch: captouch_key_report: key_status = 1 (1:down 0:up)

[30804.978910] captouch soc:qcom,captouch: captouch_read: returning event 1

[30805.047318] healthd: battery l=89 v=4148 t=30.0 h=2 st=3 c=206 fc=3081000 chg=

[30805.104832] synaptics_rmi4_sensor_report: spontaneous reset detected

[30805.482726] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30805.483026] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30805.564177] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30807.193687] FG: soc_work_fn: adjust_soc: s 89 r 178955 i 176390 v 4174627 t 300

[30809.823488] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30810.132739] healthd: battery l=89 v=4174 t=30.0 h=2 st=3 c=176 fc=3081000 chg=

[30817.808739] type=1400 audit(1521836657.014:874): avc: denied { read } for pid=9782 comm="sh" name="/" dev="rootfs" ino=2 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 duplicate messages suppressed

[30817.808780] type=1400 audit(1521836765.728:875): avc: denied { read } for pid=10127 comm="sh" name="/" dev="rootfs" ino=2 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0

[30827.247829] FG: soc_work_fn: adjust_soc: s 89 r 178955 i 176390 v 4174627 t 300

[30847.300768] FG: soc_work_fn: adjust_soc: s 89 r 133056 i 24108 v 4191412 t 300

[30848.972936] PM: suspend entry 2018-03-23 20:26:36.894839352 UTC

[30848.972980] PM: Syncing filesystems ... done.

[30849.015517] Freezing user space processes ... (elapsed 0.022 seconds) done.

[30849.037800] Freezing remaining freezable tasks ... (elapsed 0.010 seconds) done.

[30849.047980] Suspending console(s) (use no_console_suspend to debug)

[30849.060260] synaptics_dsi_force 12-0020: Enable touch irq wake

[30849.648597] __hif_pci_suspend: tx frames are pending

[30849.652006] TXRX: Total tx credits 2080 free_credits 2079

[30849.652007] pci_pm_suspend(): cnss_wlan_pci_suspend+0x0/0x8c returns -16

[30849.652092] dpm_run_callback(): pci_pm_suspend+0x0/0x1d0 returns -16

[30849.652111] PM: Device 0000:01:00.0 failed to suspend: error -16

[30849.652131] PM: Some devices failed to suspend, or early wake event detected

[30849.652617] synaptics_dsi_force 12-0020: Disable touch irq wake

[30849.657021] dpm_run_callback(): wiphy_resume+0x0/0x19c returns -22

[30849.657037] PM: Device phy0 failed to resume: error -22

[30849.657069] PM: resume of devices complete after 4.923 msecs

[30849.661222] Restarting tasks ... done.

[30849.685363] Abort: Some devices failed to suspend, or early wake event detected

[30849.685474] PM: suspend exit 2018-03-23 20:26:37.607394423 UTC

[30852.500687] synaptics_dsi_force 12-0020: (captouch) fake report captouch keydown~!!

[30852.500771] captouch soc:qcom,captouch: captouch_key_report: key_status = 1 (1:down 0:up)

[30852.501215] captouch soc:qcom,captouch: captouch_read: returning event 1

[30852.551728] healthd: battery l=89 v=4191 t=30.0 h=2 st=3 c=24 fc=3081000 chg=

[30852.601576] synaptics_rmi4_sensor_report: spontaneous reset detected

[30853.913928] captouch soc:qcom,captouch: captouch_key_report: key_status = 1 (1:down 0:up)

[30853.913968] captouch soc:qcom,captouch: captouch_get_status: homekey_enabled = false

[30854.399746] captouch soc:qcom,captouch: captouch_key_report: key_status = 0 (1:down 0:up)

[30854.399788] captouch soc:qcom,captouch: captouch_get_status: homekey_enabled = false

[30854.483855] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30854.484453] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30854.577546] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30858.401065] R0: [wpa_supplicant][01:26:46.323001] wlan: [2176:E :VOS] PACKET TRACE DUMP START Current Timestamp 1418383538

[30858.401079] R0: [wpa_supplicant][01:26:46.323017] wlan: [2176:E :VOS] ORDER : RTC TIME : EVT

[30858.401089] R0: [wpa_supplicant][01:26:46.323027] wlan: [2176:E :VOS] 2601 : [01:26:29.1521836789] : ST:R:ARP

[30858.401098] R0: [wpa_supplicant][01:26:46.323037] wlan: [2176:E :VOS] 2600 : [01:26:29.1521836789] : OT:C:S:ARP

[30858.401106] R0: [wpa_supplicant][01:26:46.323045] wlan: [2176:E :VOS] 2599 : [01:26:29.1521836789] : HT:T:ARP

[30858.401114] R0: [wpa_supplicant][01:26:46.323053] wlan: [2176:E :VOS] 2598 : [01:26:29.1521836789] : ST:T:ARP

[30858.401122] R0: [wpa_supplicant][01:26:46.323061] wlan: [2176:E :VOS] 2597 : [01:26:01.1521836761] : ST:R:ARP

[30858.401130] R0: [wpa_supplicant][01:26:46.323069] wlan: [2176:E :VOS] 2596 : [01:25:29.1521836729] : ST:R:ARP

[30858.401138] R0: [wpa_supplicant][01:26:46.323077] wlan: [2176:E :VOS] 2595 : [01:25:29.1521836729] : OT:C:S:ARP

[30858.401158] R0: [wpa_supplicant][01:26:46.323085] wlan: [2176:E :VOS] 2594 : [01:25:29.1521836729] : HT:T:ARP

[30858.401166] R0: [wpa_supplicant][01:26:46.323105] wlan: [2176:E :VOS] 2593 : [01:25:29.1521836729] : ST:T:ARP

[30858.401174] R0: [wpa_supplicant][01:26:46.323113] wlan: [2176:E :VOS] 2592 : [01:24:14.1521836654] : ST:R:ARP

[30858.401182] R0: [wpa_supplicant][01:26:46.323121] wlan: [2176:E :VOS] 2591 : [01:24:14.1521836654] : OT:C:S:ARP

[30858.401189] R0: [wpa_supplicant][01:26:46.323128] wlan: [2176:E :VOS] 2590 : [01:24:14.1521836654] : HT:T:ARP

[30858.401197] R0: [wpa_supplicant][01:26:46.323136] wlan: [2176:E :VOS] 2589 : [01:24:14.1521836654] : ST:T:ARP

[30858.401204] R0: [wpa_supplicant][01:26:46.323143] wlan: [2176:E :VOS] 2588 : [01:23:46.1521836626] : ST:R:ARP

[30858.401212] R0: [wpa_supplicant][01:26:46.323152] wlan: [2176:E :VOS] 2587 : [01:23:46.1521836626] : OT:C:S:ARP

[30858.401220] R0: [wpa_supplicant][01:26:46.323159] wlan: [2176:E :VOS] 2586 : [01:23:46.1521836626] : HT:T:ARP

[30858.401228] R0: [wpa_supplicant][01:26:46.323167] wlan: [2176:E :VOS] 2585 : [01:23:46.1521836626] : ST:T:ARP

[30858.401235] R0: [wpa_supplicant][01:26:46.323174] wlan: [2176:E :VOS] 2584 : [01:23:45.1521836625] : OT:C:F:ARP

[30858.401243] R0: [wpa_supplicant][01:26:46.323182] wlan: [2176:E :VOS] 2583 : [01:23:45.1521836625] : HT:T:ARP

[30858.401253] R0: [wpa_supplicant][01:26:46.323190] wlan: [2176:E :VOS] 2582 : [01:23:45.1521836625] : ST:T:ARP

[30858.401261] R0: [wpa_supplicant][01:26:46.323200] wlan: [2176:E :VOS] 2581 : [01:23:18.1521836598] : ST:R:ARP

[30858.401269] R0: [wpa_supplicant][01:26:46.323208] wlan: [2176:E :VOS] 2580 : [01:23:18.1521836598] : OT:C:S:ARP

[30858.401277] R0: [wpa_supplicant][01:26:46.323216] wlan: [2176:E :VOS] 2579 : [01:23:18.1521836598] : HT:T:ARP

[30858.401284] R0: [wpa_supplicant][01:26:46.323223] wlan: [2176:E :VOS] 2578 : [01:23:18.1521836598] : ST:T:ARP

[30858.401292] R0: [wpa_supplicant][01:26:46.323231] wlan: [2176:E :VOS] 2577 : [01:22:49.1521836569] : ST:R:ARP

[30858.401299] R0: [wpa_supplicant][01:26:46.323239] wlan: [2176:E :VOS] 2576 : [01:22:49.1521836569] : OT:C:S:ARP

[30858.401307] R0: [wpa_supplicant][01:26:46.323246] wlan: [2176:E :VOS] 2575 : [01:22:49.1521836569] : HT:T:ARP

[30858.401315] R0: [wpa_supplicant][01:26:46.323254] wlan: [2176:E :VOS] 2574 : [01:22:49.1521836569] : ST:T:ARP

[30858.401323] R0: [wpa_supplicant][01:26:46.323262] wlan: [2176:E :VOS] 2573 : [01:22:49.1521836569] : ST:R:ARP

[30858.401331] R0: [wpa_supplicant][01:26:46.323270] wlan: [2176:E :VOS] 2572 : [01:21:31.1521836491] : ST:R:ARP

[30858.401339] R0: [wpa_supplicant][01:26:46.323278] wlan: [2176:E :VOS] 2571 : [01:21:31.1521836491] : ST:R:ARP

[30858.401346] R0: [wpa_supplicant][01:26:46.323285] wlan: [2176:E :VOS] 2570 : [01:21:31.1521836491] : OT:C:S:ARP

[30858.401354] R0: [wpa_supplicant][01:26:46.323293] wlan: [2176:E :VOS] 2569 : [01:21:31.1521836491] : HT:T:ARP

[30858.401362] R0: [wpa_supplicant][01:26:46.323301] wlan: [2176:E :VOS] 2568 : [01:21:31.1521836491] : ST:T:ARP

[30858.401369] R0: [wpa_supplicant][01:26:46.323308] wlan: [2176:E :VOS] 2567 : [01:21:31.1521836491] : ST:R:DHCP REQ

[30858.401377] R0: [wpa_supplicant][01:26:46.323316] wlan: [2176:E :VOS] 2566 : [01:21:31.1521836491] : ST:R:DHCP DIS

[30858.401385] R0: [wpa_supplicant][01:26:46.323324] wlan: [2176:E :VOS] 2565 : [01:21:31.1521836491] : ST:R:NS

[30858.401392] R0: [wpa_supplicant][01:26:46.323331] wlan: [2176:E :VOS] 2564 : [01:21:31.1521836491] : ST:R:DHCP ACK

[30858.401402] R0: [wpa_supplicant][01:26:46.323339] wlan: [2176:E :VOS] 2563 : [01:21:31.1521836491] : OT:C:S:DHC

[30858.401413] R0: [wpa_supplicant][01:26:46.323351] wlan: [2176:E :VOS] 2562 : [01:21:31.1521836491] : HT:T:DHC

[30858.401422] R0: [wpa_supplicant][01:26:46.323361] wlan: [2176:E :VOS] 2561 : [01:21:31.1521836491] : ST:T:DHCP REQ

[30858.401429] R0: [wpa_supplicant][01:26:46.323368] wlan: [2176:E :VOS] 2560 : [01:21:31.1521836491] : ST:R:DHCP OFF

[30858.401437] R0: [wpa_supplicant][01:26:46.323376] wlan: [2176:E :VOS] 2559 : [01:21:31.1521836491] : OT:C:S:DHC

[30858.401444] R0: [wpa_supplicant][01:26:46.323383] wlan: [2176:E :VOS] 2558 : [01:21:31.1521836491] : HT:T:DHC

[30858.401452] R0: [wpa_supplicant][01:26:46.323391] wlan: [2176:E :VOS] 2557 : [01:21:31.1521836491] : ST:T:DHCP DIS

[30858.401459] R0: [wpa_supplicant][01:26:46.323398] wlan: [2176:E :VOS] 2556 : [01:21:31.1521836491] : OT:C:S:NS

[30858.401828] R0: [wpa_supplicant][01:26:46.323406] wlan: [2176:E :VOS] 2555 : [01:21:31.1521836491] : HT:T:NS

[30858.401852] R0: [wpa_supplicant][01:26:46.323780] wlan: [2176:E :VOS] 2554 : [01:21:31.1521836491] : ST:T:NS

[30858.401861] R0: [wpa_supplicant][01:26:46.323800] wlan: [2176:E :VOS] 2553 : [01:21:30.1521836490] : OT:C:S:EPL

[30858.401869] R0: [wpa_supplicant][01:26:46.323808] wlan: [2176:E :VOS] 2552 : [01:21:30.1521836490] : HT:T:EPL

[30858.401876] R0: [wpa_supplicant][01:26:46.323815] wlan: [2176:E :VOS] PACKET TRACE DUMP END

[30858.401911] R0: [wpa_supplicant][01:26:46.323849] wlan: [2176:E :HDD] __wlan_hdd_cfg80211_disconnect: 24124: Disconnect request from user space with reason: WLAN_REASON_DEAUTH_LEAVING

[30858.406287] R0: [VosMCThread][01:26:46.328222] wlan: [1886:E :PE ] limSendDeauthCnf: 3873: FT Preauth Session (0000000000000000,0) Cleanup Deauth reason 3 Trigger = 4

[30858.439167] R0: [VosMCThread][01:26:46.361104] wlan: [1886:E :HDD] wlan: disconnected

[30858.439277] R0: [VosMCThread][01:26:46.361216] wlan: [1886:E :HDD] wlan(0) 00:00:00:00:00:00 SCC

[30858.494470] init: Sending signal 9 to service 'wpa_supplicant' (pid 2176) process group...

[30858.500364] init: Successfully killed process cgroup uid 0 pid 2176 in 5ms

[30858.501749] init: Service 'wpa_supplicant' (pid 2176) killed by signal 9

[30858.855243] kickstart_driver: load: 0 wlan_hdd_inited: 1, mode_change: 0 caller: wlan_hdd_stop_enter_lowpower

[30858.855357] wlan: unloading driver v4.0.11.213S

[30858.864778] R0: [VosMCThread][01:26:46.786696] wlan: [1886:E :WDA] vdev 0 is not up skipping arp/ns offload

[30858.864874] R0: [VosMCThread][01:26:46.786801] wlan: [1886:E :WDA] vdev 0 is not up skipping arp/ns offload

[30858.877025] R0: [kworker/0:4][01:26:46.798950] wlan: [7379:E :HDD] hdd_wlan_exit: 14492: Unregister IPv6 notifier

[30858.886028] R0: [kworker/0:4][01:26:46.807943] wlan: [7379:E :HDD] hdd_wlan_exit: 14495: Unregister IPv4 notifier

[30858.889340] R0: [VosMCThread][01:26:46.811268] wlan: [1886:F :WDA] P2P Device: removing self peer 02:ec:0a:1c:68:4f

[30858.891166] R0: [kworker/0:4][01:26:46.813094] wlan: [7379:E :VOS] vos_pkt_proto_trace_close 464

[30858.891928] Reset Device

[30858.895335] R0: [VosMCThread][01:26:46.817260] wlan: [1886:E :VOS] VosMCThread: MC Thread exiting!!!!

[30858.895651] R0: [VosTlshimRxThre][01:26:46.817583] wlan: [1887:E :VOS] VosTlshimRxThread: Shutting down tl shim Tlshim rx thread

[30858.895674] R0: [VosTlshimRxThre][01:26:46.817608] wlan: [1887:E :VOS] VosTlshimRxThread: Exiting VOSS Tlshim rx thread

[30858.920697] R0: [kworker/0:4][01:26:46.842622] wlan: [7379:E :VOS] vos_get_context: Module ID 17 context is Null

[30858.957089] R0: [kworker/0:4][01:26:46.879013] wlan: [7379:E :SAP] dfs_reset_alldelaylines[95]: pl==NULL, b5radars=0000000000000000

[30858.967193] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0

[30858.993541] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister wlan0

[30858.998308] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister p2p0

[30859.013630] [RMNET:HI] rmnet_config_notify_cb(): Kernel is trying to unregister p2p0

[30859.067504] hif_dump_pipe_debug_count pipe_id = 0, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0hif_dump_pipe_debug_count pipe_id = 1, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0hif_dump_pipe_debug_count pipe_id = 2, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0hif_dump_pipe_debug_count pipe_id = 3, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0hif_dump_pipe_debug_count pipe_id = 4, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0hif_dump_pipe_debug_count pipe_id = 5, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0

[30859.067548] hif_dump_pipe_debug_count pipe_id = 6, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0hif_dump_pipe_debug_count pipe_id = 7, recv_bufs_needed = 0, nbuf_alloc_err_count = 0, nbuf_dma_err_count = 0, nbuf_ce_enqueue_err_count = 0

[30859.067558] Driver UnLoading: usage_count: 6, pm_state: 0, prevent_suspend_cnt: 0

[30859.067575] runtime_status: RPM_ACTIVE, runtime_error: 0, disable_depth : 0 autosuspend_delay: 0

[30859.067583] runtime_get: 360746, runtime_put: 360742, request_resume: 0

[30859.067590] allow_suspend: 0, prevent_suspend: 0

[30859.067597] prevent_suspend_timeout: 0, allow_suspend_timeout: 0

[30859.067604] Suspended: 0, resumed: 0 count

[30859.067611] suspend_err: 0, runtime_get_err: 0

[30859.067617] Active Wakeup Sources preventing Runtime Suspend:

[30859.067622]

[30859.067630] ------------[ cut here ]------------

[30859.067657] WARNING: CPU: 0 PID: 7379 at ../../../../../../kernel/xiaomi/msm8996/drivers/staging/qcacld-2.0/CORE/SERVICES/HIF/PCIe/hif_pci.c:3188 hif_pci_runtime_pm_warn+0x14c/0x160()

[30859.067664] Modules linked in:

[30859.067677] CPU: 0 PID: 7379 Comm: kworker/0:4 Tainted: G W 3.18.71-g115467b-dirty #2

[30859.067682] Hardware name: Qualcomm Technologies, Inc. MSM 8996pro + PMI8996 MTP (DT)

[30859.067706] Workqueue: events kickstart_driver_handler

[30859.067715] Call trace:

[30859.067736] [<ffffffc000208dd4>] dump_backtrace+0x0/0x2f8

[30859.067746] [<ffffffc0002090e0>] show_stack+0x14/0x1c

[30859.067761] [<ffffffc001176cdc>] dump_stack+0x84/0xa8

[30859.067772] [<ffffffc000226aac>] warn_slowpath_common+0x88/0xac

[30859.067780] [<ffffffc000226be8>] warn_slowpath_null+0x18/0x20

[30859.067788] [<ffffffc000d15eac>] hif_pci_runtime_pm_warn+0x14c/0x160

[30859.067795] [<ffffffc000d1840c>] hif_pci_remove+0xac/0x1d0

[30859.067806] [<ffffffc000845bbc>] cnss_wlan_unregister_driver+0x70/0x154

[30859.067812] [<ffffffc000d19688>] hif_unregister_driver+0x18/0x20

[30859.067820] [<ffffffc000b285c4>] hdd_driver_exit+0x2a4/0x2fc

[30859.067831] [<ffffffc000b28628>] kickstart_driver_handler+0xc/0x1c

[30859.067842] [<ffffffc000240c1c>] process_one_work+0x270/0x40c

[30859.067848] [<ffffffc000241404>] worker_thread+0x324/0x448

[30859.067856] [<ffffffc000245658>] kthread+0xe4/0xec

[30859.067862] ---[ end trace 79e8ab50a8c824f2 ]---

[30859.068205] pci_remove

[30859.100344] wlan: driver unloaded

[30859.256656] HTB: quantum of class 10001 is big. Consider r2q change.

[30859.300173] HTB: quantum of class 10010 is big. Consider r2q change.

[30859.501456] init: processing action (sys.sysctl.tcp_def_init_rwnd=*) from (/init.rc:696)

[30861.605929] logd: logdr: UID=10021 GID=10021 PID=2743 n tail=0 logMask=4 pid=0 start=0ns timeout=0ns

[30867.356560] FG: soc_work_fn: adjust_soc: s 89 r 139160 i 132292 v 4165472 t 302

[30887.408844] FG: soc_work_fn: adjust_soc: s 89 r 139160 i 132292 v 4165472 t 302

[30899.015285] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30899.294036] healthd: battery l=89 v=4162 t=30.2 h=2 st=3 c=117 fc=3081000 chg=

[30902.253735] captouch soc:qcom,captouch: captouch_read: returning event 2

[30907.462059] FG: soc_work_fn: adjust_soc: s 89 r 133911 i 117644 v 4162878 t 300

[30909.688038] PM: suspend entry 2018-03-23 20:27:37.609944983 UTC

[30909.688084] PM: Syncing filesystems ... done.

[30909.719523] Freezing user space processes ... (elapsed 0.030 seconds) done.

[30909.749727] Freezing remaining freezable tasks ... (elapsed 0.012 seconds) done.

[30909.762226] Suspending console(s) (use no_console_suspend to debug)

[30909.777187] synaptics_dsi_force 12-0020: Enable touch irq wake

[30909.777928] pn548_suspend ++

[30909.818436] PM: suspend of devices complete after 50.205 msecs

[30909.828762] PM: late suspend of devices complete after 10.266 msecs

[30909.854368] PM: noirq suspend of devices complete after 25.559 msecs

[30909.858317] migrate_irqs: 1607 callbacks suppressed

[30909.858330] IRQ172 no longer affine to CPU1

[30909.858341] IRQ173 no longer affine to CPU1

[30909.858353] IRQ174 no longer affine to CPU1

[30909.858364] IRQ175 no longer affine to CPU1

[30909.858375] IRQ176 no longer affine to CPU1

[30909.858386] IRQ177 no longer affine to CPU1

[30909.858396] IRQ178 no longer affine to CPU1

[30909.858407] IRQ179 no longer affine to CPU1

[30909.858417] IRQ180 no longer affine to CPU1

[30909.858428] IRQ181 no longer affine to CPU1

[30909.892449] suspend ns: 30909892408720\x09suspend cycles: 1329682728485

[30909.892408] resume cycles: 1330097105626

[30909.892647] irq 352, desc: ffffffc0b965f200, depth: 0, count: 0, unhandled: 0

[30909.892703] ->handle_irq(): ffffffc000553eec, msm_gpio_irq_handler+0x0/0x148

[30909.892741] ->irq_data.chip(): ffffffc00207f210, gic_chip+0x0/0xe8

[30909.892751] ->action(): (null)

[30909.892758] IRQ_NOPROBE set

[30909.892765] IRQ_NOREQUEST set

[30909.892770] IRQ_NOTHREAD set

[30909.894616] Detected PIPT I-cache on CPU1

[30909.894692] CPU1: found redistributor 1 region 0:0x0000000009c40000

[30909.894933] CPU1: Booted secondary processor [512f2011]

[30909.898877] Detected PIPT I-cache on CPU2

[30909.898970] CPU2: found redistributor 100 region 0:0x0000000009c80000

[30909.899334] CPU2: Booted secondary processor [512f2051]

[30909.902817] Detected PIPT I-cache on CPU3

[30909.902880] CPU3: found redistributor 101 region 0:0x0000000009cc0000

[30909.903065] CPU3: Booted secondary processor [512f2051]

[30909.920103] cnss_wlan_pci 0000:01:00.0: Refused to change power state, currently in D3

[30909.921988] PM: noirq resume of devices complete after 17.148 msecs

[30909.930188] PM: early resume of devices complete after 5.466 msecs

[30909.943492] pci 0000:00:00.0: Refused to change power state, currently in D3

[30909.958438] pn548_resume --

[30909.958827] synaptics_dsi_force 12-0020: Disable touch irq wake

[30909.961933] PM: resume of devices complete after 31.696 msecs

[30909.962864] synaptics_dsi_force 12-0020: (captouch) fake report captouch keydown~!!

[30909.962907] captouch soc:qcom,captouch: captouch_key_report: key_status = 1 (1:down 0:up)

[30909.969403] Restarting tasks ...

[30909.988475] captouch soc:qcom,captouch: captouch_read: returning event 1

[30909.997390] done.

[30909.997813] PM: suspend exit 2018-03-23 20:27:59.501875682 UTC

[30910.043092] healthd: battery l=89 v=4162 t=30.0 h=2 st=3 c=117 fc=3081000 chg=

[30910.088028] synaptics_rmi4_sensor_report: spontaneous reset detected

[30910.463551] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30910.464379] captouch soc:qcom,captouch: captouch_ioctl: Home-key disabled

[30910.556555] captouch soc:qcom,captouch: captouch_ioctl: Home-key enabled

[30914.582531] type=1400 audit(1521836879.819:886): avc: denied { read } for pid=10127 comm="sh" name="/" dev="rootfs" ino=2 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:rootfs:s0 tclass=dir permissive=0 duplicate messages suppressed

[30914.582575] type=1400 audit(1521836884.082:887): avc: denied { ioctl } for pid=10433 comm="su" path="/dev/pts/0" dev="devpts" ino=3 ioctlcmd=5404 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:untrusted_app_25_devpts:s0:c512,c768 tclass=chr_file permissive=0

[30914.594420] init: Untracked pid 10435 killed by signal 1

[30919.751753] type=1400 audit(1521836884.082:887): avc: denied { ioctl } for pid=10433 comm="su" path="/dev/pts/0" dev="devpts" ino=3 ioctlcmd=5404 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:untrusted_app_25_devpts:s0:c512,c768 tclass=chr_file permissive=0

[30919.751811] type=1400 audit(1521836889.252:888): avc: denied { ioctl } for pid=10443 comm="su" path="/dev/pts/0" dev="devpts" ino=3 ioctlcmd=5404 scontext=u:r:untrusted_app_25:s0:c512,c768 tcontext=u:object_r:untrusted_app_25_devpts:s0:c512,c768 tclass=chr_file permissive=0

[30927.516218] FG: soc_work_fn: adjust_soc: s 89 r 167358 i 81634 v 4178137 t 302

Hi Luk wifi does not allow to deep sleep, if wifi turn off and turn on, go deep sleep normal.