diff options
author | Bharata B Rao <bharata@linux.vnet.ibm.com> | 2015-09-07 12:22:40 +0200 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2015-09-08 06:07:58 +0200 |
commit | daebaabb5cfbe4a6f09ca0e0f8b7673efc704960 (patch) | |
tree | bc2b36fc66ccdce6240fa6ae0fcf53b7aa40b44b /crypto/rmd160.c | |
parent | cxl: abort cxl_pci_enable_device_hook() if PCI channel is offline (diff) | |
download | linux-daebaabb5cfbe4a6f09ca0e0f8b7673efc704960.tar.xz linux-daebaabb5cfbe4a6f09ca0e0f8b7673efc704960.zip |
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: stable@vger.kernel.org # 4.1+
Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'crypto/rmd160.c')
0 files changed, 0 insertions, 0 deletions