[PATCH] ARM:tegra20-colibri-512.dts: Change tristate status for i2c pinmux

2013-06-20 Thread Anna-Maria Gleixner
The nvidia,tristate entry for the pinmux of i2c1 an i2c3 was set to tristate. This results in non working i2c, because the i2c pins are not actively driven. Set the entries to "driven". Signed-off-by: Anna-Maria Gleixner diff --git a/arch/arm/boot/dts/tegra20-colibri-512.dtsi b/arc

Re: [PATCH] timers: avoid an unnecessory iteration in __run_timers()

2017-10-17 Thread Anna-Maria Gleixner
On Sun, 8 Oct 2017, Zhenzhong Duan wrote: > When we know next expired timer is later than current jiffies, we don't need > to > call collect_expired_timers() again checking empty hlists. > > Signed-off-by: Zhenzhong Duan Acked-by: Anna-Maria Gleixner Thanks,

[PATCH] Revert "timers: Don't wake ktimersoftd on every tick"

2017-05-26 Thread Anna-Maria Gleixner
removed from the wheel bucket for expiry are now dangling w/o a list head. That means those timers never get expired. If one of those timers is canceled the removal operation will result in a hlist corruption. Signed-off-by: Anna-Maria Gleixner --- kernel/time/timer.c | 96

Re: [PATCH v2 28/37] hrtimer: Implement support for softirq based hrtimers

2017-11-13 Thread Anna-Maria Gleixner
On Fri, 10 Nov 2017, Sebastian Andrzej Siewior wrote: > On 2017-10-22 23:40:06 [+0200], Anna-Maria Gleixner wrote: > > --- a/include/linux/hrtimer.h > > +++ b/include/linux/hrtimer.h > > @@ -528,25 +546,42 @@ static ktime_t __hrtimer_next_event_base > > * Recompute

[PATCH] bitops/find: Fix function description argument ordering

2018-08-06 Thread Anna-Maria Gleixner
ments name in function declaration for better readability. Signed-off-by: Anna-Maria Gleixner --- include/asm-generic/bitops/find.h | 22 -- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/include/asm-generic/bitops/find.h b/include/asm-generic/bitops/find.h

[PATCH] nohz: Fix local_timer_softirq_pending()

2018-07-31 Thread Anna-Maria Gleixner
quot;nohz: Prevent a timer interrupt storm in tick_nohz_stop_sched_tick()") Signed-off-by: Anna-Maria Gleixner --- kernel/time/tick-sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/time/tick-sched.c b/kernel/time/tick-sched.c index da9455a6b42b..5b33e2f5c0e

Re: [PATCH] nohz: Fix missing tick reprog while interrupting inline timer softirq

2018-08-01 Thread Anna-Maria Gleixner
the tick reprogramming will be ignored and we may exit > to userspace after local_bh_enable() with an enqueued timer that will > never fire. > > To fix this, simply keep reprogramming the tick if we are in a hardirq > interrupting softirq. We can still figure out a way later to rest

Re: [PATCH v5 1/2] timers: Don't wake ktimersoftd on every tick

2018-07-13 Thread Anna-Maria Gleixner
Hi Haris, On Thu, 28 Jun 2018, Haris Okanovic wrote: > Collect expired timers in interrupt context to avoid overhead of waking > ktimersoftd on every scheduler tick. > > This is implemented by storing lists of expired timers in the timer_base > struct, which is updated by the interrupt routing o

[PATCH] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2018-07-02 Thread Anna-Maria Gleixner
hrtimer_init_sleeper[_on_stack]() functions, call sites need to be updated as well. Link: http://lkml.kernel.org/r/20170905135719.qsj4h5twhjkmk...@linutronix.de Signed-off-by: Sebastian Andrzej Siewior [anna-maria: Updating the commit message] Signed-off-by: Anna-Maria Gleixner --- block/blk-mq.c

[PATCH v2] hrtimer: consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2018-07-03 Thread Anna-Maria Gleixner
hrtimer_init_sleeper[_on_stack]() functions, call sites need to be updated as well. Link: http://lkml.kernel.org/r/20170905135719.qsj4h5twhjkmk...@linutronix.de Signed-off-by: Sebastian Andrzej Siewior [anna-maria: Updating the commit message] Signed-off-by: Anna-Maria Gleixner --- v1..v2: Fix

sched/core warning triggers on rcu torture test

2018-06-26 Thread Anna-Maria Gleixner
Hi, during rcu torture tests (TREE04 and TREE07) I noticed, that a WARN_ON_ONCE() in sched core triggers on a recent 4.18-rc2 based kernel (6f0d349d922b ("Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net")) as well as on a 4.17.3. I'm running the tests on a machine with 144 cores:

[PATCH v2 0/2] rtmutex wait_lock is irq safe

2018-05-25 Thread Anna-Maria Gleixner
gnal patch Thanks, Anna-Maria Anna-Maria Gleixner (2): rcu: Update documentation of rcu_read_unlock() signal: Remove no longer required irqsave/restore include/linux/rcupdate.h | 4 +--- kernel/signal.c | 24 +++- 2 files changed, 8 insertions(+), 20

[PATCH v2 2/2] signal: Remove no longer required irqsave/restore

2018-05-25 Thread Anna-Maria Gleixner
sable dance is not longer required. The change was tested on the base of b4abf91047cf ("rtmutex: Make wait_lock irq safe") with a four hour run of rcutorture scenario TREE03 with lockdep enabled as suggested by Paul McKenney. Signed-off-by: Anna-Maria Gleixner Acked-by: Paul E. McKenne

[PATCH v2 1/2] rcu: Update documentation of rcu_read_unlock()

2018-05-25 Thread Anna-Maria Gleixner
ned-off-by: Anna-Maria Gleixner --- include/linux/rcupdate.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/rcupdate.h b/include/linux/rcupdate.h index 36360d07f25b..64644fda3b22 100644 --- a/include/linux/rcupdate.h +++ b/include/linux/rcupdate.h @@ -65

[PATCH] afs/server: Remove leftover variable

2018-05-25 Thread Anna-Maria Gleixner
Variable ret is set two times in afs_install_server() but never dereferenced. It is a leftover of a rework of afs_install_server() by commit d2ddc776a458 ("afs: Overhaul volume and server record caching and fileserver rotation"). Signed-off-by: Anna-Maria Gleixner --- fs/afs/server.c

Hashed pointer issues

2018-04-30 Thread Anna-Maria Gleixner
Hi, I stumbled over an issue with hashed pointers and tracing. I'm using trace points for examination and on error the trace buffers are dumped. The error occurs when entropy has not been set up, so the pointers are not hashed and only (ptrval) is printed instead. The pointers are required to di

Re: [PATCH v2 1/2] rcu: Update documentation of rcu_read_unlock()

2018-05-28 Thread Anna-Maria Gleixner
On Fri, 25 May 2018, Paul E. McKenney wrote: > On Fri, May 25, 2018 at 11:05:06AM +0200, Anna-Maria Gleixner wrote: > > Since commit b4abf91047cf ("rtmutex: Make wait_lock irq safe") the > > explanation in rcu_read_unlock() documentation about irq unsafe rtmutex > &g

Re: [PATCH v6 0/4] enable early printing of hashed pointers

2018-06-05 Thread Anna-Maria Gleixner
On Thu, 31 May 2018, Steven Rostedt wrote: > On Mon, 28 May 2018 11:46:38 +1000 > "Tobin C. Harding" wrote: > > > Steve, > > Hi Tobin, > > Sorry for the late reply, I'm currently at a conference and have had > little time to read email. > > > > > Could you please take a quick squiz at the fi

Re: [PATCH v6 0/4] enable early printing of hashed pointers

2018-06-06 Thread Anna-Maria Gleixner
On Tue, 5 Jun 2018, Anna-Maria Gleixner wrote: > On Thu, 31 May 2018, Steven Rostedt wrote: > > > On Mon, 28 May 2018 11:46:38 +1000 > > "Tobin C. Harding" wrote: > > > > > Steve, > > > > Hi Tobin, > > > > Sorry for the lat

[PATCH v2] s390/cpum_cf: Remove superfluous SMP function call

2016-05-02 Thread Anna-Maria Gleixner
h a direct call of setup_pmc_cpu(). To keep the calling convention, interrupts are explicitly disabled around the call. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- Changes in v2: - Adapt referenced commit in commit mess

[PATCH v2] s390/cpum_sf: Remove superfluous SMP function call

2016-05-02 Thread Anna-Maria Gleixner
h a direct call of setup_pmc_cpu(). To keep the calling convention, interrupts are explicitly disabled around the call. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- Changes in v2: - Adapt referenced commit in commit mess

[PATCH v2] MIPS: Remove no longer needed work_on_cpu() call

2016-05-02 Thread Anna-Maria Gleixner
ct call of mips_cdmm_bus_up() or mips_cdmm_bus_down(). Description of those functions are adapted. Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Signed-off-by: Anna-Maria Gleixner --- Changes in v2: - Adapt referenced commit in commit message drivers/bus/mips_cdmm.c | 12 +++---

[PATCH v2] net: mvneta: Remove superfluous SMP function call

2016-05-02 Thread Anna-Maria Gleixner
h a direct call to mvneta_percpu_enable() or mvneta_percpu_disable(). The functions do not require to be called with interrupts disabled, therefore the smp_call_function_single() calling convention is not preserved. Cc: Thomas Petazzoni Cc: net...@vger.kernel.org Signed-off-by: Anna-Mari

[PATCH] ia64: Remove superfluous SMP function call

2016-05-02 Thread Anna-Maria Gleixner
h a direct call to ia64_mca_cmc_vector_adjust(). The function itselfs handles disable and enable interrupts, therefore the smp_call_function_single() calling convention is not preserved. Cc: Tony Luck Cc: Fenghua Yu Cc: linux-i...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/i

[PATCH] MIPS: Add missing FROZEN hotplug notifier transitions

2016-05-24 Thread Anna-Maria Gleixner
The corresponding FROZEN hotplug notifier transitions used on suspend/resume are ignored. Therefore the switch case action argument is masked with the frozen hotplug notifier transition mask. Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Signed-off-by: Anna-Maria Gleixner --- arch/mips/cavium

[PATCH] sh: smp: Add missing FROZEN hotplug notifier transitions

2016-05-24 Thread Anna-Maria Gleixner
The corresponding FROZEN hotplug notifier transitions used on suspend/resume are ignored. Therefore the switch case action argument is masked with the frozen hotplug notifier transition mask. Cc: Yoshinori Sato Cc: Rich Felker Cc: linux...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner

Re: [PATCH] MIPS: Add missing FROZEN hotplug notifier transitions

2016-05-25 Thread Anna-Maria Gleixner
On Tue, 24 May 2016, David Daney wrote: > On 05/24/2016 06:08 AM, Anna-Maria Gleixner wrote: > > The corresponding FROZEN hotplug notifier transitions used on > > suspend/resume are ignored. Therefore the switch case action argument > > is masked with the frozen hotplug not

[PATCH] workqueue: Fix comment for work_on_cpu()

2016-03-10 Thread Anna-Maria Gleixner
Function is processed in thread context, not in user context. Cc: Tejun Heo Cc: Lai Jiangshan Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- kernel/workqueue.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/kernel/workqueue.c +++ b/kernel

[PATCH] md/raid5: Cleanup cpu hotplug notifier

2016-03-16 Thread Anna-Maria Gleixner
...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- drivers/md/raid5.c |2 ++ 1 file changed, 2 insertions(+) --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -6376,6 +6376,8 @@ static int raid456_cpu_notify(struct not break; case CPU_DEAD: case CPU_DEAD_FROZEN

Re: [PATCH] arm64: hw-breakpoint: Remove superfluous SMP function call

2016-04-05 Thread Anna-Maria Gleixner
On Tue, 5 Apr 2016, Suzuki K. Poulose wrote: > On 04/04/16 11:42, Anna-Maria Gleixner wrote: > > Since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to > > hotplugged cpu") it is ensured that callbacks of CPU_ONLINE and > > CPU_DOWN_PREPARE are processed on

Re: [PREEMPT-RT] [PATCH] MIPS: Remove no longer needed work_on_cpu() call

2016-04-05 Thread Anna-Maria Gleixner
On Mon, 4 Apr 2016, Ralf Baechle wrote: > On Mon, Apr 04, 2016 at 02:18:03PM +0200, Anna-Maria Gleixner wrote: > > > Since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to > > hotplugged cpu") it is ensured that callbacks of CPU_ONLINE and > > CPU

Re: [PREEMPT-RT] [PATCH] net: mvneta: Remove superfluous SMP function call

2016-04-05 Thread Anna-Maria Gleixner
On Mon, 4 Apr 2016, Anna-Maria Gleixner wrote: > Since commit 1cf4f629d9d2 ("cpu/hotplug: Move online calls to > hotplugged cpu") it is ensured that callbacks of CPU_ONLINE and > CPU_DOWN_PREPARE are processed on the hotplugged cpu. Due to this SMP > function calls

[PATCH v2] arm, hw-breakpoint: Remove superfluous SMP function call

2016-04-06 Thread Anna-Maria Gleixner
ct call of reset_ctrl_regs(). To keep the calling convention, interrupts are explicitly disabled around the call. Cc: Will Deacon Cc: Mark Rutland Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/kernel/hw_breakpoint.c |7 +-- 1 file

[PATCH v2] arm64/debug: Remove superfluous SMP function call

2016-04-06 Thread Anna-Maria Gleixner
org Signed-off-by: Anna-Maria Gleixner --- arch/arm64/kernel/debug-monitors.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c @@ -135,9 +135,8 @@ static void clear_os_lock(void *unused) static int os_l

[PATCH v2] arm64: hw-breakpoint: Remove superfluous SMP function call

2016-04-06 Thread Anna-Maria Gleixner
ct call of hw_breakpoint_reset(). To keep the calling convention, interrupts are explicitly disabled around the call. Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm64/kernel/hw_breakpoint.c |8 +--- 1 file

Re: [PREEMPT-RT] [Xen-devel] [PATCH] xen: Add comment for missing FROZEN notifier transitions

2016-04-06 Thread Anna-Maria Gleixner
On Wed, 6 Apr 2016, David Vrabel wrote: > On 04/04/16 13:32, Anna-Maria Gleixner wrote: > > Xen guests do not offline/online CPUs during suspend/resume and > > therefore FROZEN notifier transitions are not required. Add this > > explanation as a comment in the code to

[PATCH] net: mvneta: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
ct call to mvneta_percpu_enable() or mvneta_percpu_disable(). The functions do not require to be called with interrupts disabled, therefore the smp_call_function_single() calling convention is not preserved. Cc: Thomas Petazzoni Cc: net...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- d

[PATCH] powerpc/pmac/smp: Add missing FROZEN hotplug notifier transitions

2016-04-04 Thread Anna-Maria Gleixner
argument with ~CPU_TASKS_FROZEN, to handle all FROZEN tasks the same way than the corresponding non frozen tasks. Cc: Benjamin Herrenschmidt Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Anna-Maria Gleixner --- arch/powerpc/platforms/powermac/smp.c |3 +-- 1 file changed, 1 insertion(+), 2

[PATCH] s390/cpum_sf: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
ct call of setup_pmc_cpu(). To keep the calling convention, interrupts are explicitely disabled around the call. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/s390/kernel/perf_cpum_sf.c |9 ++--- 1 file changed, 6 insert

[PATCH] s390/cpum_cf: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
ct call of setup_pmc_cpu(). To keep the calling convention, interrupts are explicitely disabled around the call. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: linux-s...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/s390/kernel/perf_cpum_cf.c |9 ++--- 1 file changed, 6 insert

[PATCH] arm, hw-breakpoint: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
ct call of reset_ctrl_regs(). To keep the calling convention, interrupts are explicitely disabled around the call. Cc: Will Deacon Cc: Mark Rutland Cc: Russell King Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/kernel/hw_breakpoint.c |7 +-- 1 file

[PATCH] arm64/debug: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
Signed-off-by: Anna-Maria Gleixner --- arch/arm64/kernel/debug-monitors.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/arch/arm64/kernel/debug-monitors.c +++ b/arch/arm64/kernel/debug-monitors.c @@ -135,9 +135,8 @@ static void clear_os_lock(void *unused) static int os_lock_not

[PATCH] arm64: hw-breakpoint: Remove superfluous SMP function call

2016-04-04 Thread Anna-Maria Gleixner
ct call of hw_breakpoint_reset(). To keep the calling convention, interrupts are explicitely disabled around the call. Cc: Catalin Marinas Cc: Will Deacon Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm64/kernel/hw_breakpoint.c |8 +--- 1 file

[PATCH] MIPS: Remove no longer needed work_on_cpu() call

2016-04-04 Thread Anna-Maria Gleixner
dmm_bus_up() or mips_cdmm_bus_down(). Description of those functions are adapted. Cc: Ralf Baechle Cc: linux-m...@linux-mips.org Signed-off-by: Anna-Maria Gleixner --- drivers/bus/mips_cdmm.c | 12 +++- 1 file changed, 7 insertions(+), 5 deletions(-) --- a/drivers/bus/mips_cdmm.c +++

[PATCH] xen: Add comment for missing FROZEN notifier transitions

2016-04-04 Thread Anna-Maria Gleixner
-de...@lists.xenproject.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/xen/enlighten.c |6 ++ arch/x86/xen/enlighten.c |7 +++ drivers/xen/events/events_fifo.c |6 ++ 3 files changed, 19 insertions(+) --- a/arch/arm/xen/enlighten.c +++ b/arch/arm/xen

[PATCH] ARM: OMAP: wakeupgen: Add comment for unhandled FROZEN transitions

2016-04-04 Thread Anna-Maria Gleixner
FROZEN hotplug notifiers are not handled and do not have to be. Insert a comment to remember that the lack of the FROZEN transitions is no accident. Cc: Tony Lindgren Cc: Santosh Shilimkar Cc: linux-o...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/mach-omap2/omap

Re: [patch 2/3] timers: do not raise softirq unconditionally (spinlockless version)

2019-06-11 Thread Anna-Maria Gleixner
On Fri, 31 May 2019, Anna-Maria Gleixner wrote: [...] > I will think about the problem and your solution a little bit more and > give you feedback hopefully on monday. I'm sorry for the delay. But now I'm able to give you a detailed feedback: The general problem is, that

[PATCH 1/4] tick-sched: Update tick_sched struct documentation

2019-03-21 Thread Anna-Maria Gleixner
Adapt the documentation order of struct members to effective order of struct members and add missing descriptions. Signed-off-by: Anna-Maria Gleixner --- kernel/time/tick-sched.h | 13 ++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/kernel/time/tick-sched.h b/kernel

[PATCH 4/4] trace/timer: Improve timer tracing

2019-03-21 Thread Anna-Maria Gleixner
ithout additional trace points. Therefore add the base->clk value to the timer_expire_entry trace point, to be able to calculate the index the timer base is located at during collecting expired timers. Signed-off-by: Anna-Maria Gleixner --- include/trace/events/timer.h | 11 +++ ke

[PATCH 2/4] timer: Move trace point to get proper index

2019-03-21 Thread Anna-Maria Gleixner
object. Therefore split debug_activate() function and move trace point into timer enqueue after index calculation. debug_object_activate() call remains at the original place. Signed-off-by: Anna-Maria Gleixner --- kernel/time/timer.c | 13 - 1 file changed, 4 insertions(+), 9 deletions

[PATCH 3/4] timer: Replace deprecated vsprintf pointer extension %pf by %ps

2019-03-21 Thread Anna-Maria Gleixner
characters. Signed-off-by: Anna-Maria Gleixner --- include/trace/events/timer.h | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/trace/events/timer.h b/include/trace/events/timer.h index a57e4ee989d6..da975d69c453 100644 --- a/include/trace/events/timer.h +++

[PATCH 0/4] timers: Fix and improve tracing and documentation

2019-03-21 Thread Anna-Maria Gleixner
Hi, the patch series was developed during investigating timer problems and timer improvements. It contains a struct documentation fix in tick-sched and a fixes as well as an improvement for timer tracing. Thanks, Anna-Maria Anna-Maria Gleixner (4): tick-sched: Update tick_sched

[PATCH v3] hrtimer: Consolidate hrtimer_init() + hrtimer_init_sleeper() calls

2019-03-25 Thread Anna-Maria Gleixner
hrtimer_init_sleeper[_on_stack]() functions, call sites need to be updated as well. Link: http://lkml.kernel.org/r/20180703092541.2870-1-anna-ma...@linutronix.de [anna-maria: Updating the commit message] Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Anna-Maria Gleixner --- v2..v3: Update to

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-08 Thread Anna-Maria Gleixner
On Sat, 5 May 2018, Thomas Gleixner wrote: > On Fri, 4 May 2018, Paul E. McKenney wrote: > > On Fri, May 04, 2018 at 11:38:37PM -0500, Eric W. Biederman wrote: > > > > (Me, I would run rcutorture scenario TREE03 for an extended time period > > > > on b4abf91047cf with your patch applied. > > > >

Re: [PATCH] kernel/signal: Remove no longer required irqsave/restore

2018-05-08 Thread Anna-Maria Gleixner
On Tue, 8 May 2018, Paul E. McKenney wrote: > On Tue, May 08, 2018 at 03:42:25PM +0200, Anna-Maria Gleixner wrote: > > On Sat, 5 May 2018, Thomas Gleixner wrote: > > > > > On Fri, 4 May 2018, Paul E. McKenney wrote: > > > > On Fri, May 04, 2018 at 11:38

[patch V2 28/67] workqueue: Convert to state machine callbacks

2016-07-13 Thread Anna-Maria Gleixner
Nesterov Cc: Paul E. McKenney Cc: Peter Zijlstra Cc: Rasmus Villemoes Cc: Rusty Russell Signed-off-by: Anna-Maria Gleixner --- include/linux/cpu.h|9 --- include/linux/cpuhotplug.h |2 include/linux/workqueue.h |6 ++ kernel/cpu.c | 10 kernel

[patch V2 02/67] x86/vdso: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
-Maria Gleixner --- arch/x86/entry/vdso/vma.c | 20 include/linux/cpuhotplug.h | 1 + 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/arch/x86/entry/vdso/vma.c b/arch/x86/entry/vdso/vma.c index ab220ac..25b0368 100644 --- a/arch/x86/entry/vdso/vma.c +++ b/arch

[patch V2 13/67] perf/x86/amd/ibs: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Cc: Jiri Olsa Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Vince Weaver Signed-off-by: Anna-Maria Gleixner --- arch/x86/events/amd/ibs.c | 64 -- include/linux/cpuhotplug.h | 1 + 2 files changed, 29 insertions(+), 36 deletions

[patch V2 00/67] cpuhotplug: Convert all priority notifiers to the state machine

2016-07-13 Thread Anna-Maria Gleixner
This series is the next step towards a state machine based hotplug machinery. It converts all notifiers which have a priority assigned and gets rid of the CPU_STARTING/DYING notifiers. Changes vs. V1: - Addressed the review comments from Ingo, Paul and Pavel - Picked up acked-bys - Picked u

[patch V2 27/67] perf/core: Remove perf CPU notifier code

2016-07-13 Thread Anna-Maria Gleixner
: Anna-Maria Gleixner --- include/linux/cpu.h| 2 -- include/linux/perf_event.h | 35 --- 2 files changed, 37 deletions(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.h index 21597dc..ca2dd86 100644 --- a/include/linux/cpu.h +++ b/include/linux/cpu.h

[patch V2 04/67] irqchip/gicv3: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Richard Cochran Install the callbacks via the state machine. Signed-off-by: Richard Cochran Reviewed-by: Sebastian Andrzej Siewior Cc: Jason Cooper Cc: Linus Torvalds Cc: Marc Zyngier Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- drivers/irqchip

[patch V2 05/67] irqchip/hip04: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Gleixner Signed-off-by: Anna-Maria Gleixner --- drivers/irqchip/irq-hip04.c | 25 + include/linux/cpuhotplug.h | 1 + 2 files changed, 6 insertions(+), 20 deletions(-) diff --git a/drivers/irqchip/irq-hip04.c b/drivers/irqchip/irq-hip04.c index 9e25d8c..021b0e0 100644 --- a

[patch V2 29/67] x86/hpet: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Viresh Kumar Signed-off-by: Anna-Maria Gleixner --- arch/x86/kernel/hpet.c | 69 +++--- include/linux/cpuhotplug.h | 2 ++ 2 files changed, 36 insertions(+), 35 deletions(-) diff --git a/arch/x86/kernel

[patch V2 15/67] perf/x86/intel/cqm: Convert Intel CQM to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Cc: Linus Torvalds Cc: Matt Fleming Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Thomas Gleixner Cc: Tony Luck Cc: Vikas Shivappa Cc: Vince Weaver Signed-off-by: Anna-Maria Gleixner --- arch/x86/events/intel/cqm.c | 49 + include/linux/cpuhotplug.h

[patch V2 26/67] perf/x86/amd/power: Convert the hotplug notifier to state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Anna-Maria Gleixner Install the callbacks via the state machine. Signed-off-by: Anna-Maria Gleixner Cc: Borislav Petkov Cc: Huang Rui Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Thomas Gleixner --- arch/x86/events/amd/power.c | 58

[patch V2 03/67] irqchip/gic: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
requirement is true for perf. Signed-off-by: Richard Cochran Reviewed-by: Sebastian Andrzej Siewior Cc: Jason Cooper Cc: Linus Torvalds Cc: Marc Zyngier Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- drivers/irqchip/irq-gic.c | 23 ++- include

[patch V2 21/67] sh/perf: Convert the hotplug notifiers to state machine callbacks

2016-07-13 Thread Anna-Maria Gleixner
Zijlstra Cc: Rich Felker Cc: Yoshinori Sato Cc: linux...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/sh/kernel/perf_event.c | 23 --- include/linux/cpuhotplug.h | 1 + 2 files changed, 5 insertions(+), 19 deletions(-) diff --git a/arch/sh/kernel/perf_event.c b

[patch V2 08/67] ARM: mvebu: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/mach-mvebu/coherency.c | 19 ++- include/linux/cpuhotplug.h | 1 + 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/arch/arm/mach-mvebu/coherency.c b/arch/arm/mach-mvebu/coherency.c

[patch V2 50/67] MIPS/Loongson-3: Convert oprofile to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
: Thomas Gleixner Cc: linux-m...@linux-mips.org Cc: oprofile-l...@lists.sf.net Signed-off-by: Anna-Maria Gleixner --- arch/mips/oprofile/op_model_loongson3.c | 35 + include/linux/cpuhotplug.h | 1 + 2 files changed, 15 insertions(+), 21 deletions(-) diff

[patch V2 47/67] arm/l2c: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Zijlstra Cc: Rob Herring Cc: Russell King Cc: Thomas Gleixner Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/mm/cache-l2x0.c | 27 +-- include/linux/cpuhotplug.h | 1 + 2 files changed, 14 insertions(+), 14 deletions(-) diff

[patch V2 55/67] hrtimer: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
oper place in the state machine. Signed-off-by: Thomas Gleixner Reviewed-by: Sebastian Andrzej Siewior Cc: Linus Torvalds Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Rasmus Villemoes Cc: Rusty Russell Signed-off-by: Anna-Maria Gleixner --- include/linux/cpuhotplug.h |1 + include/linux

[patch V2 35/67] arm/perf: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Thomas Gleixner Straight forward conversion w/o bells and whistles. Signed-off-by: Thomas Gleixner Reviewed-by: Sebastian Andrzej Siewior Cc: Linus Torvalds Cc: Mark Rutland Cc: Peter Zijlstra Cc: Will Deacon Signed-off-by: Anna-Maria Gleixner --- drivers/perf/arm_pmu.c | 36

[patch V2 53/67] arm64/armv8 deprecated: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm64/kernel/armv8_deprecated.c | 22 +- include/linux/cpuhotplug.h | 1 + 2 files changed, 6 insertions(+), 17 deletions(-) diff --git a/arch/arm64/kernel/armv8_deprecated.c b/arch

[patch V2 64/67] clocksource/armada-370-xp: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Richard Cochran Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. Reviewed-by: Sebastian Andrzej Siewior Cc: Daniel Lezcano Signed-off-by: Anna-Maria Gleixner --- drivers/clocksource/time-armada-370-xp.c | 41

[patch V2 39/67] clocksource/dummy_timer: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
-by: Anna-Maria Gleixner --- drivers/clocksource/dummy_timer.c | 36 ++-- include/linux/cpuhotplug.h| 1 + 2 files changed, 7 insertions(+), 30 deletions(-) diff --git a/drivers/clocksource/dummy_timer.c b/drivers/clocksource/dummy_timer.c index 776b6c8

[patch V2 06/67] irqchip/armada-370-xp: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Richard Cochran Install the callbacks via the state machine. Signed-off-by: Richard Cochran Cc: Jason Cooper Cc: Linus Torvalds Cc: Marc Zyngier Cc: Peter Zijlstra Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- drivers/irqchip/irq-armada-370-xp.c | 44

[patch V2 54/67] x86/tboot: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Maliszewski Cc: Shane Wang Cc: Thomas Gleixner Cc: tboot-de...@lists.sourceforge.net Signed-off-by: Anna-Maria Gleixner --- arch/x86/kernel/tboot.c| 25 - include/linux/cpuhotplug.h | 1 + 2 files changed, 9 insertions(+), 17 deletions(-) diff --git a/arch/x86/kernel

[patch V2 59/67] smp: Convert core to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
: Sebastian Andrzej Siewior Cc: Davidlohr Bueso Cc: Linus Torvalds Cc: Mel Gorman Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Rasmus Villemoes Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- include/linux/cpuhotplug.h |2 + include/linux/smp.h|5 ++ kernel/cpu.c

[patch V2 44/67] arm/kvm/vgic: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
r Cc: Christoffer Dall Cc: Gleb Natapov Cc: Linus Torvalds Cc: Marc Zyngier Cc: Paolo Bonzini Cc: Peter Zijlstra Cc: Radim Krcmar Cc: Thomas Gleixner Cc: k...@vger.kernel.org Cc: kvm...@lists.cs.columbia.edu Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gle

[patch V2 42/67] clocksource/mips-gic: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
-by: Anna-Maria Gleixner --- drivers/clocksource/mips-gic-timer.c | 38 include/linux/cpuhotplug.h | 1 + 2 files changed, 14 insertions(+), 25 deletions(-) diff --git a/drivers/clocksource/mips-gic-timer.c b/drivers/clocksource/mips-gic-timer.c

[patch V2 17/67] blackfin/perf: Convert hotplug notifier to state machine

2016-07-13 Thread Anna-Maria Gleixner
Cc: Steven Miao Cc: adi-buildroot-de...@lists.sourceforge.net Cc: linux-kernel@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/blackfin/kernel/perf_event.c | 26 +- include/linux/cpuhotplug.h| 1 + 2 files changed, 6 insertions(+), 21 deletions

[patch V2 19/67] s390/perf: Convert the hotplug notifier to state machine callbacks (Counter)

2016-07-13 Thread Anna-Maria Gleixner
: Martin Schwidefsky Cc: Peter Zijlstra Cc: Sukadev Bhattiprolu Cc: linux-kernel@vger.kernel.org Cc: linux-s...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/s390/kernel/perf_cpum_cf.c | 46 + include/linux/cpuhotplug.h | 1 + 2 files

[patch V2 49/67] arm/xen: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
ux-arm-ker...@lists.infradead.org Cc: xen-de...@lists.xenproject.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/xen/enlighten.c | 41 +++-- include/linux/cpuhotplug.h | 1 + 2 files changed, 12 insertions(+), 30 deletions(-) diff --git a/arch/arm/xen/enlighten.c b/ar

[patch V2 62/67] [PATCH] clocksource: arm_global_timer: Convert to hotplug state machine.

2016-07-13 Thread Anna-Maria Gleixner
: linux-arm-ker...@lists.infradead.org Cc: ker...@stlinux.com Signed-off-by: Anna-Maria Gleixner --- drivers/clocksource/arm_global_timer.c | 39 - include/linux/cpuhotplug.h |1 2 files changed, 11 insertions(+), 29 deletions(-) --- a/drivers

[patch V2 48/67] arm/twd: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
s Cc: Marc Gonzalez Cc: Peter Zijlstra Cc: Russell King Cc: Thomas Gleixner Cc: Vineet Gupta Cc: Viresh Kumar Cc: linux-arm-ker...@lists.infradead.org Signed-off-by: Anna-Maria Gleixner --- arch/arm/kernel/smp_twd.c | 31 +++ include/linux/cpuhotplug.h | 1 + 2

[patch V2 10/67] perf/x86: Convert the core to the hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Signed-off-by: Anna-Maria Gleixner --- arch/x86/events/amd/core.c | 6 +-- arch/x86/events/core.c | 103 +++ arch/x86/events/intel/core.c | 4 +- include/linux/cpuhotplug.h | 3 ++ 4 files changed, 74 insertions(+), 42 deletions(-) diff

[patch V2 56/67] timers/core: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
: Richard Cochran Reviewed-by: Sebastian Andrzej Siewior Cc: John Stultz Cc: Linus Torvalds Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Rasmus Villemoes Cc: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- include/linux/cpuhotplug.h |1 + include/linux/timer.h |6 ++ kernel

[patch V2 40/67] clocksource/metag: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Gleixner Cc: linux-me...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- drivers/clocksource/metag_generic.c | 33 ++--- include/linux/cpuhotplug.h | 1 + 2 files changed, 7 insertions(+), 27 deletions(-) diff --git a/drivers/clocksource/metag_generic.c

[patch V2 01/67] cpuhotplug: Handle early registration gracefully

2016-07-13 Thread Anna-Maria Gleixner
function directly. Signed-off-by: Thomas Gleixner Signed-off-by: Anna-Maria Gleixner --- kernel/cpu.c |7 +++ 1 file changed, 7 insertions(+) --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -517,6 +517,13 @@ static int cpuhp_invoke_ap_callback(int if (!cpu_online(cpu

[patch V2 37/67] ACPI/processor: Avoid STARTING/DYING actions in a more logical way

2016-07-13 Thread Anna-Maria Gleixner
ned-off-by: Richard Cochran Reviewed-by: Sebastian Andrzej Siewior Cc: Len Brown Cc: Linus Torvalds Cc: Peter Zijlstra Cc: Rafael J. Wysocki Cc: Thomas Gleixner Cc: linux-a...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- drivers/acpi/processor_driver.c | 11 ++- 1 file changed, 6

[patch V2 46/67] metag/perf: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-me...@vger.kernel.org Signed-off-by: Anna-Maria Gleixner --- arch/metag/kernel/perf/perf_event.c | 26 +++--- include/linux/cpuhotplug.h | 1 + 2 files changed, 8 insertions(+), 19 deletions(-) diff --git a/arch

[patch V2 24/67] xtensa/perf: Convert the hotplug notifier to state machine callbacks

2016-07-13 Thread Anna-Maria Gleixner
Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: linux-xte...@linux-xtensa.org Signed-off-by: Anna-Maria Gleixner --- arch/xtensa/kernel/perf_event.c | 26 +- include/linux/cpuhotplug.h |1 + 2 files changed, 10 insertions(+), 17 deletions(-) --- a/arch/xtensa/kernel

[patch V2 38/67] clocksource/arm_arch_timer: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
-by: Anna-Maria Gleixner --- drivers/clocksource/arm_arch_timer.c | 54 +--- include/linux/cpuhotplug.h | 1 + 2 files changed, 27 insertions(+), 28 deletions(-) diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c

[patch V2 60/67] KVM/arm/arm64/vgic-new: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Anna-Maria Gleixner Install the callbacks via the state machine and let the core invoke the callbacks on the already online CPUs. Signed-off-by: Anna-Maria Gleixner Cc: Andre Przywara Cc: Christoffer Dall Cc: Eric Auger Cc: Linus Torvalds Cc: Marc Zyngier Cc: Paolo Bonzini Cc

[patch V2 25/67] perf/x86/amd/power: Change hotplug notifier to a symmetric structure

2016-07-13 Thread Anna-Maria Gleixner
From: Anna-Maria Gleixner To simplify the hotplug mechanism move the starting callback to online. There is no functional requirement that the cpumask bit has to be set in the starting callback. Signed-off-by: Anna-Maria Gleixner Cc: Borislav Petkov Cc: Huang Rui Cc: Linus Torvalds Cc: Peter

[patch V2 66/67] ARC/time: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
From: Anna-Maria Gleixner Install the callbacks via the state machine. Signed-off-by: Anna-Maria Gleixner Cc: Vineet Gupta Cc: linux-snps-...@lists.infradead.org --- arch/arc/kernel/time.c | 48 - include/linux/cpuhotplug.h |1 2 files

[patch V2 09/67] perf/core: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
s Cc: Oleg Nesterov Cc: Peter Zijlstra Cc: Rasmus Villemoes Signed-off-by: Anna-Maria Gleixner --- include/linux/cpuhotplug.h |2 + include/linux/perf_event.h |9 +++ kernel/cpu.c | 11 kernel/events/core.c | 56 -

[patch V2 30/67] powerpc/numa: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
Cc: Michael Ellerman Cc: Nikunj A Dadhania Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Raghavendra K T Cc: Thomas Gleixner Cc: linuxppc-...@lists.ozlabs.org Signed-off-by: Anna-Maria Gleixner --- arch/powerpc/mm/numa.c | 46 -- include/linux

[patch V2 57/67] profile: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
. Signed-off-by: Sebastian Andrzej Siewior Cc: Andrew Morton Cc: Arnd Bergmann Cc: Linus Torvalds Cc: Mel Gorman Cc: Michal Hocko Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Vlastimil Babka Signed-off-by: Anna-Maria Gleixner --- include/linux/cpuhotplug.h | 1 + kernel/profile.c

[patch V2 33/67] x86/apb_timer: Convert to hotplug state machine

2016-07-13 Thread Anna-Maria Gleixner
-off-by: Anna-Maria Gleixner --- arch/x86/kernel/apb_timer.c | 29 ++--- include/linux/cpuhotplug.h | 1 + 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/arch/x86/kernel/apb_timer.c b/arch/x86/kernel/apb_timer.c index cefacba..456316f 100644 --- a/arch/x86

  1   2   3   4   5   >