From: Michael Ellerman <mpe@ellerman.id.au>
To: Bharata B Rao <bharata.rao@gmail.com>, linuxppc-dev@lists.ozlabs.org
Cc: nfont@linux.vnet.ibm.com, Bharata B Rao <bharata@linux.vnet.ibm.com>
Subject: Re: [FIX, v1] powerpc/pseries: Release DRC when configure_connector fails
Date: Tue, 8 Sep 2015 22:05:01 +1000 (AEST) [thread overview]
Message-ID: <20150908120501.A458B1402ED@ozlabs.org> (raw)
In-Reply-To: <1441621360-1536-1-git-send-email-bharata.rao@gmail.com>
On Mon, 2015-07-09 at 10:22:40 UTC, Bharata B Rao wrote:
> From: Bharata B Rao <bharata@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@linux.vnet.ibm.com>
> Reviewed-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/daebaabb5cfbe4a6f09ca0e0
cheers
prev parent reply other threads:[~2015-09-08 12:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-07 10:22 [FIX PATCH v1] powerpc/pseries: Release DRC when configure_connector fails Bharata B Rao
2015-09-08 12:05 ` Michael Ellerman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150908120501.A458B1402ED@ozlabs.org \
--to=mpe@ellerman.id.au \
--cc=bharata.rao@gmail.com \
--cc=bharata@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=nfont@linux.vnet.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).