Re: [PATCH 0/2] powerpc/xive: fix CPU hot unplug
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2017-10-03 08:23:06
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2017-10-03 08:23:06
On Tue, 2017-10-03 at 17:58 +1100, David Gibson wrote:
Ok.. why do you think this isn't of use? I'm pretty sure this is necessary for the TCG case, since MSR is checked in cpu_has_work(), which could otherwise wake up the "dead" cpu.
Ony if it's not in a PM state, in that case we check the corresponding LPCR:PECE* bit. At least on P7 and later. Cheers, Ben.