Re: powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-09-01 Thread Michael Ellerman
On Wed, 2017-08-23 at 17:18:43 UTC, John Allen wrote: > Check if an LMB is assigned before attempting to call dlpar_acquire_drc in > order to avoid any unnecessary rtas calls. This substantially reduces the > running time of memory hot add on lpars with large amounts of memory. > > Signed-off-by:

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-31 Thread Michael Ellerman
John Allen writes: > On 08/30/2017 09:35 AM, Nathan Fontenot wrote: >> On 08/29/2017 09:35 PM, Michael Ellerman wrote: >>> John Allen writes: >>> Check if an LMB is assigned before attempting to call dlpar_acquire_drc in order to avoid any unnecessary rtas calls. This substantially red

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-31 Thread Michael Ellerman
Nathan Fontenot writes: ... > > Hopefully that helps clarify things. Yep thanks. In short, read the code better Michael :) I folded in this hunk, which will keep the compiler happy and is also correct I believe. Basically in the success case (lmbs_added == lmbs_to_add) we explicitly set rc to 0.

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-30 Thread John Allen
On 08/30/2017 09:35 AM, Nathan Fontenot wrote: > On 08/29/2017 09:35 PM, Michael Ellerman wrote: >> John Allen writes: >> >>> Check if an LMB is assigned before attempting to call dlpar_acquire_drc in >>> order to avoid any unnecessary rtas calls. This substantially reduces the >>> running time of

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-30 Thread Nathan Fontenot
On 08/29/2017 09:35 PM, Michael Ellerman wrote: > John Allen writes: > >> Check if an LMB is assigned before attempting to call dlpar_acquire_drc in >> order to avoid any unnecessary rtas calls. This substantially reduces the >> running time of memory hot add on lpars with large amounts of memory

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-29 Thread Michael Ellerman
John Allen writes: > Check if an LMB is assigned before attempting to call dlpar_acquire_drc in > order to avoid any unnecessary rtas calls. This substantially reduces the > running time of memory hot add on lpars with large amounts of memory. > > Signed-off-by: John Allen > --- > diff --git a/a

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-24 Thread John Allen
On 08/24/2017 05:33 AM, Michael Ellerman wrote: > John Allen writes: > >> Check if an LMB is assigned before attempting to call dlpar_acquire_drc in >> order to avoid any unnecessary rtas calls. This substantially reduces the >> running time of memory hot add on lpars with large amounts of memory

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-24 Thread Michael Ellerman
John Allen writes: > Check if an LMB is assigned before attempting to call dlpar_acquire_drc in > order to avoid any unnecessary rtas calls. This substantially reduces the > running time of memory hot add on lpars with large amounts of memory. > > Signed-off-by: John Allen I'll add: Fixes: c

Re: [PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-23 Thread Nathan Fontenot
On 08/23/2017 12:18 PM, John Allen wrote: > Check if an LMB is assigned before attempting to call dlpar_acquire_drc in > order to avoid any unnecessary rtas calls. This substantially reduces the > running time of memory hot add on lpars with large amounts of memory. > > Signed-off-by: John Allen

[PATCH] powerpc/pseries: Don't attempt to acquire drc during memory hot add for assigned lmbs

2017-08-23 Thread John Allen
Check if an LMB is assigned before attempting to call dlpar_acquire_drc in order to avoid any unnecessary rtas calls. This substantially reduces the running time of memory hot add on lpars with large amounts of memory. Signed-off-by: John Allen --- diff --git a/arch/powerpc/platforms/pseries/hotp