Delay in Suspend to low power mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Delay in Suspend to low power mode

584 Views
vishakh
Contributor III

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?

Labels (1)
0 Kudos
2 Replies

412 Views
igorpadykov
NXP Employee
NXP Employee

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

imx53qsb yocto latest kernel.

Best regards

igor

0 Kudos

412 Views
vishakh
Contributor III

Hi Igor

Thank you for the patches. I applied the changes mentioned in patches.

Seems like this solved the issue.

Regards,

Vishakh

0 Kudos