> Fix this by ensuring that of_node_put() is called only from the > error path in dlpar_cpu_remove_by_index(). In the normal path, > of_node_put() happens as part of dlpar_detach_node(). > > Signed-off-by: Bharata B Rao <bhar...@linux.vnet.ibm.com> > Cc: Nathan Fontenot <nf...@linux.vnet.ibm.com> > --- > Changes in v1: > - Fixed the refcount problem in the userspace driven unplug path > in addition to in-kernel unplug path. (Sachin Sant) > > v0: https://patchwork.ozlabs.org/patch/736547/ >
Thanks Bharata. Tested cpu hotplug/unplug with this fix on a PowrVM LPAR. Tested-by : Sachin Sant <sach...@linux.vnet.ibm.com> Thanks -Sachin