On Tue, Nov 08, 2016 at 05:01:35PM +0800, Chen Yu wrote:
> From: Thomas Gleixner <t...@linutronix.de>
>
> Previously we encountered some memory overflow issues due to
> the bogus sleep time brought by inconsistent rtc, which is
> triggered when pm_trace is enabled, and we have fixed it
> in recent kernel. However it's improper in the first place
> to call __timekeeping_inject_sleeptime() in case that pm_trace
> is enabled simply because that "hash" time value will wreckage
> the timekeeping subsystem.
>
> This patch is to bypass the bogus rtc interval when pm_trace is enabled.
>
> Cc: Thomas Gleixner <t...@linutronix.de>
> Cc: "Rafael J. Wysocki" <r...@rjwysocki.net>
> Cc: Len Brown <l...@kernel.org>
> Cc: John Stultz <john.stu...@linaro.org>
> Cc: Xunlei Pang <xlp...@redhat.com>
> Signed-off-by: Chen Yu <yu.c.c...@intel.com>
> ---
>
[cut]
Will resend another version. Thanks.