Re: [PATCH] powerpc: Bring all threads online prior to migration/hibernation

2013-05-01 Thread Srivatsa S. Bhat
ll H_JOIN, this is > required by the hypervisor. Without this patch, threads that are offline > (H_CEDE'd) will not be woken to make the H_JOIN call and the OS will be > deadlocked (all threads either JOIN'd or CEDE'd). > > Cc: > Signed-off-by: Robert Jennings

[PATCH] powerpc, cpu hotplug: Fix warning on boot regarding sysfs file permission

2013-05-07 Thread Srivatsa S. Bhat
So remove the bogus write permission to fix the warning. Reported-by: CAI Qian Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/sysfs.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/sysfs.c b/arch/powerpc/kernel/sysfs.c index 3ce1f86..e68a84

Re: Build failure with 3.9.3 (Regression 3.9.2->3.9.3)

2013-05-21 Thread Srivatsa S. Bhat
quot;select HAVE_CONTEXT_TRACKING" which is not present in 3.9, and this interferes with the patch). Regards, Srivatsa S. Bhat ----- From: Srivatsa S. Bhat Subject: [PATCH] powerpc: Enable CONFIG_HOTPLUG_CPU on PPC

Re: FAILED: patch "[PATCH] powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES" failed to apply to 3.9-stable tree

2013-06-02 Thread Srivatsa S. Bhat
lease find the 3.9 backport below. Thank you! Regards, Srivatsa S. Bhat -- From: Srivatsa S. Bhat Subject: [PATCH] powerpc/pseries: Always enable CONFIG_HOTPLUG_CPU on PSERIES SMP commit f274ef8747d3be649bba8708696fb31

Re: [RFC PATCH powerpc] Set cpu sibling mask before online cpu

2013-06-11 Thread Srivatsa S. Bhat
*/ 232 cpumask_set_cpu(cpuid, cpu_callin_mask); So I agree with Li Zhong's solution. [Arch-specific CPU hotplug code consolidation efforts such as [1] would have weeded out such nasty bugs.. I guess we should revive that patchset sometime soon.] Regards, Srivatsa S. Bhat [1

Re: [RFC PATCH powerpc] Set cpu sibling mask before online cpu

2013-06-11 Thread Srivatsa S. Bhat
set cpux sibling info > - > [...] > This patch tries to move the sibling maps updating before > notify_cpu_starting() and cpu online, and a write barrier there to make > sure sibling maps are updated before active and onlin

[PATCH 00/45] CPU hotplug: stop_machine()-free CPU hotplug, part 1

2013-06-23 Thread Srivatsa S. Bhat
19/ v5: http://lwn.net/Articles/533553/ v4: https://lkml.org/lkml/2012/12/11/209 v3: https://lkml.org/lkml/2012/12/7/287 v2: https://lkml.org/lkml/2012/12/5/322 v1: https://lkml.org/lkml/2012/12/4/88 -- Srivatsa S. Bhat (45): CPU hotplug: Provide APIs to prevent CPU offline from

[PATCH 01/45] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-06-23 Thread Srivatsa S. Bhat
ation of these APIs to a suitable synchronization scheme. Cc: Thomas Gleixner Cc: Andrew Morton Cc: Tejun Heo Cc: "Rafael J. Wysocki" Cc: Yasuaki Ishimatsu Signed-off-by: Srivatsa S. Bhat --- include/linux/cpu.h | 18 ++ kernel/cpu.

[PATCH 02/45] CPU hotplug: Clarify the usage of different synchronization APIs

2013-06-23 Thread Srivatsa S. Bhat
: Yasuaki Ishimatsu Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- kernel/cpu.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c index 2d03398..860f51a 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -139,6 +139,13 @@ s

[PATCH 03/45] Documentation, CPU hotplug: Recommend usage of get/put_online_cpus_atomic()

2013-06-23 Thread Srivatsa S. Bhat
from atomic context. Cc: Rob Landley Cc: linux-...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- Documentation/cpu-hotplug.txt | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index 9f

[PATCH 04/45] CPU hotplug: Add infrastructure to check lacking hotplug synchronization

2013-06-23 Thread Srivatsa S. Bhat
Gleixner Cc: Andrew Morton Cc: Yasuaki Ishimatsu Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- include/linux/cpumask.h | 12 kernel/cpu.c| 75 +++ 2 files changed, 87 insertions(+) diff --git a/inc

[PATCH 05/45] CPU hotplug: Protect set_cpu_online() to avoid false-positives

2013-06-23 Thread Srivatsa S. Bhat
Gleixner Cc: Andrew Morton Cc: Yasuaki Ishimatsu Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- kernel/cpu.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c index e90d9d7..23df9ba 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -818,

[PATCH 06/45] CPU hotplug: Sprinkle debugging checks to catch locking bugs

2013-06-23 Thread Srivatsa S. Bhat
Morton Cc: Joonsoo Kim Signed-off-by: Srivatsa S. Bhat --- include/linux/cpumask.h | 47 +-- lib/cpumask.c |8 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h

[PATCH 07/45] CPU hotplug: Expose the new debug config option

2013-06-23 Thread Srivatsa S. Bhat
Now that we have all the pieces of the CPU hotplug debug infrastructure in place, expose the feature by growing a new Kconfig option, CONFIG_DEBUG_HOTPLUG_CPU. Cc: Andrew Morton Cc: "Paul E. McKenney" Cc: Akinobu Mita Cc: Catalin Marinas Cc: Michel Lespinasse Signed-off-by: Srivat

[PATCH 08/45] CPU hotplug: Convert preprocessor macros to static inline functions

2013-06-23 Thread Srivatsa S. Bhat
Convert the macros in the CPU hotplug code to static inline C functions. Cc: Thomas Gleixner Cc: Andrew Morton Cc: Tejun Heo Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- include/linux/cpu.h |9 + 1 file changed, 5 insertions(+), 4 deletions(-) di

[PATCH 09/45] smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
n Cc: Wang YanQing Cc: Shaohua Li Cc: Jan Beulich Cc: liguang Signed-off-by: Srivatsa S. Bhat --- kernel/smp.c | 52 ++-- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/kernel/smp.c b/kernel/smp.c index 4dba0f7..1f36d6d 100644

[PATCH 10/45] sched/core: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/core.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 195658b..accd550 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -11

[PATCH 12/45] sched/fair: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/fair.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index c0ac2c3..88f056e 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3338,7 +3

[PATCH 11/45] migration: Use raw_spin_lock/unlock since interrupts are already disabled

2013-06-23 Thread Srivatsa S. Bhat
We need not use the raw_spin_lock_irqsave/restore primitives because all CPU_DYING notifiers run with interrupts disabled. So just use raw_spin_lock/unlock. Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/core.c |4 ++-- 1 file changed, 2 insertions

[PATCH 13/45] timer: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ixner Signed-off-by: Srivatsa S. Bhat --- kernel/timer.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/timer.c b/kernel/timer.c index 15ffdb3..5db594c 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -729,6 +729,7 @@ __mod_timer(struct timer_list *timer, unsigned long ex

[PATCH 14/45] sched/rt: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/rt.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index 01970c8..03d9f38 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -6,6 +6,7 @@ #include &qu

[PATCH 15/45] rcu: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
tomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Srivatsa S. Bhat --- kernel/rcutree.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/rcutree.c b/kernel/rcutree.c index c

[PATCH 16/45] tick-broadcast: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ixner Signed-off-by: Srivatsa S. Bhat --- kernel/time/tick-broadcast.c |8 1 file changed, 8 insertions(+) diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index d66f554..53493a6 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -2

[PATCH 17/45] time/clocksource: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
z Cc: Thomas Gleixner Signed-off-by: Srivatsa S. Bhat --- kernel/time/clocksource.c |5 + 1 file changed, 5 insertions(+) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index e713ef7..c4bbc25 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -30,6

[PATCH 18/45] softirq: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ecker Cc: Thomas Gleixner Cc: Andrew Morton Cc: Sedat Dilek Cc: "Paul E. McKenney" Signed-off-by: Srivatsa S. Bhat --- kernel/softirq.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/softirq.c b/kernel/softirq.c index 3d6833f..c289722 100644 --- a/kernel/softirq

[PATCH 19/45] irq: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ixner Signed-off-by: Srivatsa S. Bhat --- kernel/irq/manage.c |7 +++ kernel/irq/proc.c |3 +++ 2 files changed, 10 insertions(+) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index e16caa8..4d89f19 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -18,6

[PATCH 21/45] block: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
d-off-by: Srivatsa S. Bhat --- block/blk-softirq.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/block/blk-softirq.c b/block/blk-softirq.c index 467c8de..bbab3d3 100644 --- a/block/blk-softirq.c +++ b/block/blk-softirq.c @@ -58,6 +58,7 @@ static void trigger_softirq(void

[PATCH 20/45] net: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
iller" Cc: Eric Dumazet Cc: Alexander Duyck Cc: Cong Wang Cc: Ben Hutchings Cc: net...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- net/core/dev.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index fc1e289..90519

[PATCH 22/45] percpu_counter: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ff-by: Srivatsa S. Bhat --- lib/percpu_counter.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index ba6085d..9cf9086 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c @@ -98,6 +98,7 @@ s64 __percpu_counter_sum(struct percpu_co

[PATCH 23/45] infiniband: ehca: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
n Cc: Christoph Raisch Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: linux-r...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/infiniband/hw/ehca/ehca_irq.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infin

[PATCH 24/45] [SCSI] fcoe: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
e Cc: "James E.J. Bottomley" Cc: de...@open-fcoe.org Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/scsi/fcoe/fcoe.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 292b24f.

[PATCH 26/45] x86: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
r Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Tony Luck Cc: Borislav Petkov Cc: Konrad Rzeszutek Wilk Cc: Sebastian Andrzej Siewior Cc: Joerg Roedel Cc: Jan Beulich Cc: Joonsoo Kim Cc: linux-e...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel

[PATCH 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
n Cc: de...@driverdev.osuosl.org Signed-off-by: Srivatsa S. Bhat --- drivers/staging/octeon/ethernet-rx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 34afc16..8588b4d 100644 --- a/drivers/staging/o

[PATCH 27/45] perf/x86: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner Cc: "H. Peter Anvin" Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpu/perf_event_intel_uncore.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kernel/cpu/perf_event_i

[PATCH 28/45] KVM: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
v Cc: Paolo Bonzini Cc: k...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- virt/kvm/kvm_main.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 302681c..5bbfa30 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_m

[PATCH 29/45] kvm/vmx: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
v Cc: Paolo Bonzini Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: k...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kvm/vmx.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arc

[PATCH 30/45] x86/xen: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
Wilk Cc: Jeremy Fitzhardinge Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: xen-de...@lists.xensource.com Cc: virtualizat...@lists.linux-foundation.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/xen/mmu.c |9 +++-- 1 file changed, 7 i

[PATCH 31/45] alpha/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
ASCII character present in this file! Cc: Richard Henderson Cc: Ivan Kokshaysky Cc: Matt Turner Cc: Thomas Gleixner Cc: linux-al...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/alpha/kernel/smp.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff

[PATCH 32/45] blackfin/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
r Cc: Bob Liu Cc: Steven Miao Cc: Thomas Gleixner Cc: uclinux-dist-de...@blackfin.uclinux.org Signed-off-by: Srivatsa S. Bhat --- arch/blackfin/mach-common/smp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/

[PATCH 33/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
k Cc: Jesper Nilsson Cc: Thomas Gleixner Cc: linux-cris-ker...@axis.com Signed-off-by: Srivatsa S. Bhat --- arch/cris/arch-v32/kernel/smp.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index cdd1202..b2d4612 100644

[PATCH 34/45] hexagon/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
o Cc: Thomas Gleixner Cc: linux-hexa...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/hexagon/kernel/smp.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/hexagon/kernel/smp.c b/arch/hexagon/kernel/smp.c index 0e364ca..30d4318 100644 --- a/arch/hexagon/kernel/smp.c +++ b

[PATCH 36/45] ia64: smp, tlb: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
nghua Yu Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/smp.c | 12 ++-- arch/ia64/mm/tlb.c |4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/ia64/kernel/smp.c b/arch/ia64/kernel/smp.c index 9fcd4e6..25991ba 1

[PATCH 35/45] ia64: irq, perfmon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
nghua Yu Cc: Andrew Morton Cc: "Eric W. Biederman" Cc: Thomas Gleixner Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/irq_ia64.c | 15 +++ arch/ia64/kernel/perfmon.c |8 +++- 2 files changed, 22 insertions(+), 1 deletion(-

[PATCH 37/45] m32r: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
a Cc: linux-m...@ml.linux-m32r.org Cc: linux-m32r...@ml.linux-m32r.org Signed-off-by: Srivatsa S. Bhat --- arch/m32r/kernel/smp.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/m32r/kernel/smp.c b/arch/m32r/kernel/smp.c index ce7aea3..ffafdba 100644

[PATCH 38/45] MIPS: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
e Cc: David Daney Cc: Yong Zhang Cc: Thomas Gleixner Cc: Sanjay Lal Cc: "Steven J. Hill" Cc: John Crispin Cc: Florian Fainelli Cc: linux-m...@linux-mips.org Signed-off-by: Srivatsa S. Bhat --- arch/mips/kernel/cevt-smtc.c |7 +++ arch/mips/kernel/smp.c | 16 +++

[PATCH 39/45] mn10300: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
s Cc: Koichi Yasutake Cc: linux-am33-l...@redhat.com Signed-off-by: Srivatsa S. Bhat --- arch/mn10300/mm/cache-smp.c |3 +++ arch/mn10300/mm/tlb-smp.c | 17 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/mn10300/mm/cache-smp.c b/arch/mn10300/mm/cache-

[PATCH 40/45] powerpc, irq: Use GFP_ATOMIC allocations in atomic context

2013-06-23 Thread Srivatsa S. Bhat
: Li Zhong Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/irq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index ea185e0..ca39bac 100644 --- a/arch/powerpc/kernel/irq.c

[PATCH 41/45] powerpc: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
hmidt Cc: Gleb Natapov Cc: Alexander Graf Cc: Rob Herring Cc: Grant Likely Cc: Kumar Gala Cc: Zhao Chenhui Cc: linuxppc-dev@lists.ozlabs.org Cc: k...@vger.kernel.org Cc: kvm-...@vger.kernel.org Cc: oprofile-l...@lists.sf.net Cc: cbe-oss-...@lists.ozlabs.org Signed-off-by: Srivatsa S.

[PATCH 42/45] powerpc: Use get/put_online_cpus_atomic() to avoid false-positive warning

2013-06-23 Thread Srivatsa S. Bhat
: Zhao Chenhui Cc: Thomas Gleixner Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/smp.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/powerpc/kernel/smp.c b/arch/powerpc/kernel/smp.c index 2123bec..59c9a09 100644 --- a/arch/powerpc

[PATCH 43/45] sh: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
homas Gleixner Cc: linux...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/sh/kernel/smp.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/sh/kernel/smp.c b/arch/sh/kernel/smp.c index 4569645..42ec182 100644 --- a/arch/sh/kernel/smp.c +++ b/ar

[PATCH 45/45] tile: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
igned-off-by: Srivatsa S. Bhat --- arch/tile/kernel/module.c |3 +++ arch/tile/kernel/tlb.c| 15 +++ arch/tile/mm/homecache.c |3 +++ 3 files changed, 21 insertions(+) diff --git a/arch/tile/kernel/module.c b/arch/tile/kernel/module.c index 4918d91..db7d858 100644 --- a

[PATCH 44/45] sparc: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
iller" Cc: Sam Ravnborg Cc: Thomas Gleixner Cc: Dave Kleikamp Cc: sparcli...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/sparc/kernel/smp_64.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel

Re: [PATCH 31/45] alpha/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
On 06/23/2013 11:20 PM, Matt Turner wrote: > On Sun, Jun 23, 2013 at 6:45 AM, Srivatsa S. Bhat > wrote: >> Once stop_machine() is gone from the CPU offline path, we won't be able >> to depend on disabling preemption to prevent CPUs from going offline >> fro

Re: [PATCH 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-23 Thread Srivatsa S. Bhat
On 06/23/2013 11:47 PM, Greg Kroah-Hartman wrote: > On Sun, Jun 23, 2013 at 07:13:33PM +0530, Srivatsa S. Bhat wrote: >> Once stop_machine() is gone from the CPU offline path, we won't be able >> to depend on disabling preemption to prevent CPUs from going offline >> fr

Re: [PATCH 07/45] CPU hotplug: Expose the new debug config option

2013-06-23 Thread Srivatsa S. Bhat
On 06/23/2013 08:38 PM, Sergei Shtylyov wrote: > Hello. > > On 23-06-2013 17:39, Srivatsa S. Bhat wrote: > >> Now that we have all the pieces of the CPU hotplug debug infrastructure >> in place, expose the feature by growing a new Kconfig option, >> CONFIG_DEBUG

Re: [PATCH 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-24 Thread Srivatsa S. Bhat
On 06/24/2013 12:47 AM, Joe Perches wrote: > On Mon, 2013-06-24 at 00:25 +0530, Srivatsa S. Bhat wrote: >> On 06/23/2013 11:47 PM, Greg Kroah-Hartman wrote: >>> On Sun, Jun 23, 2013 at 07:13:33PM +0530, Srivatsa S. Bhat wrote: > [] >>>> diff --git a/drivers/sta

Re: [PATCH 22/45] percpu_counter: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-24 Thread Srivatsa S. Bhat
ld be superfluous in this case... But as you said, simply invoking those functions is much simpler ;-) > Can you please at least add a comment explaining that? > Sure, will do. Thanks a lot Tejun! Regards, Srivatsa S. Bhat ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH 04/45] CPU hotplug: Add infrastructure to check lacking hotplug synchronization

2013-06-25 Thread Srivatsa S. Bhat
On 06/25/2013 04:56 AM, Steven Rostedt wrote: > On Sun, 2013-06-23 at 19:08 +0530, Srivatsa S. Bhat wrote: > > > Just to make the code a little cleaner, can you add: > >> diff --git a/kernel/cpu.c b/kernel/cpu.c >> index 860f51a..e90d9d7 100644 >> --- a/k

Re: [PATCH 40/45] powerpc, irq: Use GFP_ATOMIC allocations in atomic context

2013-06-25 Thread Srivatsa S. Bhat
t CPU. My patchset will retain these guarantees even after removing stop_machine(). And these are required for the correct execution of the code in this path, since they rely on these semantics. So I guess I'll retain the patch as it is. Thank you! Regards, Srivatsa S. Bhat _

[PATCH v2 00/45] CPU hotplug: stop_machine()-free CPU hotplug, part 1

2013-06-25 Thread Srivatsa S. Bhat
l.org/lkml/2012/12/4/88 3. Links to previous versions of this patchset: v1: http://lwn.net/Articles/556138/ -- Srivatsa S. Bhat (45): CPU hotplug: Provide APIs to prevent CPU offline from atomic context CPU hotplug: Clarify the usage of different synchronization APIs Doc

[PATCH v2 01/45] CPU hotplug: Provide APIs to prevent CPU offline from atomic context

2013-06-25 Thread Srivatsa S. Bhat
ation of these APIs to a suitable synchronization scheme. Reviewed-by: Steven Rostedt Cc: Thomas Gleixner Cc: Andrew Morton Cc: Tejun Heo Cc: "Rafael J. Wysocki" Cc: Yasuaki Ishimatsu Signed-off-by: Srivatsa S. Bhat --- include/linux/cpu.h | 20 kernel/cpu.

[PATCH v2 02/45] CPU hotplug: Clarify the usage of different synchronization APIs

2013-06-25 Thread Srivatsa S. Bhat
: Yasuaki Ishimatsu Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- kernel/cpu.c |7 +++ 1 file changed, 7 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c index 2d03398..860f51a 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -139,6 +139,13 @@ s

[PATCH v2 03/45] Documentation, CPU hotplug: Recommend usage of get/put_online_cpus_atomic()

2013-06-25 Thread Srivatsa S. Bhat
from atomic context. Cc: Rob Landley Cc: linux-...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- Documentation/cpu-hotplug.txt | 20 ++-- 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index 9f

[PATCH v2 04/45] CPU hotplug: Add infrastructure to check lacking hotplug synchronization

2013-06-25 Thread Srivatsa S. Bhat
Gleixner Cc: Andrew Morton Cc: Yasuaki Ishimatsu Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- include/linux/cpumask.h | 12 ++ kernel/cpu.c| 89 +++ 2 files changed, 101 insertions(+) diff --git a/inc

[PATCH v2 05/45] CPU hotplug: Protect set_cpu_online() to avoid false-positives

2013-06-25 Thread Srivatsa S. Bhat
Gleixner Cc: Andrew Morton Cc: Yasuaki Ishimatsu Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- kernel/cpu.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/cpu.c b/kernel/cpu.c index 5297ec1..35e7115 100644 --- a/kernel/cpu.c +++ b/kernel/cpu.c @@ -832,

[PATCH v2 06/45] CPU hotplug: Sprinkle debugging checks to catch locking bugs

2013-06-25 Thread Srivatsa S. Bhat
Morton Cc: Joonsoo Kim Signed-off-by: Srivatsa S. Bhat --- include/linux/cpumask.h | 47 +-- lib/cpumask.c |8 2 files changed, 53 insertions(+), 2 deletions(-) diff --git a/include/linux/cpumask.h b/include/linux/cpumask.h

[PATCH v2 07/45] CPU hotplug: Expose the new debug config option

2013-06-25 Thread Srivatsa S. Bhat
Signed-off-by: Srivatsa S. Bhat --- lib/Kconfig.debug |8 1 file changed, 8 insertions(+) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 566cf2b..ec6be74 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -512,6 +512,14 @@ config DEBUG_PREEMPT if kernel co

[PATCH v2 08/45] CPU hotplug: Convert preprocessor macros to static inline functions

2013-06-25 Thread Srivatsa S. Bhat
Convert the macros in the CPU hotplug code to static inline C functions. Cc: Thomas Gleixner Cc: Andrew Morton Cc: Tejun Heo Cc: "Rafael J. Wysocki" Signed-off-by: Srivatsa S. Bhat --- include/linux/cpu.h |9 + 1 file changed, 5 insertions(+), 4 deletions(-) di

[PATCH v2 09/45] smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
n Cc: Wang YanQing Cc: Shaohua Li Cc: Jan Beulich Cc: liguang Signed-off-by: Srivatsa S. Bhat --- kernel/smp.c | 52 ++-- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/kernel/smp.c b/kernel/smp.c index 4dba0f7..1f36d6d 100644

[PATCH v2 10/45] sched/core: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/core.c | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index 195658b..accd550 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -11

[PATCH v2 11/45] migration: Use raw_spin_lock/unlock since interrupts are already disabled

2013-06-25 Thread Srivatsa S. Bhat
We need not use the raw_spin_lock_irqsave/restore primitives because all CPU_DYING notifiers run with interrupts disabled. So just use raw_spin_lock/unlock. Cc: Ingo Molnar Cc: Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/core.c |4 ++-- 1 file changed, 2 insertions

[PATCH v2 12/45] sched/fair: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/fair.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index c0ac2c3..88f056e 100644 --- a/kernel/sched/fair.c +++ b/kernel/sched/fair.c @@ -3338,7 +3

[PATCH v2 13/45] timer: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
ixner Signed-off-by: Srivatsa S. Bhat --- kernel/timer.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/timer.c b/kernel/timer.c index 15ffdb3..5db594c 100644 --- a/kernel/timer.c +++ b/kernel/timer.c @@ -729,6 +729,7 @@ __mod_timer(struct timer_list *timer, unsigned long ex

[PATCH v2 14/45] sched/rt: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
Peter Zijlstra Signed-off-by: Srivatsa S. Bhat --- kernel/sched/rt.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/kernel/sched/rt.c b/kernel/sched/rt.c index 01970c8..03d9f38 100644 --- a/kernel/sched/rt.c +++ b/kernel/sched/rt.c @@ -6,6 +6,7 @@ #include &qu

[PATCH v2 16/45] tick-broadcast: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
ixner Signed-off-by: Srivatsa S. Bhat --- kernel/time/tick-broadcast.c |8 1 file changed, 8 insertions(+) diff --git a/kernel/time/tick-broadcast.c b/kernel/time/tick-broadcast.c index 9d96a54..1e4ac45 100644 --- a/kernel/time/tick-broadcast.c +++ b/kernel/time/tick-broadcast.c @@ -2

[PATCH v2 15/45] rcu: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
tomic() APIs to prevent CPUs from going offline, while invoking from atomic context. Cc: Dipankar Sarma Cc: "Paul E. McKenney" Signed-off-by: Srivatsa S. Bhat --- kernel/rcutree.c |4 1 file changed, 4 insertions(+) diff --git a/kernel/rcutree.c b/kernel/rcutree.c index c

[PATCH v2 17/45] time/clocksource: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
z Cc: Thomas Gleixner Signed-off-by: Srivatsa S. Bhat --- kernel/time/clocksource.c |5 + 1 file changed, 5 insertions(+) diff --git a/kernel/time/clocksource.c b/kernel/time/clocksource.c index e713ef7..c4bbc25 100644 --- a/kernel/time/clocksource.c +++ b/kernel/time/clocksource.c @@ -30,6

[PATCH v2 18/45] softirq: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
ecker Cc: Thomas Gleixner Cc: Andrew Morton Cc: Sedat Dilek Cc: "Paul E. McKenney" Signed-off-by: Srivatsa S. Bhat --- kernel/softirq.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/softirq.c b/kernel/softirq.c index 3d6833f..c289722 100644 --- a/kernel/softirq

[PATCH v2 19/45] irq: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
ixner Signed-off-by: Srivatsa S. Bhat --- kernel/irq/manage.c |7 +++ kernel/irq/proc.c |3 +++ 2 files changed, 10 insertions(+) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index e16caa8..4d89f19 100644 --- a/kernel/irq/manage.c +++ b/kernel/irq/manage.c @@ -18,6

[PATCH v2 20/45] net: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
iller" Cc: Eric Dumazet Cc: Alexander Duyck Cc: Cong Wang Cc: Ben Hutchings Cc: net...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- net/core/dev.c |9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/net/core/dev.c b/net/core/dev.c index fc1e289..90519

[PATCH v2 21/45] block: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
d-off-by: Srivatsa S. Bhat --- block/blk-softirq.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/block/blk-softirq.c b/block/blk-softirq.c index 467c8de..bbab3d3 100644 --- a/block/blk-softirq.c +++ b/block/blk-softirq.c @@ -58,6 +58,7 @@ static void trigger_softirq(void

[PATCH v2 22/45] percpu_counter: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
n Heo Signed-off-by: Srivatsa S. Bhat --- lib/percpu_counter.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/lib/percpu_counter.c b/lib/percpu_counter.c index ba6085d..f5e718d 100644 --- a/lib/percpu_counter.c +++ b/lib/percpu_counter.c @@ -98,6 +98,15 @@ s64 __percpu_counte

[PATCH v2 23/45] infiniband: ehca: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
n Cc: Christoph Raisch Cc: Roland Dreier Cc: Sean Hefty Cc: Hal Rosenstock Cc: linux-r...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/infiniband/hw/ehca/ehca_irq.c |5 + 1 file changed, 5 insertions(+) diff --git a/drivers/infiniband/hw/ehca/ehca_irq.c b/drivers/infin

[PATCH v2 24/45] [SCSI] fcoe: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
e Cc: "James E.J. Bottomley" Cc: de...@open-fcoe.org Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/scsi/fcoe/fcoe.c |7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index 292b24f.

[PATCH v2 25/45] staging/octeon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
n Cc: de...@driverdev.osuosl.org Acked-by: David Daney Signed-off-by: Srivatsa S. Bhat --- drivers/staging/octeon/ethernet-rx.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/octeon/ethernet-rx.c b/drivers/staging/octeon/ethernet-rx.c index 34afc16..8588b4d 100644

[PATCH v2 26/45] x86: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
r Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Tony Luck Cc: Borislav Petkov Cc: Konrad Rzeszutek Wilk Cc: Sebastian Andrzej Siewior Cc: Joerg Roedel Cc: Jan Beulich Cc: Joonsoo Kim Cc: linux-e...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel

[PATCH v2 27/45] perf/x86: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
ras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Cc: Thomas Gleixner Cc: "H. Peter Anvin" Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpu/perf_event_intel_uncore.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/x86/kernel/cpu/perf_event_i

[PATCH v2 28/45] KVM: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
v Cc: Paolo Bonzini Cc: k...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- virt/kvm/kvm_main.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index 302681c..5bbfa30 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_m

[PATCH v2 29/45] kvm/vmx: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
v Cc: Paolo Bonzini Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: k...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kvm/vmx.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arc

[PATCH v2 30/45] x86/xen: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
Wilk Cc: Jeremy Fitzhardinge Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: xen-de...@lists.xensource.com Cc: virtualizat...@lists.linux-foundation.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/xen/mmu.c |9 +++-- 1 file changed, 7 i

[PATCH v2 31/45] alpha/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
n Cc: Ivan Kokshaysky Cc: Matt Turner Cc: Thomas Gleixner Cc: linux-al...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/alpha/kernel/smp.c | 19 +-- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/arch/alpha/kernel/smp.c b/arch/alpha/kernel/smp.c

[PATCH v2 32/45] blackfin/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
r Cc: Bob Liu Cc: Steven Miao Cc: Thomas Gleixner Cc: uclinux-dist-de...@blackfin.uclinux.org Signed-off-by: Srivatsa S. Bhat --- arch/blackfin/mach-common/smp.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/blackfin/mach-common/smp.c b/arch/blackfin/mach-common/

[PATCH v2 33/45] cris/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
lsson Cc: Mikael Starvik Cc: Thomas Gleixner Cc: linux-cris-ker...@axis.com Signed-off-by: Srivatsa S. Bhat --- arch/cris/arch-v32/kernel/smp.c |5 + 1 file changed, 5 insertions(+) diff --git a/arch/cris/arch-v32/kernel/smp.c b/arch/cris/arch-v32/kernel/smp.c index cdd1202..b2d4612 1

[PATCH v2 34/45] hexagon/smp: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
o Cc: Thomas Gleixner Cc: linux-hexa...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/hexagon/kernel/smp.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/hexagon/kernel/smp.c b/arch/hexagon/kernel/smp.c index 0e364ca..30d4318 100644 --- a/arch/hexagon/kernel/smp.c +++ b

[PATCH v2 35/45] ia64: irq, perfmon: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
nghua Yu Cc: Andrew Morton Cc: "Eric W. Biederman" Cc: Thomas Gleixner Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/irq_ia64.c | 15 +++ arch/ia64/kernel/perfmon.c |8 +++- 2 files changed, 22 insertions(+), 1 deletion(-

[PATCH v2 36/45] ia64: smp, tlb: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
nghua Yu Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/smp.c | 12 ++-- arch/ia64/mm/tlb.c |4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/ia64/kernel/smp.c b/arch/ia64/kernel/smp.c index 9fcd4e6..25991ba 1

[PATCH v2 37/45] m32r: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
a Cc: linux-m...@ml.linux-m32r.org Cc: linux-m32r...@ml.linux-m32r.org Signed-off-by: Srivatsa S. Bhat --- arch/m32r/kernel/smp.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/arch/m32r/kernel/smp.c b/arch/m32r/kernel/smp.c index ce7aea3..ffafdba 100644

[PATCH v2 38/45] MIPS: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
e Cc: David Daney Cc: Yong Zhang Cc: Thomas Gleixner Cc: Sanjay Lal Cc: "Steven J. Hill" Cc: John Crispin Cc: Florian Fainelli Cc: linux-m...@linux-mips.org Signed-off-by: Srivatsa S. Bhat --- arch/mips/kernel/cevt-smtc.c |7 +++ arch/mips/kernel/smp.c | 16 +++

[PATCH v2 39/45] mn10300: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-25 Thread Srivatsa S. Bhat
s Cc: Koichi Yasutake Cc: linux-am33-l...@redhat.com Signed-off-by: Srivatsa S. Bhat --- arch/mn10300/mm/cache-smp.c |3 +++ arch/mn10300/mm/tlb-smp.c | 17 + 2 files changed, 12 insertions(+), 8 deletions(-) diff --git a/arch/mn10300/mm/cache-smp.c b/arch/mn10300/mm/cache-

[PATCH v2 40/45] powerpc, irq: Use GFP_ATOMIC allocations in atomic context

2013-06-25 Thread Srivatsa S. Bhat
: Michael Ellerman Cc: Li Zhong Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/irq.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/irq.c b/arch/powerpc/kernel/irq.c index ea185e0..ca39bac 100644 --- a/arch

  1   2   3   4   5   >