[PATCH 2/2] powerpc/xive: fix cpu removal

2017-09-23 Thread Cédric Le Goater
When a CPU is hot unplugged, the IPI interrupt source should be deconfigured and the event queue cleared. Signed-off-by: Cédric Le Goater --- arch/powerpc/sysdev/xive/common.c | 8 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/sysdev/xive/common.c b/arch/powerpc/sysdev/xiv

[PATCH 0/2] powerpc/xive: fix CPU hot unplug

2017-09-23 Thread Cédric Le Goater
Hi, Here are a couple of small fixes to support CPU hot unplug. There are still some issues to be investigated as, in some occasions, after a couple of plug and unplug, the cpu which was removed receives a 'lost' interrupt. This showed to be the decrementer under QEMU. Nevertheless, these patches

[PATCH 1/2] powerpc/xive: fix IPI reset

2017-09-23 Thread Cédric Le Goater
When resetting an IPI, hw_ipi should also be set to zero. Signed-off-by: Cédric Le Goater --- arch/powerpc/sysdev/xive/spapr.c | 4 1 file changed, 4 insertions(+) diff --git a/arch/powerpc/sysdev/xive/spapr.c b/arch/powerpc/sysdev/xive/spapr.c index f24a70bc6855..d9c4c9366049 100644 --- a