Re: [PATCH 29/36] cpuidle,xenpv: Make more PARAVIRT_XXL noinstr clean

2022-06-14 Thread Srivatsa S. Bhat
g: objtool: xen_safe_halt+0xa: call to > HYPERVISOR_sched_op.constprop.0() leaves .noinstr.text section > > Signed-off-by: Peter Zijlstra (Intel) Reviewed-by: Srivatsa S. Bhat (VMware) Regards, Srivatsa VMware Photon OS > --- > arch/x86/include/asm/paravirt.h

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-12 Thread Srivatsa S. Bhat
Hi Joel, On 06/12/2014 12:09 PM, Joel Stanley wrote: > Hi Srivatsa, > > On Sat, Jun 7, 2014 at 7:16 AM, Srivatsa S. Bhat > wrote: >> And with the following hunk added (which I had forgotten earlier), it worked >> just >> fine on powernv :-) > > How are the

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/06/2014 05:59 PM, Srivatsa S. Bhat wrote: > On 06/04/2014 03:39 AM, Benjamin Herrenschmidt wrote: >> On Wed, 2014-06-04 at 01:58 +0530, Srivatsa S. Bhat wrote: >>> Yep, that makes sense. But unfortunately I don't have enough insight into >>> why exactly power

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/06/2014 11:57 PM, Vivek Goyal wrote: > On Fri, Jun 06, 2014 at 06:00:43PM +0530, Srivatsa S. Bhat wrote: >> On 06/04/2014 07:16 PM, Vivek Goyal wrote: >>> On Wed, Jun 04, 2014 at 08:09:25AM +1000, Benjamin Herrenschmidt wrote: >>>> On Wed, 2014-06-04 at 01:58

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/06/2014 05:59 PM, Srivatsa S. Bhat wrote: > +bool kexec_cpu_wake(void) > +{ > + kexec_smp_down(NULL); > + > + /* NOTREACHED */ > + return true; > +} > + This function doesn't have to return anything, so we can define it as void. The bool is a remn

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/04/2014 07:11 PM, Vivek Goyal wrote: > On Wed, Jun 04, 2014 at 01:58:40AM +0530, Srivatsa S. Bhat wrote: >> On 05/28/2014 07:01 PM, Vivek Goyal wrote: >>> On Tue, May 27, 2014 at 04:25:34PM +0530, Srivatsa S. Bhat wrote: >>>> If we try to perform a kexec whe

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/04/2014 07:16 PM, Vivek Goyal wrote: > On Wed, Jun 04, 2014 at 08:09:25AM +1000, Benjamin Herrenschmidt wrote: >> On Wed, 2014-06-04 at 01:58 +0530, Srivatsa S. Bhat wrote: >>> Yep, that makes sense. But unfortunately I don't have enough insight into >>> why e

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-06 Thread Srivatsa S. Bhat
On 06/04/2014 03:39 AM, Benjamin Herrenschmidt wrote: > On Wed, 2014-06-04 at 01:58 +0530, Srivatsa S. Bhat wrote: >> Yep, that makes sense. But unfortunately I don't have enough insight into >> why exactly powerpc has to online the CPUs before doing a kexec. I just >> kn

Re: [PATCH v2 2/2] powerpc/powernv : Disable subcore for UP configs

2014-06-06 Thread Srivatsa S. Bhat
SMP and hence the better solution is to exclude subcore.o and > subcore-asm.o for UP builds. > > Signed-off-by: Shreyas B. Prabhu Reviewed-by: Srivatsa S. Bhat Regards, Srivatsa S. Bhat > --- > Changes in v2: > Excluding subcore-asm.o which is part of the subcore feature for

Re: [PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-06-03 Thread Srivatsa S. Bhat
On 05/28/2014 07:01 PM, Vivek Goyal wrote: > On Tue, May 27, 2014 at 04:25:34PM +0530, Srivatsa S. Bhat wrote: >> If we try to perform a kexec when the machine is in ST (Single-Threaded) mode >> (ppc64_cpu --smt=off), the kexec operation doesn't succeed properly, and we

[PATCH] powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode

2014-05-27 Thread Srivatsa S. Bhat
xec: migrate to reboot cpu) Cc: sta...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/machine_kexec_64.c |2 +- kernel/kexec.c |8 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/kernel/machine_kexec_64.c

Re: NUMA topology question wrt. d4edc5b6

2014-05-22 Thread Srivatsa S. Bhat
we'll have to fix that if powerpc can have a single node system whose node is numbered something other than 0. Can that happen as well? ] And regarding your question about what is the best way to fix this whole Linux MM's assumption about node0, I'm not really sure.. since I am not

Re: [PATCH] powerpc/powernv: Fix build error when CONFIG_SMP=n

2014-05-20 Thread Srivatsa S. Bhat
> However, includes only on SMP configs and hence UP > builds fail. Fix this by directly including in setup.c > unconditionally. > > Reported-by: Geert Uytterhoeven > Signed-off-by: Shreyas B. Prabhu Reviewed-by: Srivatsa S. Bhat Regards, Srivatsa S. Bhat > --- >

Re: [PATCH v2] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-08 Thread Srivatsa S. Bhat
x this by skipping the topology update in cases where we find that > the topology has not actually changed in reality (ie., spurious updates). > > CC: Benjamin Herrenschmidt > CC: Paul Mackerras > CC: Nathan Fontenot > CC: Stephen Rothwell > CC: Andrew Morton > CC: R

Re: [PATCH] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-07 Thread Srivatsa S. Bhat
s not actually changed in reality (ie., spurious updates). > CC: Benjamin Herrenschmidt > CC: Paul Mackerras > CC: Nathan Fontenot > CC: Stephen Rothwell > CC: Andrew Morton > CC: Robert Jennings > CC: Jesse Larrew > CC: "Srivatsa S. Bhat" > CC: Alistair

Re: [PATCH] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-07 Thread Srivatsa S. Bhat
Hi Michael, On 04/04/2014 09:18 AM, Michael wang wrote: > Hi, Srivatsa > > Thanks for your reply :) > > On 04/03/2014 04:50 PM, Srivatsa S. Bhat wrote: > [snip] >> >> Now, the interesting thing to note here is that, if CPU0's node was already >> set a

Re: [PATCH] power, sched: stop updating inside arch_update_cpu_topology() when nothing to be update

2014-04-03 Thread Srivatsa S. Bhat
from node 0? That is, boot the kernel with "numa=debug" in the kernel command line and it will print out the cpu-to-node associativity during boot. That way you can figure out what was the original associativity that was set. This will confirm the theory that the hypervisor sent a red

Re: [PATCH v4] powernv, cpufreq: cpufreq driver for powernv platform

2014-03-27 Thread Srivatsa S. Bhat
. > smp_processor_id() maps to debug_smp_processor_id() only if CONFIG_DEBUG_PREEMPT is set. Otherwise, it is same as raw_smp_processor_id(). So I think its best to keep it as it is. Regards, Srivatsa S. Bhat ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v3 1/5] powernv: cpufreq driver for powernv platform

2014-03-21 Thread Srivatsa S. Bhat
h some of the other details that well :-( Besides, its hard to keep up with the rate of your changes, you are way too fast! ;-) Regards, Srivatsa S. Bhat ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH v3 1/5] powernv: cpufreq driver for powernv platform

2014-03-21 Thread Srivatsa S. Bhat
if you don't have this ifdef here? Without that as well >>> below code should work? > > Missed this one? > Nothing will break, its just that the code size will be a tiny bit lesser on UP configs, that's all :-) Anyway, I think removing the ifdef improves the readability

Re: [PATCH v3 2/5] powernv, cpufreq:Add per-core locking to serialize frequency transitions

2014-03-21 Thread Srivatsa S. Bhat
On 03/21/2014 02:12 PM, Viresh Kumar wrote: > On Thu, Mar 20, 2014 at 5:40 PM, Gautham R. Shenoy > wrote: >> From: "Srivatsa S. Bhat" >> >> On POWER systems, the CPU frequency is controlled at a core-level and >> hence we need to serialize so that only on

Re: [PATCH v2 2/6] powernv:cpufreq: Create a powernv_cpu_to_core_mask() helper.

2014-03-18 Thread Srivatsa S. Bhat
On 03/19/2014 05:07 AM, Benjamin Herrenschmidt wrote: > On Mon, 2014-03-10 at 16:40 +0530, Gautham R. Shenoy wrote: >> From: "Srivatsa S. Bhat" >> >> Create a helper method that computes the cpumask corresponding to the >> thread-siblings of a cpu. Use t

[UPDATED PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-18 Thread Srivatsa S. Bhat
On 03/15/2014 12:40 AM, Christoffer Dall wrote: > On Fri, Mar 14, 2014 at 11:13:29AM +0530, Srivatsa S. Bhat wrote: >> On 03/13/2014 04:51 AM, Christoffer Dall wrote: >>> On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: >>>> Subsystems that want to

Re: [PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-13 Thread Srivatsa S. Bhat
On 03/13/2014 04:51 AM, Christoffer Dall wrote: > On Tue, Mar 11, 2014 at 02:05:38AM +0530, Srivatsa S. Bhat wrote: >> Subsystems that want to register CPU hotplug callbacks, as well as perform >> initialization for the CPUs that are already online, often do it as

Re: [PATCH v3 00/52] CPU hotplug: Fix issues with callback registration

2014-03-12 Thread Srivatsa S. Bhat
On 03/12/2014 03:37 AM, Andrew Morton wrote: > On Tue, 11 Mar 2014 02:03:52 +0530 "Srivatsa S. Bhat" > wrote: > >> Hi, >> >> Many subsystems and drivers have the need to register CPU hotplug callbacks >> from their init routines and also perfo

[PATCH v3 52/52] net/iucv/iucv.c: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
Srivatsa S. Bhat --- net/iucv/iucv.c | 121 ++- 1 file changed, 57 insertions(+), 64 deletions(-) diff --git a/net/iucv/iucv.c b/net/iucv/iucv.c index cd5b8ec..79a0ce9 100644 --- a/net/iucv/iucv.c +++ b/net/iucv/iucv.c @@ -621,6 +621,42 @@ sta

[PATCH v3 51/52] net/core/flow.c: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Li RongQing Cc: Sasha Levin Cc: Andrew Morton Cc: Chris Metcalf Cc: Ingo Molnar Cc: net...@vger.kernel.org Acked-by: David S. Miller Signed-off-by: Srivatsa S. Bhat --- net/core/flow.c |8 +++- 1 file changed, 7 insertio

[PATCH v3 49/52] mm, vmstat: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ubsystem by using this latter form of callback registration. Cc: Andrew Morton Cc: Johannes Weiner Cc: Cody P Schafer Cc: Toshi Kani Cc: Dave Hansen Cc: Ingo Molnar Cc: linux...@kvack.org Acked-by: Christoph Lameter Acked-by: Rik van Riel Reviewed-by: Yasuaki Ishimatsu Signed-off-by: Sr

[PATCH v3 50/52] mm, zswap: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
s latter form of callback registration. Cc: Ingo Molnar Cc: linux...@kvack.org Signed-off-by: Srivatsa S. Bhat --- mm/zswap.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/zswap.c b/mm/zswap.c index e55bab9..d7337fb 100644 --- a/mm/zswap.c +++ b/mm/zswap.c @@

[PATCH v3 46/52] xen, balloon: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
back registration. Cc: Konrad Rzeszutek Wilk Cc: David Vrabel Cc: Ingo Molnar Cc: xen-de...@lists.xenproject.org Reviewed-by: Boris Ostrovsky Signed-off-by: Srivatsa S. Bhat --- drivers/xen/balloon.c | 36 1 file changed, 24 insertions(+), 12 deletions(-)

[PATCH v3 48/52] profile: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
s latter form of callback registration. Cc: Al Viro Cc: Mauro Carvalho Chehab Cc: Ingo Molnar Signed-off-by: Srivatsa S. Bhat --- kernel/profile.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/kernel/profile.c b/kernel/profile.c index 6631e1e.

[PATCH v3 47/52] trace, ring-buffer: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Frederic Weisbecker Cc: Ingo Molnar Acked-by: Steven Rostedt Signed-off-by: Srivatsa S. Bhat --- kernel/trace/ring_buffer.c | 19 +++ 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/kernel/trace/ring_bu

[PATCH v3 45/52] hwmon, via-cputemp: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Jean Delvare Cc: Ingo Molnar Cc: lm-sens...@lm-sensors.org Acked-by: Guenter Roeck Signed-off-by: Srivatsa S. Bhat --- drivers/hwmon/via-cputemp.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/drive

[PATCH v3 44/52] hwmon, coretemp: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Fenghua Yu Cc: Jean Delvare Cc: Ingo Molnar Cc: lm-sens...@lm-sensors.org Acked-by: Guenter Roeck Signed-off-by: Srivatsa S. Bhat --- drivers/hwmon/coretemp.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff

[PATCH v3 42/52] octeon, watchdog: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Wim Van Sebroeck Cc: Ingo Molnar Cc: linux-watch...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/watchdog/octeon-wdt-main.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/watchdo

[PATCH v3 43/52] thermal, x86-pkg-temp: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
code by using this latter form of callback registration. Cc: Zhang Rui Cc: Eduardo Valentin Cc: Ingo Molnar Cc: linux...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/thermal/x86_pkg_temp_thermal.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a

[PATCH v3 41/52] oprofile, nmi-timer: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ofile by using this latter form of callback registration. Cc: Robert Richter Cc: Ingo Molnar Signed-off-by: Srivatsa S. Bhat --- drivers/oprofile/nmi_timer_int.c | 23 +-- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/drivers/oprofile/nmi_timer_int.c b

[PATCH v3 40/52] intel-idle: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Len Brown Cc: "Rafael J. Wysocki" Cc: Ingo Molnar Cc: linux...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/idle/intel_idle.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/drivers/i

[PATCH v3 39/52] clocksource, dummy-timer: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
code by using this latter form of callback registration. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Ingo Molnar Signed-off-by: Srivatsa S. Bhat --- drivers/clocksource/dummy_timer.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/drivers/clocksource/dummy_ti

[PATCH v3 38/52] drivers/base/topology.c: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Ingo Molnar Acked-by: Greg Kroah-Hartman Signed-off-by: Srivatsa S. Bhat --- drivers/base/topology.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/base/topology.c b/drivers/base/topology.c index 94ffee3.

[PATCH v3 37/52] acpi-cpufreq: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: "Rafael J. Wysocki" Cc: Ingo Molnar Cc: cpuf...@vger.kernel.org Cc: linux...@vger.kernel.org Acked-by: Viresh Kumar Signed-off-by: Srivatsa S. Bhat --- drivers/cpufreq/acpi-cpufreq.c |7 --- 1 file changed, 4 insertions(+), 3

[PATCH v3 36/52] zsmalloc: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Minchan Kim Cc: Nitin Gupta Cc: Ingo Molnar Cc: linux...@kvack.org Signed-off-by: Srivatsa S. Bhat --- mm/zsmalloc.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/mm/zsmalloc.c b/mm/zsmalloc.c index

[PATCH v3 35/52] scsi, fcoe: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Robert Love Cc: "James E.J. Bottomley" Cc: Ingo Molnar Cc: fcoe-de...@open-fcoe.org Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/scsi/fcoe/fcoe.c | 15 +-- 1 file changed, 13 insertio

[PATCH v3 34/52] scsi, bnx2fc: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Eddie Wai Cc: "James E.J. Bottomley" Cc: Ingo Molnar Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --

[PATCH v3 33/52] scsi, bnx2i: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Eddie Wai Cc: "James E.J. Bottomley" Cc: Ingo Molnar Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- drivers/scsi/bnx2i/bnx2i_init.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --

[PATCH v3 32/52] powercap, intel-rapl: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ove. Cc: "Rafael J. Wysocki" Cc: Jacob Pan Cc: Srinivas Pandruvada Cc: Ingo Molnar Signed-off-by: Srivatsa S. Bhat --- drivers/powercap/intel_rapl.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/

[PATCH v3 31/52] arm64, debug-monitors: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
arm64 by using this latter form of callback registration. Cc: Catalin Marinas Cc: Russell King Cc: Ingo Molnar Cc: linux-arm-ker...@lists.infradead.org Acked-by: Will Deacon Signed-off-by: Srivatsa S. Bhat --- arch/arm64/kernel/debug-monitors.c |6 +- 1 file changed, 5 insertio

[PATCH v3 30/52] arm64, hw_breakpoint.c: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
arm64 by using this latter form of callback registration. Cc: Catalin Marinas Cc: Lorenzo Pieralisi Cc: Ingo Molnar Cc: linux-arm-ker...@lists.infradead.org Acked-by: Will Deacon Signed-off-by: Srivatsa S. Bhat --- arch/arm64/kernel/hw_breakpoint.c |7 ++- 1 file changed, 6 insertio

[PATCH v3 29/52] x86, kvm: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Gleb Natapov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: k...@vger.kernel.org Acked-by: Paolo Bonzini Signed-off-by: Srivatsa S. Bhat --- arch/x86/kvm/x86.c |7 ++- 1 file changed,

[PATCH v3 28/52] x86, oprofile, nmi: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
lity mentioned above. Cc: Robert Richter Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/oprofile/nmi_int.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/x86/oprof

[PATCH v3 27/52] x86, pci, amd-bus: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: linux-...@vger.kernel.org Acked-by: Bjorn Helgaas Signed-off-by: Srivatsa S. Bhat --- arch/x86/pci/amd_bus.c |5 - 1 file changed, 4 inserti

[PATCH v3 26/52] x86, hpet: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/hpet.c |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/x86/kernel/hpet.c b/arch

[PATCH v3 25/52] x86, amd, uncore: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Peter Zijlstra Cc: Paul Mackerras 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_amd_uncore.c |

[PATCH v3 24/52] x86, intel, rapl: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Peter Zijlstra Cc: Paul Mackerras 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_rapl.c |9

[PATCH v3 23/52] x86, intel, cacheinfo: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
n x86 by using this latter form of callback registration. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: Borislav Petkov Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpu/intel_cacheinfo.c | 13 - 1 file changed, 8 insertio

[PATCH v3 21/52] x86, therm_throt.c: Remove unused therm_cpu_lock

2014-03-10 Thread Srivatsa S. Bhat
unnecessary now. Remove it. Cc: Tony Luck Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: linux-e...@vger.kernel.org Suggested-by: Oleg Nesterov Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpu/mcheck/therm_thro

[PATCH v3 22/52] x86, amd, ibs: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Peter Zijlstra Cc: Paul Mackerras 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_amd_ibs.c |6 +++-

[PATCH v3 20/52] x86, therm_throt.c: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
n x86 by using this latter form of callback registration. Cc: Tony Luck Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: linux-e...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpu/mcheck/therm_throt.c |

[PATCH v3 19/52] x86, mce: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Tony Luck Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Cc: linux-e...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpu/mcheck/mce.c |8 ++-- 1 file cha

[PATCH v3 18/52] x86, intel, uncore: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Peter Zijlstra Cc: Paul Mackerras 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.

[PATCH v3 17/52] x86, vsyscall: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/vsyscall_64.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/x86/kern

[PATCH v3 16/52] x86, cpuid: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: "H. Peter Anvin" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/cpuid.c | 15 --- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/arch/x86/ker

[PATCH v3 15/52] x86, msr: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: "H. Peter Anvin" Cc: Thomas Gleixner Cc: Ingo Molnar Cc: x...@kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/x86/kernel/msr.c | 16 +--- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/arch/x86/kerne

[PATCH v3 14/52] powerpc, sysfs: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Olof Johansson Cc: Wang Dongsheng Cc: Ingo Molnar Cc: linuxppc-dev@lists.ozlabs.org Acked-by: Madhavan Srinivasan Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/sysfs.c |8 +++

[PATCH v3 13/52] sparc, sysfs: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Ingo Molnar Cc: sparcli...@vger.kernel.org Acked-by: David S. Miller Signed-off-by: Srivatsa S. Bhat --- arch/sparc/kernel/sysfs.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/sparc/kernel/sysfs.c b/ar

[PATCH v3 12/52] s390, smp: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Thomas Gleixner Cc: Ingo Molnar Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/s390/kernel/smp.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --gi

[PATCH v3 11/52] s390, cacheinfo: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Martin Schwidefsky Cc: Heiko Carstens Cc: Ingo Molnar Cc: linux-s...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/s390/kernel/cache.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/s390/kernel/c

[PATCH v3 10/52] arm, kvm: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ing this latter form of callback registration. Cc: Christoffer Dall Cc: Gleb Natapov Cc: Russell King Cc: Ingo Molnar Cc: kvm...@lists.cs.columbia.edu Cc: k...@vger.kernel.org Cc: linux-arm-ker...@lists.infradead.org Acked-by: Paolo Bonzini Signed-off-by: Srivatsa S. Bhat --- arch/arm/kvm/arm.

[PATCH v3 09/52] arm, hw-breakpoint: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
n arm by using this latter form of callback registration. Cc: Russell King Cc: Ingo Molnar Cc: linux-arm-ker...@lists.infradead.org Acked-by: Will Deacon Signed-off-by: Srivatsa S. Bhat --- arch/arm/kernel/hw_breakpoint.c |8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --gi

[PATCH v3 08/52] ia64, err-inject: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
ia64 by using this latter form of callback registration. Cc: Tony Luck Cc: Fenghua Yu Cc: Ingo Molnar Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/err_inject.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/ia6

[PATCH v3 07/52] ia64, topology: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Tony Luck Cc: Fenghua Yu Cc: Ingo Molnar Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/topology.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/ia64/kernel/topology.

[PATCH v3 06/52] ia64, palinfo: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Tony Luck Cc: Fenghua Yu Cc: Ingo Molnar Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/palinfo.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/ia64/kernel/palinfo.c b/a

[PATCH v3 05/52] ia64, salinfo: Fix hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Tony Luck Cc: Fenghua Yu Cc: Ingo Molnar Cc: linux-i...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/ia64/kernel/salinfo.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/ia64/kernel/salinfo.c b/a

[PATCH v3 04/52] CPU hotplug, perf: Fix CPU hotplug callback registration

2014-03-10 Thread Srivatsa S. Bhat
dy online CPUs, or don't need the initialization altogether. Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Ingo Molnar Cc: Arnaldo Carvalho de Melo Signed-off-by: Srivatsa S. Bhat --- include/linux/perf_event.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) dif

[PATCH v3 01/52] CPU hotplug: Add lockdep annotations to get/put_online_cpus()

2014-03-10 Thread Srivatsa S. Bhat
From: Gautham R. Shenoy Add lockdep annotations for get/put_online_cpus() and cpu_hotplug_begin()/cpu_hotplug_end(). Cc: Ingo Molnar Reviewed-by: Oleg Nesterov Signed-off-by: Gautham R. Shenoy Signed-off-by: Srivatsa S. Bhat --- kernel/cpu.c | 17 + 1 file changed, 17

[PATCH v3 03/52] Doc/cpu-hotplug: Specify race-free way to register CPU hotplug callbacks

2014-03-10 Thread Srivatsa S. Bhat
. Cc: Rob Landley Cc: Ingo Molnar Cc: linux-...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- Documentation/cpu-hotplug.txt | 45 + 1 file changed, 45 insertions(+) diff --git a/Documentation/cpu-hotplug.txt b/Documentation/cpu-hotplug.txt index

[PATCH v3 02/52] CPU hotplug: Provide lockless versions of callback registration functions

2014-03-10 Thread Srivatsa S. Bhat
d-by: Gautham R. Shenoy Signed-off-by: Srivatsa S. Bhat --- include/linux/cpu.h | 47 +++ kernel/cpu.c| 21 +++-- 2 files changed, 66 insertions(+), 2 deletions(-) diff --git a/include/linux/cpu.h b/include/linux/cpu.

[PATCH v3 00/52] CPU hotplug: Fix issues with callback registration

2014-03-10 Thread Srivatsa S. Bhat
v2: * Collected more Acks from subsystem maintainers. * Updated the xen-balloon patch and got Ack from Boris Ostrovsky. Gautham R. Shenoy (1): CPU hotplug: Add lockdep annotations to get/put_online_cpus() Srivatsa S. Bhat (51): CPU hotplug: Provide lockless versions of callback regis

[PATCH v2 14/52] powerpc, sysfs: Fix CPU hotplug callback registration

2014-02-13 Thread Srivatsa S. Bhat
by using this latter form of callback registration. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Olof Johansson Cc: Wang Dongsheng Cc: Ingo Molnar Cc: linuxppc-dev@lists.ozlabs.org Acked-by: Madhavan Srinivasan Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/sysfs.c |8 +++

[PATCH 13/51] powerpc, sysfs: Fix CPU hotplug callback registration

2014-02-05 Thread Srivatsa S. Bhat
s latter form of callback registration. Cc: Benjamin Herrenschmidt Cc: Paul Mackerras Cc: Madhavan Srinivasan Cc: Olof Johansson Cc: Wang Dongsheng Cc: linuxppc-dev@lists.ozlabs.org Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/kernel/sysfs.c |8 +++- 1 file changed, 7 insertio

Re: [PATCH] cpuidle/menu: Fail cpuidle_idle_call() if no idle state is acceptable

2014-01-13 Thread Srivatsa S. Bhat
On 01/14/2014 12:30 PM, Srivatsa S. Bhat wrote: > On 01/14/2014 11:35 AM, Preeti U Murthy wrote: >> On PowerPC, in a particular test scenario, all the cpu idle states were >> disabled. >> Inspite of this it was observed that the idle state count of the shallowest >&

Re: [PATCH] cpuidle/menu: Fail cpuidle_idle_call() if no idle state is acceptable

2014-01-13 Thread Srivatsa S. Bhat
if (unlikely(latency_req == 0)) > - return 0; > + return data->last_state_idx; > > /* determine the expected residency time, round up */ > t = ktime_to_timespec(tick_nohz_get_sleep_length()); > What about the ladder governor? I know its not used that much in practice, but I think it would be good to update that as well, just to keep it consistent. Regards, Srivatsa S. Bhat ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

Re: [PATCH] pseries/cpuidle: Remove redundant call to ppc64_runlatch_off() in cpu idle routines

2014-01-09 Thread Srivatsa S. Bhat
in > pseries and commit fbd7740fdfdf9475f missed to get rid of these redundant > calls. These calls were carried over subsequent enhancements to the pseries > cpuidle routines. This patch takes care of eliminating this redundancy. > > Signed-off-by: Preeti U Murthy > --- Reviewed-by: Sr

Re: [PATCH 1/2] powerpc: Fix the setup of CPU-to-Node mappings during CPU online

2014-01-06 Thread Srivatsa S. Bhat
On 12/30/2013 05:05 PM, Srivatsa S. Bhat wrote: > On POWER platforms, the hypervisor can notify the guest kernel about dynamic > changes in the cpu-numa associativity (VPHN topology update). Hence the > cpu-to-node mappings that we got from the firmware during boot, may no longer > be

[PATCH 2/2] powerpc: Add debug checks to catch invalid cpu-to-node mappings

2013-12-30 Thread Srivatsa S. Bhat
gs as early as possible. Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/mm/numa.c | 26 -- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 6847d50..4f50c6a 100644 --- a/arch/powerpc/mm/numa.c +++ b

[PATCH 1/2] powerpc: Fix the setup of CPU-to-Node mappings during CPU online

2013-12-30 Thread Srivatsa S. Bhat
switching. Cc: sta...@vger.kernel.org Signed-off-by: Srivatsa S. Bhat --- arch/powerpc/include/asm/topology.h | 10 + arch/powerpc/mm/numa.c | 70 ++- 2 files changed, 76 insertions(+), 4 deletions(-) diff --git a/arch/powerpc/include/asm/topology.h b/arch

Re: [RFC PATCH v2 15/25] smp, ppc: kill SMP single function call interrupt

2013-09-11 Thread Srivatsa S. Bhat
at, I'll try to review them. Thank you! Regards, Srivatsa S. Bhat > arch/powerpc/include/asm/smp.h | 3 +-- > arch/powerpc/kernel/smp.c | 12 +--- > 2 files changed, 2 insertions(+), 13 deletions(-) > > diff --git a/arch/powerpc/include/asm/smp.h b/arch/powerpc

Re: [PATCH v2] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Srivatsa S. Bhat
; The related warning: > > arch/powerpc/kernel/smp.c:323:43: warning: parameter ‘max_cpus’ set but not > used [-Wunused-but-set-parameter] > > Signed-off-by: Chen Gang This version looks good. Reviewed-by: Srivatsa S. Bhat Regards, Srivatsa S. Bhat > --- > arch/powe

Re: [PATCH] powerpc: kernel: remove useless code which related with 'max_cpus'

2013-07-21 Thread Srivatsa S. Bhat
smp_ops->cause_ipi = icp_ops->cause_ipi; 147 148 /* Register all the IPIs */ 149 xics_request_ipi(); 150 151 return cpumask_weight(cpu_possible_mask); 152 } > - else > - max_cpus = NR_CPUS; > - else >

Re: [PATCH] powerpc/pseries: drop "select HOTPLUG"

2013-07-15 Thread Srivatsa S. Bhat
; remove CONFIG_HOTPLUG was submitted. Anyhow, it is useless and can be > dropped. > > Signed-off-by: Paul Bolle > --- Reviewed-by: Srivatsa S. Bhat > > arch/powerpc/platforms/pseries/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/arch/powerpc/platfor

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

2013-07-02 Thread Srivatsa S. Bhat
On 07/02/2013 02:17 PM, Michael Wang wrote: > On 07/02/2013 04:25 PM, Srivatsa S. Bhat wrote: >> Hi Michael, >> >> On 07/02/2013 11:02 AM, Michael Wang wrote: >>> Hi, Srivatsa >>> >>> On 06/28/2013 03:54 AM, Srivatsa S. Bhat wrote: >>> [snip

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

2013-07-02 Thread Srivatsa S. Bhat
Hi Michael, On 07/02/2013 11:02 AM, Michael Wang wrote: > Hi, Srivatsa > > On 06/28/2013 03:54 AM, Srivatsa S. Bhat wrote: > [snip] >> @@ -625,8 +632,9 @@ EXPORT_SYMBOL(on_each_cpu_mask); >> * The function might sleep if the GFP flags indicates a non >>

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

2013-06-27 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 v3 44/45] sparc: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-27 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

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

2013-06-27 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 v3 42/45] powerpc: Use get/put_online_cpus_atomic() to avoid false-positive warning

2013-06-27 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 v3 41/45] powerpc: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-27 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 v3 40/45] powerpc, irq: Use GFP_ATOMIC allocations in atomic context

2013-06-27 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

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

2013-06-27 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 v3 38/45] MIPS: Use get/put_online_cpus_atomic() to prevent CPU offline

2013-06-27 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 +++

  1   2   3   4   5   >