I am trying suspend-to-mem in Hikey960 with 4.9 kernel.
It is saying hisi_dwc3_prepare: host mode, should not go to sleep!
See full logs below.
/ # echo mem > /sys/power/state
[ 63.727263] [USB3][hisi_dwc3_prepare]hisi_dwc3_prepare: host mode, should not go to sleep!
[ 63.727283] device_prepare(): hisi_dwc3_prepare+0x0/0x160 returns -14
[ 63.727294] PM: Some devices failed to suspend, or early wake event detected
[ 63.727313] cpufreq: cpufreq_resume: Failed to start governor for policy: ffffffc0b0c02400
[ 63.727316] cpufreq: cpufreq_resume: Failed to start governor for policy: ffffffc0b0c02800
[ 63.729326] wl18xx_driver wl18xx.1.auto: firmware: ti-connectivity/wl18xx-conf.bin will not be loaded
[ 63.729333] wlcore: ERROR could not get configuration binary ti-connectivity/wl18xx-conf.bin: -11
To see what happens if I disable USB dirver, I unset CONFIG_USB_DWC3.
But while trying suspend-to-mem, boards hung after below command.
echo mem > /sys/power/state
No further messages in serial console and board rebooted after few seconds.
I am searching for a working scenario where susped-to-mem is found working on
Hikey960 with Linux kernel.
Does anybody know, Hikey960 supports power management/suspend-to-mem
with Liunx kernel?
If it supports, could you please tell me about the
- Linux kernel version (giving git commit hash will also help)
- dtb file name and
- rootfs to be used.