Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1517139
| From | Chen Yu <yu.c.chen@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/2][RFC v6] timekeeping: Ignore the bogus sleep time if pm_trace is enabled |
| Date | 2016-11-08 13:50 +0100 |
| Message-ID | <sBe0G-Zj-9@gated-at.bofh.it> (permalink) |
| References | <sBaq5-76t-5@gated-at.bofh.it> <sBaq5-76t-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Nov 08, 2016 at 05:01:35PM +0800, Chen Yu wrote: > From: Thomas Gleixner <tglx@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 <tglx@linutronix.de> > Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net> > Cc: Len Brown <lenb@kernel.org> > Cc: John Stultz <john.stultz@linaro.org> > Cc: Xunlei Pang <xlpang@redhat.com> > Signed-off-by: Chen Yu <yu.c.chen@intel.com> > --- > [cut] Will resend another version. Thanks.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2][RFC v6] Ignore bogus sleep time if pm_trace is enabled Chen Yu <yu.c.chen@intel.com> - 2016-11-08 10:00 +0100
[PATCH 1/2][RFC v6] timekeeping: Ignore the bogus sleep time if pm_trace is enabled Chen Yu <yu.c.chen@intel.com> - 2016-11-08 10:00 +0100
Re: [PATCH 1/2][RFC v6] timekeeping: Ignore the bogus sleep time if pm_trace is enabled Chen Yu <yu.c.chen@intel.com> - 2016-11-08 13:50 +0100
[PATCH 2/2][RFC v6] PM / sleep: save/restore RTC time after resumed if pm_trace enabled Chen Yu <yu.c.chen@intel.com> - 2016-11-08 10:00 +0100
Re: [PATCH 2/2][RFC v6] PM / sleep: save/restore RTC time after resumed if pm_trace enabled Chen Yu <yu.c.chen@intel.com> - 2016-11-08 13:40 +0100
csiph-web