kernel_optimize_test/arch/powerpc/sysdev
Benjamin Herrenschmidt b32e56e5a8 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: 243e25112d ("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>
2018-04-19 00:49:45 +10:00
..
ge
xics powerpc/64: Use array of paca pointers and allocate pacas individually 2018-03-30 23:34:23 +11:00
xive powerpc/xive: Fix trying to "push" an already active pool VP 2018-04-19 00:49:45 +10:00
6xx-suspend.S
cpm_common.c
cpm_gpio.c
cpm1.c
cpm2_pic.c
cpm2_pic.h
cpm2.c
dart_iommu.c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
dart.h
dcr-low.S
dcr.c
ehv_pic.c
fsl_85xx_cache_ctlr.h
fsl_85xx_cache_sram.c
fsl_85xx_l2ctlr.c
fsl_gtm.c
fsl_lbc.c
fsl_mpic_err.c
fsl_mpic_timer_wakeup.c
fsl_msi.c
fsl_msi.h
fsl_pci.c
fsl_pci.h
fsl_pmc.c
fsl_rcpm.c
fsl_rio.c
fsl_rio.h
fsl_rmu.c
fsl_soc.c
fsl_soc.h
grackle.c
i8259.c
indirect_pci.c
ipic.c
ipic.h
Kconfig
Makefile
micropatch.c
mmio_nvram.c
mpc5xxx_clocks.c
mpic_msgr.c
mpic_msi.c
mpic_timer.c
mpic_u3msi.c
mpic.c powerpc/mpic: Check if cpu_possible() in mpic_physmask() 2018-03-30 23:34:22 +11:00
mpic.h
msi_bitmap.c headers: untangle kmemleak.h from mm.h 2018-04-05 21:36:27 -07:00
mv64x60_dev.c
mv64x60_pci.c pci-v4.16-changes 2018-02-06 09:59:40 -08:00
mv64x60_pic.c
mv64x60_udbg.c
mv64x60.h
of_rtc.c
pmi.c
rtc_cmos_setup.c
scom.c
simple_gpio.c
simple_gpio.h
tsi108_dev.c
tsi108_pci.c
udbg_memcons.c
xilinx_intc.c
xilinx_pci.c