Hi, Have found hibernation & suspend of 2.6.39-rcX doesn't work on Loongson(Note: 2.6.38 is ok!), the main problem is that the resuming procedure is very very slow and after resuming to user-space, the whole system can response users' input, but after a while, it simply 'stop' and the cpu use rate becomes highest.
In order to check this problem, we may need to check the 'raw' mainline support, if it works, then, some not-yet-mainlined patches or changes in our linux-loongson-community may have been broken, otherwise, some mainline power subsystem may have changed, but our Loongson specific parts have been stale. I guess the mostly related parts maybe the clock driver, particularly, our CONFIG_R4K_TIMER_FOR_CPUFREQ or the new MIPS c0 count based delay implementation in arch/mips/kernel/csrc-r4k.c, we may check them via disabling CONFIG_R4K_TIMER_FOR_CPUFREQ and revert to the old delay support in arch/mips/lib/delay.c. To debug the power subsystem, please refer to Documentation/power/basic-pm-debugging.txt The release time of 2.6.39 is coming but I'm too busy, If your time allows, welcome your patch and thanks in advance ;-) Thanks, Wu Zhangjin -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.