Re: [PATCH 1/1] hotplug-cpu.c: show 'last online CPU' error in dlpar_cpu_remove()

2021-03-22 Thread Daniel Henrique Barboza
On 3/19/21 8:26 AM, Michael Ellerman wrote: Daniel Henrique Barboza writes: Ping On 3/5/21 2:38 PM, Daniel Henrique Barboza wrote: Of all the reasons that dlpar_cpu_remove() can fail, the 'last online CPU' is one that can be caused directly by the user offlining CPUs in a partition/virtual

Re: [PATCH 1/1] hotplug-cpu.c: show 'last online CPU' error in dlpar_cpu_remove()

2021-03-19 Thread Michael Ellerman
Daniel Henrique Barboza writes: > Ping > > On 3/5/21 2:38 PM, Daniel Henrique Barboza wrote: >> Of all the reasons that dlpar_cpu_remove() can fail, the 'last online >> CPU' is one that can be caused directly by the user offlining CPUs >> in a partition/virtual machine that has hotplugged CPUs. Tr

Re: [PATCH 1/1] hotplug-cpu.c: show 'last online CPU' error in dlpar_cpu_remove()

2021-03-18 Thread Daniel Henrique Barboza
Ping On 3/5/21 2:38 PM, Daniel Henrique Barboza wrote: Of all the reasons that dlpar_cpu_remove() can fail, the 'last online CPU' is one that can be caused directly by the user offlining CPUs in a partition/virtual machine that has hotplugged CPUs. Trying to reclaim a hotplugged CPU can fail if

[PATCH 1/1] hotplug-cpu.c: show 'last online CPU' error in dlpar_cpu_remove()

2021-03-05 Thread Daniel Henrique Barboza
Of all the reasons that dlpar_cpu_remove() can fail, the 'last online CPU' is one that can be caused directly by the user offlining CPUs in a partition/virtual machine that has hotplugged CPUs. Trying to reclaim a hotplugged CPU can fail if the CPU is now the last online in the system. This is easi