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 <nf...@linux.vnet.ibm.com>
Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/bdf5fc6338047cfeba98d2ab62 cheers _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev