aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/mpic_u3msi.c
diff options
context:
space:
mode:
authorBharata B Rao <[email protected]>2015-09-07 15:52:40 +0530
committerMichael Ellerman <[email protected]>2015-09-08 14:07:58 +1000
commitdaebaabb5cfbe4a6f09ca0e0f8b7673efc704960 (patch)
treebc2b36fc66ccdce6240fa6ae0fcf53b7aa40b44b /arch/powerpc/sysdev/mpic_u3msi.c
parent7d1647dc4ba0a61fec5381c1abb59dc886b6ef3c (diff)
powerpc/pseries: Release DRC when configure_connector fails
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. Fixes: f32393c943e2 ("powerpc/pseries: Correct cpu affinity for dlpar added cpus") Cc: [email protected] # 4.1+ Signed-off-by: Bharata B Rao <[email protected]> Reviewed-by: Nathan Fontenot <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'arch/powerpc/sysdev/mpic_u3msi.c')
0 files changed, 0 insertions, 0 deletions