Thread (5 messages) 5 messages, 3 authors, 2018-08-05

Re: [PATCH 2/2] powerpc/cpu: post the event cpux add/remove instead of online/offline during hotplug

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2018-08-04 02:48:46
Also in: linux-pm

Hi Pingfan,

Pingfan Liu [off-list ref] writes:
Technically speaking, echo 1/0 > cpuX/online is only a subset of cpu
hotplug/unplug, i.e. add/remove. The latter one includes the physical
adding/removing of a cpu device. Some user space tools such as kexec-tools
resort to the event add/remove to automatically rebuild dtb.
If the dtb is not rebuilt correctly, we may hang on 2nd kernel due to
lack the info of boot-cpu-hwid in dtb.
I notice you also sent a patch for ppc64_cpu to deal with CPUs being
removed rather than just offlined.

If I apply this patch then existing ppc64_cpu (without your other patch)
will break. Is that right?

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help