_up/down a private interface for anything
but the cpu subsystem.
Acked-by: Michael Ellerman
Signed-off-by: Qais Yousef
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Michael Ellerman
CC: Enrico Weigelt
CC: Ram Pai
CC: Nicholas Piggin
CC: Thiago Jung Bauermann
CC: Christophe Leroy
CC: Thoma
The new functions use device_{online,offline}() which are userspace
safe.
This is in preparation to move cpu_{up, down} kernel users to use
a safer interface that is not racy with userspace.
Suggested-by: "Paul E. McKenney"
Signed-off-by: Qais Yousef
CC: Thomas Gleixner
CC: "P
utland
CC: Lorenzo Pieralisi
CC: "Paul E. McKenney"
CC: Greg Kroah-Hartman
CC: xen-de...@lists.xenproject.org
CC: linux-par...@vger.kernel.org
CC: sparcli...@vger.kernel.org
CC: linuxppc-dev@lists.ozlabs.org
CC: x...@kernel.org
CC: linux-arm-ker...@lists.infradead.org
CC: linux-i...@vge
_up/down a private interface for anything
but the cpu subsystem.
Acked-by: Michael Ellerman
Signed-off-by: Qais Yousef
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Michael Ellerman
CC: Enrico Weigelt
CC: Ram Pai
CC: Nicholas Piggin
CC: Thiago Jung Bauermann
CC: Christophe Leroy
CC: Thoma
: linux-ker...@vger.kernel.org
CC: linux-par...@vger.kernel.org
CC: linuxppc-dev@lists.ozlabs.org
CC: sparcli...@vger.kernel.org
CC: x...@kernel.org
CC: xen-de...@lists.xenproject.org
Qais Yousef (15):
cpu: Add new {add,remove}_cpu() functions
smp: Create a new function to shutdown nonboot
The new functions use device_{online,offline}() which are userspace
safe.
This is in preparation to move cpu_{up, down} kernel users to use
a safer interface that is not racy with userspace.
Suggested-by: "Paul E. McKenney"
Signed-off-by: Qais Yousef
CC: Thomas Gleixner
CC: "P
Hi Thomas
On 11/25/19 11:27, Qais Yousef wrote:
> Changes in v2:
> * Add 2 new patches that create smp_shutdown_nonboot_cpus() to be used
> in machine_shutdown() in ia64, arm and arm64
> * Use proper kernel-doc for the newly introduced functions
> * Ren
_up/down a private interface for anything
but the cpu subsystem.
Acked-by: Michael Ellerman
Signed-off-by: Qais Yousef
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Michael Ellerman
CC: Enrico Weigelt
CC: Ram Pai
CC: Nicholas Piggin
CC: Thiago Jung Bauermann
CC: Christophe Leroy
CC: Thoma
inux-arm-ker...@lists.infradead.org
CC: linux-i...@vger.kernel.org
CC: linux-ker...@vger.kernel.org
CC: linux-par...@vger.kernel.org
CC: linuxppc-dev@lists.ozlabs.org
CC: sparcli...@vger.kernel.org
CC: x...@kernel.org
CC: xen-de...@lists.xenproject.org
Qais Yousef (14):
smp: create a new function to shutd
On 11/19/19 12:19, Michael Ellerman wrote:
> Qais Yousef writes:
> > The core device API performs extra housekeeping bits that are missing
> > from directly calling cpu_up/down.
> >
> > See commit a6717c01ddc2 ("powerpc/rtas: use device model APIs and
> > ser
Hi Thomas
On 10/30/19 15:38, Qais Yousef wrote:
> Using cpu_up/down directly to bring cpus online/offline loses synchronization
> with sysfs and could suffer from a race similar to what is described in
> commit a6717c01ddc2 ("powerpc/rtas: use device model APIs and serializatio
_up/down a private interface for anything
but the cpu subsystem.
Signed-off-by: Qais Yousef
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Michael Ellerman
CC: Enrico Weigelt
CC: Ram Pai
CC: Nicholas Piggin
CC: Thiago Jung Bauermann
CC: Christophe Leroy
CC: Thomas Gleixner
CC: li
uermann
CC: Thomas Gleixner
CC: Tony Luck
CC: Will Deacon
CC: Zhenzhong Duan
CC: linux-arm-ker...@lists.infradead.org
CC: linux-i...@vger.kernel.org
CC: linux-ker...@vger.kernel.org
CC: linux-par...@vger.kernel.org
CC: linuxppc-dev@lists.ozlabs.org
CC: sparcli...@vger.kernel.org
CC: x...@kernel
13 matches
Mail list logo