[tip:timers/urgent] timers/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-04-18 Thread tip-bot for Chang-An Chen
Commit-ID: 3f2552f7e9c5abef2775c53f7af66532f8bf65bc Gitweb: https://git.kernel.org/tip/3f2552f7e9c5abef2775c53f7af66532f8bf65bc Author: Chang-An Chen AuthorDate: Fri, 29 Mar 2019 10:59:09 +0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Apr 2019 14:34:53 +0200 timers/sched_clock

[tip:timers/urgent] tiemrs/sched_clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-04-18 Thread tip-bot for Chang-An Chen
Commit-ID: fe4a9a665de982b9eeb4a5e61f9c1c1abe80fb51 Gitweb: https://git.kernel.org/tip/fe4a9a665de982b9eeb4a5e61f9c1c1abe80fb51 Author: Chang-An Chen AuthorDate: Fri, 29 Mar 2019 10:59:09 +0800 Committer: Thomas Gleixner CommitDate: Thu, 18 Apr 2019 14:16:31 +0200 tiemrs/sched_clock

Re: [PATCH v2] sched/clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-04-14 Thread Chang-An Chen
Hi, This is just a gentle ping for this patch. On Fri, 2019-03-29 at 10:59 +0800, Chang-An Chen wrote: > tick_freeze() introduced by suspend-to-idle in commit 124cf9117c5f > ("PM / sleep: Make it possible to quiesce timers during suspend-to-idle") > will use timekeeping_s

[PATCH v2] sched/clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-03-28 Thread Chang-An Chen
ck_freeze() together with timekeeping_suspend() and timekeeping_resume() to make sure generic sched_clock wrapping will not happen. Signed-off-by: Chang-An Chen Fixes: 124cf9117c5f (PM / sleep: Make it possible to quiesce timers during suspend-to-idle) --- kernel/time/sched_clock.c |4 ++

Re: [PATCH 1/1] sched/clock: Prevent generic sched_clock wrap caused by tick_freeze()

2019-03-28 Thread Chang-An Chen
On Mon, 2019-03-25 at 21:54 +0800, Thomas Gleixner wrote: > On Mon, 25 Mar 2019, Chang-An Chen wrote: > > --- a/include/linux/sched_clock.h > > +++ b/include/linux/sched_clock.h > > @@ -13,6 +13,10 @@ > > > > extern void sched_clock_reg