[FIX, v1] powerpc/pseries: Release DRC when configure_connector fails

Michael Ellerman mpe at ellerman.id.au
Tue Sep 8 22:05:01 AEST 2015


On Mon, 2015-07-09 at 10:22:40 UTC, Bharata B Rao wrote:
> From: Bharata B Rao <bharata at linux.vnet.ibm.com>
> 
> Commit f32393c943e2 ("powerpc/pseries: Correct cpu affinity for
> dlpar added cpus") moved dlpar_acquire_drc() call to before
> dlpar_configure_connector() call in dlpar_cpu_probe(), but missed
> to release the DRC if dlpar_configure_connector() failed.
> During CPU hotplug, if configure-connector fails for any reason,
> then this will result in subsequent CPU hotplug attempts to fail.
> 
> Release the acquired DRC if dlpar_configure_connector() call fails
> so that the DRC is left in right isolation and allocation state
> for the subsequent hotplug operation to succeed.
> 
> Signed-off-by: Bharata B Rao <bharata at linux.vnet.ibm.com>
> Reviewed-by: Nathan Fontenot <nfont at linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/daebaabb5cfbe4a6f09ca0e0

cheers


More information about the Linuxppc-dev mailing list