[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1478589736.git.yu.c.chen@intel.com>
Date: Tue, 8 Nov 2016 17:00:10 +0800
From: Chen Yu <yu.c.chen@...el.com>
To: x86@...nel.org
Cc: Thomas Gleixner <tglx@...utronix.de>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Len Brown <lenb@...nel.org>,
John Stultz <john.stultz@...aro.org>,
Xunlei Pang <xlpang@...hat.com>, linux-pm@...r.kernel.org,
rtc-linux@...glegroups.com, linux-kernel@...r.kernel.org,
Chen Yu <yu.c.chen@...el.com>
Subject: [PATCH 0/2][RFC v6] Ignore bogus sleep time if pm_trace is enabled
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
Powered by blists - more mailing lists