Re: [patch V2 2/5] posix-cpu-timers: Convert the flags to a bitmap

2020-07-21 Thread Frederic Weisbecker
On Thu, Jul 16, 2020 at 10:19:25PM +0200, Thomas Gleixner wrote: > --- a/kernel/time/posix-cpu-timers.c > +++ b/kernel/time/posix-cpu-timers.c > @@ -25,7 +25,7 @@ void posix_cputimers_group_init(struct p > posix_cputimers_init(pct); > if (cpu_limit != RLIM_INFINITY) { >

[PATCH] timers: Recalculate next timer interrupt only when necessary

2020-07-20 Thread Frederic Weisbecker
ers(struct timer_base *base) while (time_after_eq(jiffies, base->clk) && time_after_eq(jiffies, base->next_expiry)) { levels = collect_expired_timers(base, heads); + /* +* The only possible reason for not finding any e

Re: [GIT pull] timers/urgent for v5.8-rc6

2020-07-19 Thread pr-tracker-bot
The pull request you sent on Sun, 19 Jul 2020 13:18:12 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-urgent-2020-07-19 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/66e4b63624fcfa47f4d4e0d451f22a8f67902426 Thank you! -- Deet-do

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-19 Thread Thomas Gleixner
Thomas Gleixner writes: > Peter Zijlstra writes: >> On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote: >>> +static void __run_posix_cpu_timers(struct task_struct *tsk) >>> +{ >>> + struct posix_cputimers *pct = >posix_cputimers; >>> + >>> + if

[GIT pull] timers/urgent for v5.8-rc6

2020-07-19 Thread Thomas Gleixner
Linus, please pull the latest timers/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2020-07-19 up to: e2a71bdea816: timer: Fix wheel index calculation on last level Two fixes for the timer wheel: - A timer which is already expired at enqueue

[PATCH] docs: timers: drop documentation about LB_BIAS

2020-07-18 Thread Julia Lawall
The LB_BIAS feature was removed in commit 1c1b8a7b03ef ("sched/fair: Replace source_load() & target_load() with weighted_cpuload()"), so drop the mention that it is disabled in the no_hz case. Signed-off-by: Julia Lawall --- Documentation/timers/no_hz.rst |2 -- 1 file change

[tip: timers/core] timers: Spare timer softirq until next expiry

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: d4f7dae87096dfe722bf32aa82076ece1063746c Gitweb: https://git.kernel.org/tip/d4f7dae87096dfe722bf32aa82076ece1063746c Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:49 +02:00

[tip: timers/core] timers: Expand clk forward logic beyond nohz

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 1f8a4212dc83f8353843fabf6465fd918372fbbf Gitweb: https://git.kernel.org/tip/1f8a4212dc83f8353843fabf6465fd918372fbbf Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:48 +02:00

[tip: timers/core] timers: Reuse next expiry cache after nohz exit

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 90d52f65f303091be17b5f4ffab7090b2064b4a1 Gitweb: https://git.kernel.org/tip/90d52f65f303091be17b5f4ffab7090b2064b4a1 Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:47 +02:00

[tip: timers/core] timers: Preserve higher bits of expiration on index calculation

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 3d2e83a2a6a0657c1cf145fa6ba23620715d6c36 Gitweb: https://git.kernel.org/tip/3d2e83a2a6a0657c1cf145fa6ba23620715d6c36 Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:41 +02:00

[tip: timers/core] timers: Add comments about calc_index() ceiling work

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 4468897211628865ee2392acb5ad281f74176f63 Gitweb: https://git.kernel.org/tip/4468897211628865ee2392acb5ad281f74176f63 Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:44 +02:00

[tip: timers/core] timers: Optimize _next_timer_interrupt() level iteration

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 001ec1b3925da0d51847c23fc0aa4129282db526 Gitweb: https://git.kernel.org/tip/001ec1b3925da0d51847c23fc0aa4129282db526 Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:45 +02:00

[tip: timers/core] timers: Move trigger_dyntick_cpu() to enqueue_timer()

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 9a2b764b06c880678416d803d027f575ae40ec99 Gitweb: https://git.kernel.org/tip/9a2b764b06c880678416d803d027f575ae40ec99 Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:43 +02:00

[tip: timers/core] timers: Lower base clock forwarding threshold

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 36cd28a4cdd05d47ccb62a2d86e8f37839cc879a Gitweb: https://git.kernel.org/tip/36cd28a4cdd05d47ccb62a2d86e8f37839cc879a Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:51 +02:00

[tip: timers/core] timers: Always keep track of next expiry

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: dc2a0f1fb2a06df09f5094f29aea56b763aa7cca Gitweb: https://git.kernel.org/tip/dc2a0f1fb2a06df09f5094f29aea56b763aa7cca Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:46 +02:00

[tip: timers/core] timers: Remove must_forward_clk

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/core branch of tip: Commit-ID: 0975fb565b8b8f9e0c96d0de39fcb954833ea5e0 Gitweb: https://git.kernel.org/tip/0975fb565b8b8f9e0c96d0de39fcb954833ea5e0 Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:50 +02:00

[tip: timers/core] timers: Use only bucket expiry for base->next_expiry value

2020-07-17 Thread tip-bot2 for Anna-Maria Behnsen
The following commit has been merged into the timers/core branch of tip: Commit-ID: 1f32cab0db4bdf6491eb4a60838f278e01c31698 Gitweb: https://git.kernel.org/tip/1f32cab0db4bdf6491eb4a60838f278e01c31698 Author:Anna-Maria Behnsen AuthorDate:Fri, 17 Jul 2020 16:05:42 +02:00

[tip: timers/urgent] timer: Fix wheel index calculation on last level

2020-07-17 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: e2a71bdea81690b6ef11f4368261ec6f5b6891aa Gitweb: https://git.kernel.org/tip/e2a71bdea81690b6ef11f4368261ec6f5b6891aa Author:Frederic Weisbecker AuthorDate:Fri, 17 Jul 2020 16:05:40 +02

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-17 Thread Thomas Gleixner
Peter Zijlstra writes: > On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote: >> +static void __run_posix_cpu_timers(struct task_struct *tsk) >> +{ >> +struct posix_cputimers *pct = >posix_cputimers; >> + >> +if (!test_and_set_bit(CPUTIMERS_WORK_SCHEDULED, >flags)) >> +

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-17 Thread Thomas Gleixner
Peter Zijlstra writes: > On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote: > >> @@ -1096,6 +1099,12 @@ static void __run_posix_cpu_timers(struc >> check_process_timers(tsk, ); >> >> /* >> + * Allow new work to be scheduled. The expiry cache >> + * is up to date.

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-17 Thread Thomas Gleixner
Oleg, Oleg Nesterov writes: > Looks correct to me, but I forgot everything about posix-timers.c that's not a problem because this is about posix-cpu-timers.c :) > this obviously means that the expired timer won't fire until the > task returns to user-mode but probably we don't care. If the

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-17 Thread Oleg Nesterov
Looks correct to me, but I forgot everything about posix-timers.c this obviously means that the expired timer won't fire until the task returns to user-mode but probably we don't care. One cosmetic nit below, On 07/16, Thomas Gleixner wrote: > > +#ifdef CONFIG_POSIX_CPU_TIMERS_TASK_WORK > +void

[PATCH 07/12] timers: Always keep track of next expiry

2020-07-17 Thread Frederic Weisbecker
So far next expiry was only tracked while the CPU was in nohz_idle mode in order to cope with missing ticks that can't increment the base->clk periodically anymore. We are going to expand that logic beyond nohz in order to spare timers softirqs so do it unconditionally. Tested-by: Juri Le

[PATCH 00/11] timer: Reduce timers softirq v3

2020-07-17 Thread Frederic Weisbecker
This set piggybacks the 3 patches that have been posted seperately along the reviews. Changes since v2: 1) Add "timer: Fix wheel index calculation on last level" This one targets timers/urgent 2) Add "timer: Preserve higher bits of expiration on index calculation"

[PATCH 03/12] timers: Use only bucket expiry for base->next_expiry value

2020-07-17 Thread Frederic Weisbecker
From: Anna-Maria Behnsen The bucket expiry time is the effective expriy time of timers and is greater than or equal to the requested timer expiry time. This is due to the guarantee that timers never expire early and the reduced expiry granularity in the secondary wheel levels. When a timer

Re: [PATCH 4/9] timers: Always keep track of next expiry

2020-07-17 Thread Frederic Weisbecker
increment the base->clk > > periodically anymore. > > > > We are going to expand that logic beyond nohz in order to spare timers > > softirqs so do it unconditionally. > > > > Signed-off-by: Frederic Weisbecker > > Cc: Peter Zijlstra > > Cc: Ann

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-16 Thread Peter Zijlstra
On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote: > +static void __run_posix_cpu_timers(struct task_struct *tsk) > +{ > + struct posix_cputimers *pct = >posix_cputimers; > + > + if (!test_and_set_bit(CPUTIMERS_WORK_SCHEDULED, >flags)) > + task_work_add(tsk,

Re: [patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-16 Thread Peter Zijlstra
On Thu, Jul 16, 2020 at 10:19:26PM +0200, Thomas Gleixner wrote: > @@ -1096,6 +1099,12 @@ static void __run_posix_cpu_timers(struc > check_process_timers(tsk, ); > > /* > + * Allow new work to be scheduled. The expiry cache > + * is up to date. > + */ > +

[patch V2 4/5] posix-cpu-timers: Expiry timers directly when in task work context

2020-07-16 Thread Thomas Gleixner
If the expiry happens in task context, there is no point in collecting the expired timers on a list first. Just expire them directly. Signed-off-by: Thomas Gleixner --- kernel/time/posix-cpu-timers.c | 92 +++-- 1 file changed, 79 insertions(+), 13

[patch V2 2/5] posix-cpu-timers: Convert the flags to a bitmap

2020-07-16 Thread Thomas Gleixner
tqhead; }; +enum { + CPUTIMERS_ACTIVE, + CPUTIMERS_EXPIRING, +}; + /** * posix_cputimers - Container for posix CPU timer related data - * @bases: Base container for posix CPU clocks - * @timers_active: Timers are queued. - * @expiry_active: Timer expiry

[patch V2 1/5] posix-cpu-timers: Split run_posix_cpu_timers()

2020-07-16 Thread Thomas Gleixner
/kernel/time/posix-cpu-timers.c @@ -1080,27 +1080,12 @@ static inline bool fastpath_timer_check( return false; } -/* - * This is called from the timer interrupt handler. The irq handler has - * already updated our counts. We need to check if any timers fire now. - * Interrupts are disabled

[patch V2 3/5] posix-cpu-timers: Provide mechanisms to defer timer handling to task_work

2020-07-16 Thread Thomas Gleixner
Running posix cpu timers in hard interrupt context has a few downsides: - For PREEMPT_RT it cannot work as the expiry code needs to take sighand lock, which is a 'sleeping spinlock' in RT. The original RT approach of offloading the posix CPU timer handling into a high priority thread

[patch V2 0/5] posix-cpu-timers: Move expiry into task work context

2020-07-16 Thread Thomas Gleixner
This is the second attempt of moving the posix CPU timer heavy lifting out of interrupt context. The initial version can be found here: https://lore.kernel.org/r/20190801143250.370326...@linutronix.de Running posix cpu timers in hard interrupt context has a few downsides: - For PREEMPT_RT

Re: [PATCH v2] timers: Use only bucket expiry for base->next_expiry value

2020-07-15 Thread Frederic Weisbecker
On Tue, Jul 14, 2020 at 09:29:24AM +0200, Anna-Maria Behnsen wrote: > The bucket expiry time is the effective expriy time of timers and is > greater than or equal to the requested timer expiry time. This is due > to the guarantee that timers never expire early and the reduced expiry >

Re: [PATCH 4/9] timers: Always keep track of next expiry

2020-07-14 Thread Anna-Maria Behnsen
yond nohz in order to spare timers > softirqs so do it unconditionally. > > Signed-off-by: Frederic Weisbecker > Cc: Peter Zijlstra > Cc: Anna-Maria Gleixner > Cc: Juri Lelli > --- > kernel/time/timer.c | 36 +++- > 1 file changed, 19 i

[PATCH v2] timers: Use only bucket expiry for base->next_expiry value

2020-07-14 Thread Anna-Maria Behnsen
The bucket expiry time is the effective expriy time of timers and is greater than or equal to the requested timer expiry time. This is due to the guarantee that timers never expire early and the reduced expiry granularity in the secondary wheel levels. When a timer is enqueued

Re: [PATCH] timers: Use only bucket expiry for base->next_expiry value

2020-07-14 Thread Anna-Maria Behnsen
Hi Frederic, On Fri, 10 Jul 2020, Frederic Weisbecker wrote: > Hi Anna-Maria, > > Nice change, it indeed makes more sense that way. > Just a few details below: > > On Fri, Jul 10, 2020 at 05:46:22PM +0200, Anna-Maria Behnsen wrote: > > Use the expiry value of the bucket into which the timer is

Re: [PATCH] timers: Use only bucket expiry for base->next_expiry value

2020-07-10 Thread Frederic Weisbecker
Hi Anna-Maria, Nice change, it indeed makes more sense that way. Just a few details below: On Fri, Jul 10, 2020 at 05:46:22PM +0200, Anna-Maria Behnsen wrote: > The bucket expiry time is the effective expriy time of timers and is > greater than or equal to the requested timer expir

[PATCH] timers: Use only bucket expiry for base->next_expiry value

2020-07-10 Thread Anna-Maria Behnsen
The bucket expiry time is the effective expriy time of timers and is greater than or equal to the requested timer expiry time. This is due to the guarantee that timers never expire early and the reduced expiry granularity in the secondary wheel levels. When a timer is enqueued

[tip: timers/urgent] timer: Prevent base->clk from moving backward

2020-07-09 Thread tip-bot2 for Frederic Weisbecker
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: 30c66fc30ee7a98c4f3adf5fb7e213b61884474f Gitweb: https://git.kernel.org/tip/30c66fc30ee7a98c4f3adf5fb7e213b61884474f Author:Frederic Weisbecker AuthorDate:Fri, 03 Jul 2020 03:06:57 +02

Re: [PATCH 0/9] timer: Reduce timers softirq v2

2020-07-09 Thread Juri Lelli
Thomas) > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > timers/softirq-v2 > > HEAD: 5545d80b7b9bd69ede1c17fda194ac6620e7063f > > Thanks, > Frederic > --- Testing of this set looks good (even with RT). Feel free to add Tes

[PATCH 0/9] timer: Reduce timers softirq v2

2020-07-06 Thread Frederic Weisbecker
* Dropped "timer: Simplify LVL_START() and calc_index()" and added comments to explain current layout instead in 2/9 (thanks Thomas) * Rewrote changelog of 9/9 (Thanks Thomas) git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git tim

[PATCH 4/9] timers: Always keep track of next expiry

2020-07-06 Thread Frederic Weisbecker
So far next expiry was only tracked while the CPU was in nohz_idle mode in order to cope with missing ticks that can't increment the base->clk periodically anymore. We are going to expand that logic beyond nohz in order to spare timers softirqs so do it unconditionally. Signed-off-by: Frede

[PATCH 3/3] arm64: timers: Disable the compat vdso for cores affected by ARM64_WORKAROUND_1418040

2020-07-01 Thread Marc Zyngier
ARM64_WORKAROUND_1418040 requires that AArch32 EL0 accesses to the virtual counter register are trapped and emulated by the kernel. This makes the vdso pretty pointless, and in some cases livelock prone. Provide a workaround entry that limits the vdso to 64bit tasks. Signed-off-by: Marc Zyngier

[RFC PATCH 00/10] timer: Reduce timers softirq (and other optimizations)

2020-06-30 Thread Frederic Weisbecker
wakes up, etc... The main issue here is that the tick fires the timer tick unconditionally, whether timers have expired or not. This set is a proposal to lower that. The 1st patch is actually a bugfix for a theoretical issue that I haven't observed in practice. But who knows? Patch 2

[RFC PATCH 05/10] timers: Always keep track of next expiry

2020-06-30 Thread Frederic Weisbecker
So far next expiry was only tracked while the CPU was in nohz_idle mode in order to cope with missing ticks that can't increment the base->clk periodically anymore. We are going to expand that logic beyond nohz in order to spare timers softirqs so do it unconditionally. Signed-off-by: Frede

[PATCH 4.9 062/128] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-19 Thread Greg Kroah-Hartman
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH 4.14 089/190] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-19 Thread Greg Kroah-Hartman
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH 4.19 112/267] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-19 Thread Greg Kroah-Hartman
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH 5.7 061/376] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-19 Thread Greg Kroah-Hartman
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH 5.4 043/261] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-19 Thread Greg Kroah-Hartman
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH 4.4 050/101] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-19 Thread Greg Kroah-Hartman
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[tip: timers/urgent] timekeeping: Fix kerneldoc system_device_crosststamp & al

2020-06-18 Thread tip-bot2 for Kurt Kanzenbach
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: f097eb38f71391ff2cf078788bad5a00eb3bd96a Gitweb: https://git.kernel.org/tip/f097eb38f71391ff2cf078788bad5a00eb3bd96a Author:Kurt Kanzenbach AuthorDate:Tue, 09 Jun 2020 10:17:26 +02:00

Re: [GIT pull] timers/urgent for v5.8

2020-06-11 Thread pr-tracker-bot
The pull request you sent on Thu, 11 Jun 2020 18:46:22 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-urgent-2020-06-11 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/92ac971219a29336e466921156b16f8fa88d91aa Thank you! -- Deet-do

[GIT pull] timers/urgent for v5.8

2020-06-11 Thread Thomas Gleixner
Linus, please pull the latest timers/urgent branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-urgent-2020-06-11 up to: b91c8c42ffdd: lib/vdso: Force inlining of __cvdso_clock_gettime_common() A small fix for the VDSO code to force inline

[PATCH AUTOSEL 5.4 046/175] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-08 Thread Sasha Levin
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH AUTOSEL 4.19 022/106] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-08 Thread Sasha Levin
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH AUTOSEL 4.9 10/50] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-08 Thread Sasha Levin
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH AUTOSEL 4.4 07/37] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-08 Thread Sasha Levin
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH AUTOSEL 4.14 16/72] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-08 Thread Sasha Levin
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[PATCH AUTOSEL 5.7 065/274] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-08 Thread Sasha Levin
CLKSRC_OF. In current implementation it traverses all the timers available in the system and calls their initialization methods if corresponding devices were either in dtb or in acpi. But if before the commit any number of available timers would be installed as clockevent and clocksource devi

[tip: timers/urgent] lib/vdso: Force inlining of __cvdso_clock_gettime_common()

2020-06-03 Thread tip-bot2 for Christophe Leroy
The following commit has been merged into the timers/urgent branch of tip: Commit-ID: b91c8c42ffdd5c983923edb38b3c3e112bfe6263 Gitweb: https://git.kernel.org/tip/b91c8c42ffdd5c983923edb38b3c3e112bfe6263 Author:Christophe Leroy AuthorDate:Tue, 28 Apr 2020 13:16:53

Re: [GIT pull] timers/core for v5.8

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Tue, 02 Jun 2020 12:08:10 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > timers-core-2020-06-02 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/dabc4df27c628866ede130a09121f255ca894d8c Thank you! -- Deet-do

Re: [GIT pull] x86/timers for v5.8

2020-06-03 Thread pr-tracker-bot
The pull request you sent on Wed, 03 Jun 2020 15:08:43 -: > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git > x86-timers-2020-06-03 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f6aee505c71bbb035dde146caf5a6abbf3ccbe47 Thank you! -- Deet-doot-

Re: [GIT pull] timers/core for v5.8

2020-06-03 Thread Thomas Gleixner
Linus Torvalds writes: > On Tue, Jun 2, 2020 at 5:09 AM Thomas Gleixner wrote: >> >> The truly boring timer and clocksource updates for 5.8: >> >> - Not a single new clocksource or clockevent driver! > > The diffstat proved that to be a filthy lie: > >>

Re: [GIT pull] timers/core for v5.8

2020-06-03 Thread Linus Torvalds
On Tue, Jun 2, 2020 at 5:09 AM Thomas Gleixner wrote: > > The truly boring timer and clocksource updates for 5.8: > > - Not a single new clocksource or clockevent driver! The diffstat proved that to be a filthy lie: > drivers/clocksource/timer-ti-dm-systimer.c | 727 >

[GIT pull] x86/timers for v5.8

2020-06-03 Thread Thomas Gleixner
Linus, please pull the latest x86/timers branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-timers-2020-06-03 up to: bd35c77e32e4: x86/tsc: Add tsc_early_khz command line parameter X86 timer specific updates: - Add TPAUSE based delay which allows the CPU

[RESEND v7 5/6] clocksource: Add Low Power STM32 timers driver

2020-06-03 Thread Benjamin Gaignard
From: Benjamin Gaignard Implement clock event driver using low power STM32 timers. Low power timer counters running even when CPUs are stopped. It could be used as clock event broadcaster to wake up CPUs but not like a clocksource because each it rise an interrupt the counter restart from 0

[GIT pull] timers/core for v5.8

2020-06-02 Thread Thomas Gleixner
Linus, please pull the latest timers/core branch from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers-core-2020-06-02 up to: 809eb4e9bf9d: dt-bindings: timer: Add renesas,em-sti bindings The truly boring timer and clocksource updates for 5.8: - Not a single new

[tip: timers/core] clocksource: mips-gic-timer: Register as sched_clock

2020-06-01 Thread tip-bot2 for Paul Burton
The following commit has been merged into the timers/core branch of tip: Commit-ID: 48016e78d328998b1f00bcfb639adeabca51abe5 Gitweb: https://git.kernel.org/tip/48016e78d328998b1f00bcfb639adeabca51abe5 Author:Paul Burton AuthorDate:Thu, 21 May 2020 23:48:16 +03:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Fix spelling mistake "detectt" -> "detect"

2020-06-01 Thread tip-bot2 for Colin Ian King
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac593e62b0cfcbc53502be8b6c7e40fed8baff8c Gitweb: https://git.kernel.org/tip/ac593e62b0cfcbc53502be8b6c7e40fed8baff8c Author:Colin Ian King AuthorDate:Tue, 19 May 2020 23:44:28 +01:00

[tip: timers/core] clocksource/drivers/timer-versatile: Clear OF_POPULATED flag

2020-06-01 Thread tip-bot2 for Saravana Kannan
The following commit has been merged into the timers/core branch of tip: Commit-ID: 7a3768c206a006525afc090f92d4d618d8356b92 Gitweb: https://git.kernel.org/tip/7a3768c206a006525afc090f92d4d618d8356b92 Author:Saravana Kannan AuthorDate:Tue, 24 Mar 2020 12:53:02 -07:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: 52762fbd1c4778ac9b173624ca0faacd22ef4724 Gitweb: https://git.kernel.org/tip/52762fbd1c4778ac9b173624ca0faacd22ef4724 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:18 -07:00

[tip: timers/core] drivers/clocksource/arm_arch_timer: Remove duplicate error message

2020-06-01 Thread tip-bot2 for Dejin Zheng
The following commit has been merged into the timers/core branch of tip: Commit-ID: d1b5e55208fd8e1c73876ab6ad1ce93485e3f5a2 Gitweb: https://git.kernel.org/tip/d1b5e55208fd8e1c73876ab6ad1ce93485e3f5a2 Author:Dejin Zheng AuthorDate:Wed, 29 Apr 2020 23:35:59 +08:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Do one override clock parent in prepare()

2020-06-01 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the timers/core branch of tip: Commit-ID: 264418e20d1fedbed8ad79683b63caa3d72c3b2e Gitweb: https://git.kernel.org/tip/264418e20d1fedbed8ad79683b63caa3d72c3b2e Author:Lokesh Vutla AuthorDate:Mon, 27 Apr 2020 22:58:31 +05:30

[tip: timers/core] dt-bindings: timer: Move snps,dw-apb-timer DT schema from rtc

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: e69bc8999662a3fa6d856820dd09717afff1cbb0 Gitweb: https://git.kernel.org/tip/e69bc8999662a3fa6d856820dd09717afff1cbb0 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:11 +03:00

[tip: timers/core] clocksource/drivers/timer-ti-32k: Add support for initializing directly

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: d15483bb49bae0f9cbb67c54becec252545752d3 Gitweb: https://git.kernel.org/tip/d15483bb49bae0f9cbb67c54becec252545752d3 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:17 -07:00

[tip: timers/core] clocksource: mips-gic-timer: Mark GIC timer as unstable if ref clock changes

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: 7d7de1a65349811b24971c5e8e040e6aac192dd4 Gitweb: https://git.kernel.org/tip/7d7de1a65349811b24971c5e8e040e6aac192dd4 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:17 +03:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Add clockevent and clocksource support

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: aba1ad05da088944a62eb87fb0cd8391152e8985 Gitweb: https://git.kernel.org/tip/aba1ad05da088944a62eb87fb0cd8391152e8985 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:18 -07:00

[tip: timers/core] clocksource: davinci: axe a pointless __GFP_NOFAIL

2020-06-01 Thread tip-bot2 for Christophe JAILLET
The following commit has been merged into the timers/core branch of tip: Commit-ID: 4855f2bd91b6e3461af7d795bfe9a40420122131 Gitweb: https://git.kernel.org/tip/4855f2bd91b6e3461af7d795bfe9a40420122131 Author:Christophe JAILLET AuthorDate:Thu, 09 Apr 2020 12:12:26 +02:00

[tip: timers/core] clocksource/drivers/rda: drop redundant Kconfig dependency

2020-06-01 Thread tip-bot2 for Johan Hovold
The following commit has been merged into the timers/core branch of tip: Commit-ID: 83cba9536905e4f82b726a98fe404400f0c9eb76 Gitweb: https://git.kernel.org/tip/83cba9536905e4f82b726a98fe404400f0c9eb76 Author:Johan Hovold AuthorDate:Wed, 13 May 2020 14:25:48 +02:00

[tip: timers/core] clocksource/drivers/atmel-st: Remove useless 'status'

2020-06-01 Thread tip-bot2 for Jason Yan
The following commit has been merged into the timers/core branch of tip: Commit-ID: 8c42c0f72d7c4f295646d3eba73f62e5579b1732 Gitweb: https://git.kernel.org/tip/8c42c0f72d7c4f295646d3eba73f62e5579b1732 Author:Jason Yan AuthorDate:Tue, 14 Apr 2020 20:02:38 +08:00 Committer

[tip: timers/core] ARM: dts: Add 32KHz clock as default clock source

2020-06-01 Thread tip-bot2 for Lokesh Vutla
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac819eda7cc96656df50897848ffe5dfe9a3cb7c Gitweb: https://git.kernel.org/tip/ac819eda7cc96656df50897848ffe5dfe9a3cb7c Author:Lokesh Vutla AuthorDate:Mon, 27 Apr 2020 22:56:04 +05:30

[tip: timers/core] clocksource/drivers/timer-microchip-pit64b: Select CONFIG_TIMER_OF

2020-06-01 Thread tip-bot2 for Michael Ellerman
The following commit has been merged into the timers/core branch of tip: Commit-ID: 25259f7a5de2de9d67793dc584b15c83a3134c93 Gitweb: https://git.kernel.org/tip/25259f7a5de2de9d67793dc584b15c83a3134c93 Author:Michael Ellerman AuthorDate:Sun, 26 Apr 2020 22:43:56 +10:00

[tip: timers/core] clocksource/drivers/imx-tpm: Add support for ARM64

2020-06-01 Thread tip-bot2 for Anson Huang
The following commit has been merged into the timers/core branch of tip: Commit-ID: ac161f57b66dcf14b3339b1c5857c08a9ad4d833 Gitweb: https://git.kernel.org/tip/ac161f57b66dcf14b3339b1c5857c08a9ad4d833 Author:Anson Huang AuthorDate:Wed, 01 Apr 2020 12:27:02 +08:00

[tip: timers/core] clocksource/drivers/timer-ti-32k: Add support for initializing directly

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: 46b30515f97ece3da661b251e4a0ad9ac7a338d3 Gitweb: https://git.kernel.org/tip/46b30515f97ece3da661b251e4a0ad9ac7a338d3 Author:Tony Lindgren AuthorDate:Thu, 07 May 2020 10:23:17 -07:00

[tip: timers/core] clocksource/drivers/arc_timer: Remove duplicate error message

2020-06-01 Thread tip-bot2 for Dejin Zheng
The following commit has been merged into the timers/core branch of tip: Commit-ID: 311fb70aa55174ddebb5c6022b23e58b85e9f116 Gitweb: https://git.kernel.org/tip/311fb70aa55174ddebb5c6022b23e58b85e9f116 Author:Dejin Zheng AuthorDate:Wed, 29 Apr 2020 23:12:23 +08:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: c177e2975430cec296aa52a0d413e447417d6cf9 Gitweb: https://git.kernel.org/tip/c177e2975430cec296aa52a0d413e447417d6cf9 Author:Tony Lindgren AuthorDate:Tue, 19 May 2020 08:51:57 -07:00

[tip: timers/core] clocksource/drivers/davinci: Avoid trailing '\n' hidden in pr_fmt()

2020-06-01 Thread tip-bot2 for Christophe JAILLET
The following commit has been merged into the timers/core branch of tip: Commit-ID: bdf8783c0dae9d3d8fc1c4078fe849ab8aa8b583 Gitweb: https://git.kernel.org/tip/bdf8783c0dae9d3d8fc1c4078fe849ab8aa8b583 Author:Christophe JAILLET AuthorDate:Thu, 09 Apr 2020 11:25:43 +02:00

[tip: timers/core] clocksource/drivers/versatile: Allow CONFIG_CLKSRC_VERSATILE to be disabled

2020-06-01 Thread tip-bot2 for Rob Herring
The following commit has been merged into the timers/core branch of tip: Commit-ID: bfed0eded1ce00bda5cc2d2939b017f88e6b1fd0 Gitweb: https://git.kernel.org/tip/bfed0eded1ce00bda5cc2d2939b017f88e6b1fd0 Author:Rob Herring AuthorDate:Fri, 17 Apr 2020 16:20:45 -05:00

[tip: timers/core] clocksource/drivers/timer-ti-dm: Fix warning for set but not used

2020-06-01 Thread tip-bot2 for Tony Lindgren
The following commit has been merged into the timers/core branch of tip: Commit-ID: 6d15120b282e49811a47f2f6d6b749d178be7e99 Gitweb: https://git.kernel.org/tip/6d15120b282e49811a47f2f6d6b749d178be7e99 Author:Tony Lindgren AuthorDate:Tue, 19 May 2020 08:51:57 -07:00

[tip: timers/core] clocksource: dw_apb_timer: Affiliate of-based timer with any CPU

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: 65e0f876405ef4f0ff25eb1c5ff3e9b536d68805 Gitweb: https://git.kernel.org/tip/65e0f876405ef4f0ff25eb1c5ff3e9b536d68805 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:14 +03:00

[tip: timers/core] clocksource: dw_apb_timer: Make CPU-affiliation being optional

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: cee43dbf2ee3f430434e2b66994eff8a1aeda889 Gitweb: https://git.kernel.org/tip/cee43dbf2ee3f430434e2b66994eff8a1aeda889 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:13 +03:00

[tip: timers/core] dt-bindings: timer: Add renesas,em-sti bindings

2020-06-01 Thread tip-bot2 for Geert Uytterhoeven
The following commit has been merged into the timers/core branch of tip: Commit-ID: 809eb4e9bf9d84eb5b703358afd0d564d514f6d2 Gitweb: https://git.kernel.org/tip/809eb4e9bf9d84eb5b703358afd0d564d514f6d2 Author:Geert Uytterhoeven AuthorDate:Tue, 19 May 2020 10:11:01 +02:00

[tip: timers/core] dt-bindings: rtc: Convert snps,dw-apb-timer to DT schema

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: b33aaf5cd68d0fa0f0d6aa15831a1e82e2ef98e1 Gitweb: https://git.kernel.org/tip/b33aaf5cd68d0fa0f0d6aa15831a1e82e2ef98e1 Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:10 +03:00

[tip: timers/core] clocksource: dw_apb_timer_of: Fix missing clockevent timers

2020-06-01 Thread tip-bot2 for Serge Semin
The following commit has been merged into the timers/core branch of tip: Commit-ID: 6d2e16a3181bafb77b535095c39ad1c8b9558c8c Gitweb: https://git.kernel.org/tip/6d2e16a3181bafb77b535095c39ad1c8b9558c8c Author:Serge Semin AuthorDate:Thu, 21 May 2020 23:48:15 +03:00

Re: [PATCH net-next 4/4] net: phy: mscc-miim: read poll when high resolution timers are disabled

2020-05-26 Thread Florian Fainelli
On 5/26/2020 3:01 PM, Andrew Lunn wrote: >>> +/* When high resolution timers aren't built-in: we can't use >>> usleep_range() as >>> + * we would sleep way too long. Use udelay() instead. >>> + */ >>> +#define mscc_readl_poll_

Re: [PATCH net-next 4/4] net: phy: mscc-miim: read poll when high resolution timers are disabled

2020-05-26 Thread Andrew Lunn
> > +/* When high resolution timers aren't built-in: we can't use > > usleep_range() as > > + * we would sleep way too long. Use udelay() instead. > > + */ > > +#define mscc_readl_poll_timeout(addr, v

Re: [PATCH net-next 4/4] net: phy: mscc-miim: read poll when high resolution timers are disabled

2020-05-26 Thread Florian Fainelli
h resolution timers are enabled. Otherwise the delays will > end up to be much longer than expected. > > This patch fixes this by using udelay() under the hood when > CONFIG_HIGH_RES_TIMERS isn't enabled. This increases CPU usage. > > Signed-off-by: Antoine Tenart > --- > d

[PATCH net-next 4/4] net: phy: mscc-miim: read poll when high resolution timers are disabled

2020-05-26 Thread Antoine Tenart
The driver uses a read polling mechanism to check the status of the MDIO bus, to know if it is ready to accept next commands. This polling mechanism uses usleep_delay() under the hood between reads which is fine as long as high resolution timers are enabled. Otherwise the delays will end up

<    1   2   3   4   5   6   7   8   9   10   >