Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1516956
| From | Chen Yu <yu.c.chen@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 0/2][RFC v6] Ignore bogus sleep time if pm_trace is enabled |
| Date | 2016-11-08 10:00 +0100 |
| Message-ID | <sBaq5-76t-5@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This patch set is based on Thomas's previous solution, to bypass the bogus CMOS-RTC sleep time after resumed, thus to avoid damage to timekeeping system. The bogus sleep time comes from pm_trace, which might use CMOS-RTC for debugging purpose. Meanwhile, a solution to save/restore of CMOS-RTC is also proposed to give better user experience. Chen Yu (2): timekeeping: Ignore the bogus sleep time if pm_trace is enabled PM / sleep: save/restore RTC time after resumed if pm_trace enabled arch/x86/kernel/rtc.c | 9 +++++++++ drivers/base/power/trace.c | 31 +++++++++++++++++++++++++++++++ drivers/rtc/rtc-cmos.c | 7 +++++++ include/linux/mc146818rtc.h | 1 + include/linux/pm-trace.h | 9 ++++++++- 5 files changed, 56 insertions(+), 1 deletion(-) -- 2.7.4
Back to linux.kernel | Previous | Next — 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