Re: [PATCH] powerpc/rtas: Fix a potential race between CPU-Offline & Migration

2018-10-01 Thread Gautham R Shenoy
On Fri, Sep 28, 2018 at 03:36:08PM -0500, Nathan Fontenot wrote: > On 09/28/2018 02:02 AM, Gautham R Shenoy wrote: > > Hi Nathan, > > > > On Thu, Sep 27, 2018 at 12:31:34PM -0500, Nathan Fontenot wrote: > >> On 09/27/2018 11:51 AM, Gautham R. Shenoy wrote: > >>> From: "Gautham R. Shenoy" > >>> >

Re: [PATCH] powerpc/rtas: Fix a potential race between CPU-Offline & Migration

2018-09-28 Thread Nathan Fontenot
On 09/28/2018 02:02 AM, Gautham R Shenoy wrote: > Hi Nathan, > > On Thu, Sep 27, 2018 at 12:31:34PM -0500, Nathan Fontenot wrote: >> On 09/27/2018 11:51 AM, Gautham R. Shenoy wrote: >>> From: "Gautham R. Shenoy" >>> >>> Live Partition Migrations require all the present CPUs to execute the >>>

Re: [PATCH] powerpc/rtas: Fix a potential race between CPU-Offline & Migration

2018-09-28 Thread Gautham R Shenoy
Hi Nathan, On Thu, Sep 27, 2018 at 12:31:34PM -0500, Nathan Fontenot wrote: > On 09/27/2018 11:51 AM, Gautham R. Shenoy wrote: > > From: "Gautham R. Shenoy" > > > > Live Partition Migrations require all the present CPUs to execute the > > H_JOIN call, and hence rtas_ibm_suspend_me() onlines any

Re: [PATCH] powerpc/rtas: Fix a potential race between CPU-Offline & Migration

2018-09-27 Thread Nathan Fontenot
On 09/27/2018 11:51 AM, Gautham R. Shenoy wrote: > From: "Gautham R. Shenoy" > > Live Partition Migrations require all the present CPUs to execute the > H_JOIN call, and hence rtas_ibm_suspend_me() onlines any offline CPUs > before initiating the migration for this purpose. > > The commit

[PATCH] powerpc/rtas: Fix a potential race between CPU-Offline & Migration

2018-09-27 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" Live Partition Migrations require all the present CPUs to execute the H_JOIN call, and hence rtas_ibm_suspend_me() onlines any offline CPUs before initiating the migration for this purpose. The commit 85a88cabad57 ("powerpc/pseries: Disable CPU hotplug across