From: Michael Ellerman <mpe@ellerman.id.au>
To: Nathan Fontenot <nfont@linux.vnet.ibm.com>,
linuxppc-dev@lists.ozlabs.org
Subject: Re: [2/3] powerpc/pseries: Update LMB associativity index during DLPAR add/remove
Date: Mon, 11 Apr 2016 22:35:09 +1000 (AEST) [thread overview]
Message-ID: <3qk8fP5kHDz9t49@ozlabs.org> (raw)
In-Reply-To: <56BB6F6D.8050806@linux.vnet.ibm.com>
On Wed, 2016-10-02 at 17:12:13 UTC, Nathan Fontenot wrote:
> The associativity array index specified for a LMB in the device tree,
> /ibm,dynamic-reconfiguration-memory/ibm,dynamic-memory, needs to be updated
> prior to DLPAR adding a LMB and after DLPAR removing a LMB.
>
> Without doing this step in the DLPAR add process a LMB could be configured
> with the incorrect affinity. For a LMB that was not present at boot the
> affinity index is set to 0xffffffff, which defaults to adding the LMB to
> the first online node since the index is not a valid value. Or, the
> affinity index could contain a stale value if the LMB was present at boot
> but later DLPAR removed and is being DLPAR added back to the system.
>
> This patch adds a step in the DLPAR add flow to look up the associativity
> index for a LMB prior to adding a LMB and setting the associativity to
> 0xffffffff when a LMB is removed.
>
> This patch also modifies the DLPAR add/remove flow to no longer do a single
> update of the device tree property after all of the requested DLPAR
> operations are complete and now does a property update during the add
> or remove of each LMB.
>
> Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/bdf5fc6338047cfeba98d2ab62
cheers
next prev parent reply other threads:[~2016-04-11 12:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-10 17:08 [PATCH 0/3] powerpc/pseries: Update affinity index during memory dlpar Nathan Fontenot
2016-02-10 17:10 ` [PATCH 1/3] powerpc/pseries: Refactor dlpar_add_lmb() code Nathan Fontenot
2016-04-11 12:35 ` [1/3] " Michael Ellerman
2016-02-10 17:12 ` [PATCH 2/3] powerpc/pseries: Update LMB associativity index during DLPAR add/remove Nathan Fontenot
2016-04-11 12:35 ` Michael Ellerman [this message]
2016-02-10 17:13 ` [PATCH 3/3] powerpc/pseries: Cleanup property cloning in memory dlpar Nathan Fontenot
2016-03-01 23:02 ` [3/3] " Michael Ellerman
2016-03-02 1:47 ` Michael Ellerman
2016-03-04 3:45 ` Nathan Fontenot
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=3qk8fP5kHDz9t49@ozlabs.org \
--to=mpe@ellerman.id.au \
--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).