Hi All,
We are using linux-2.6.35.3(freescale release L2.6.35_11.09.01_ER) on i.mx53.
When we enter into low power mode(mem), sometimes system will take around 1 minute delay to suspend.
We found the cause for this issue is in the function "timekeeping_forward_now()" in kernel/time/timekeeping.c file.
In the above function, call to "timespec_add_ns(&raw_time, nsec)" causing the delay in suspend.
Also observed "raw_time.tv_nsec" will have the negative value in the above case.
Is there any patches available to solve this issue?
Hi Vishakh
this is known kernel issue, described in below patches
Cross Reference: /linux/stable/kernel/time/timekeeping.c
Probably you can post this on kernel.org mailing list for more
assistance.
Also one can try to use more new kernel
Best regards
igor
Hi Igor
Thank you for the patches. I applied the changes mentioned in patches.
Seems like this solved the issue.
Regards,
Vishakh