diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2018-04-11 08:17:59 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2018-04-18 17:49:45 +0300 |
commit | b32e56e5a87a1f9243db92bc7a5df0ffb4627cfb (patch) | |
tree | 74f389ca722eb54ae5b756ff01e0b2688b41bd69 /arch/powerpc/sysdev/fsl_rcpm.c | |
parent | 9dfbf78e4114fcaf4ef61c49885c3ab5bad40d0b (diff) | |
download | linux-b32e56e5a87a1f9243db92bc7a5df0ffb4627cfb.tar.xz |
powerpc/xive: Fix trying to "push" an already active pool VP
When setting up a CPU, we "push" (activate) a pool VP for it.
However it's an error to do so if it already has an active
pool VP.
This happens when doing soft CPU hotplug on powernv since we
don't tear down the CPU on unplug. The HW flags the error which
gets captured by the diagnostics.
Fix this by making sure to "pull" out any already active pool
first.
Fixes: 243e25112d06 ("powerpc/xive: Native exploitation of the XIVE interrupt controller")
Cc: stable@vger.kernel.org # v4.12+
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/sysdev/fsl_rcpm.c')
0 files changed, 0 insertions, 0 deletions