how to enable suspend to ram for arm-64 bits

yoma sophian sophian.yoma at gmail.com
Wed Aug 17 10:26:14 PDT 2016


hi all:
After I finish porting aarch64 linux kernel on my platform and enable
CONFIG_PM and CONFIG_SUSPEND,  I found there is no output when I cat
/sys/power/state.

After tracing kernel code, kernel/power/suspend.c, it seems we need to
create global suspend method table with suspend_set_ops then we can
get valid pm_states.
Is any dts or place like arm/match-xxx for registering global suspend method?

appreciate your kind help in advance,



More information about the linux-arm-kernel mailing list