[Xen-devel] [PATCH v4 00/17] Convert cpu_up/down to device_online/offline

2020-03-23 Thread Qais Yousef
utland CC: Lorenzo Pieralisi CC: "Paul E. McKenney" CC: Greg Kroah-Hartman CC: xen-devel@lists.xenproject.org CC: linux-par...@vger.kernel.org CC: sparcli...@vger.kernel.org CC: linuxppc-...@lists.ozlabs.org CC: x...@kernel.org CC: linux-arm-ker...@lists.infradead.org CC: linux-i...@vge

[Xen-devel] [PATCH v4 13/17] driver: xen: Replace cpu_up/down with device_online/offline

2020-03-23 Thread Qais Yousef
_up/down a private interface for anything but the cpu subsystem. Reviewed-by: Juergen Gross Signed-off-by: Qais Yousef CC: Boris Ostrovsky CC: Juergen Gross CC: Stefano Stabellini CC: xen-devel@lists.xenproject.org CC: linux-ker...@vger.kernel.org --- drivers/xen/cpu_hotplug.c | 2 +- 1 file

[Xen-devel] [PATCH v4 01/17] cpu: Add new {add, remove}_cpu() functions

2020-03-23 Thread Qais Yousef
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

Re: [Xen-devel] [PATCH v2 00/14] Convert cpu_up/down to device_online/offline

2020-02-05 Thread Qais Yousef
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

[Xen-devel] [PATCH v3 11/15] driver: xen: Replace cpu_up/down with device_online/offline

2020-02-23 Thread Qais Yousef
_up/down a private interface for anything but the cpu subsystem. Reviewed-by: Juergen Gross Signed-off-by: Qais Yousef CC: Boris Ostrovsky CC: Juergen Gross CC: Stefano Stabellini CC: xen-devel@lists.xenproject.org CC: linux-ker...@vger.kernel.org --- Juergen, there's a new add_cpu() which you

[Xen-devel] [PATCH v3 00/15] Convert cpu_up/down to device_online/offline

2020-02-23 Thread Qais Yousef
g CC: linux-ker...@vger.kernel.org CC: linux-par...@vger.kernel.org CC: linuxppc-...@lists.ozlabs.org CC: sparcli...@vger.kernel.org CC: x...@kernel.org CC: xen-devel@lists.xenproject.org Qais Yousef (15): cpu: Add new {add,remove}_cpu() functions smp: Create a new function to shutdown nonboot

[Xen-devel] [PATCH v3 01/15] cpu: Add new {add, remove}_cpu() functions

2020-02-23 Thread Qais Yousef
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

[Xen-devel] [PATCH 08/12] driver: xen: Replace cpu_up/down with device_online/offline

2019-10-30 Thread Qais Yousef
_up/down a private interface for anything but the cpu subsystem. Signed-off-by: Qais Yousef CC: Boris Ostrovsky CC: Juergen Gross CC: Stefano Stabellini CC: xen-devel@lists.xenproject.org CC: linux-ker...@vger.kernel.org --- drivers/xen/cpu_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[Xen-devel] [PATCH 00/12] Convert cpu_up/down to device_online/offline

2019-10-30 Thread Qais Yousef
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-...@lists.ozlabs.org CC: sparcli...@vger.kernel.org CC: x...@kernel

Re: [Xen-devel] [PATCH 00/12] Convert cpu_up/down to device_online/offline

2019-11-18 Thread Qais Yousef
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

[Xen-devel] [PATCH v2 10/14] driver: xen: Replace cpu_up/down with device_online/offline

2019-11-25 Thread Qais Yousef
_up/down a private interface for anything but the cpu subsystem. Signed-off-by: Qais Yousef CC: Boris Ostrovsky CC: Juergen Gross CC: Stefano Stabellini CC: xen-devel@lists.xenproject.org CC: linux-ker...@vger.kernel.org --- drivers/xen/cpu_hotplug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletio

[Xen-devel] [PATCH v2 00/14] Convert cpu_up/down to device_online/offline

2019-11-25 Thread Qais Yousef
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-...@lists.ozlabs.org CC: sparcli...@vger.kernel.org CC: x...@kernel.org CC: xen-devel@lists.xenproject.org Qais Yousef (14): smp: create a new function to shutd