mbox series

[v2,0/1] show 'last online CPU' error in dlpar_cpu_offline()

Message ID 20210323205056.52768-1-danielhb413@gmail.com (mailing list archive)
Headers show
Series show 'last online CPU' error in dlpar_cpu_offline() | expand

Message

Daniel Henrique Barboza March 23, 2021, 8:50 p.m. UTC
changes in v2 after Michael Ellerman review:
- moved the verification code from dlpar_cpu_remove() to
  dlpar_cpu_offline(), while holding cpu_add_remove_lock
- reworded the commit message and code comment
v1 link: 
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210305173845.451158-1-danielhb413@gmail.com/

Daniel Henrique Barboza (1):
  hotplug-cpu.c: show 'last online CPU' error in dlpar_cpu_offline()

 arch/powerpc/platforms/pseries/hotplug-cpu.c | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Michael Ellerman March 31, 2021, 1:09 a.m. UTC | #1
On Tue, 23 Mar 2021 17:50:55 -0300, Daniel Henrique Barboza wrote:
> changes in v2 after Michael Ellerman review:
> - moved the verification code from dlpar_cpu_remove() to
>   dlpar_cpu_offline(), while holding cpu_add_remove_lock
> - reworded the commit message and code comment
> v1 link:
> https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20210305173845.451158-1-danielhb413@gmail.com/
> 
> [...]

Applied to powerpc/next.

[1/1] hotplug-cpu.c: show 'last online CPU' error in dlpar_cpu_offline()
      https://git.kernel.org/powerpc/c/d19b3ad02c2d1a9a697b7059e32fa2d97a420b15

cheers