powerpc/xics: Reset the CPPR if H_EOI fails
authorAnton Blanchard <anton@samba.org>
Wed, 30 Nov 2011 00:23:15 +0000 (00:23 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 8 Dec 2011 03:02:23 +0000 (14:02 +1100)
commit90e8f57cf873188bc5cff445059ddeb72dc51d8c
tree8c7ec8045bbb3549f35fcaf608c8542a7d7f2d2a
parenta934904d8ac2411ca329fc50daa29ab35a8f198b
powerpc/xics: Reset the CPPR if H_EOI fails

I have an intermittent kdump fail where the hypervisor fails an H_EOI.
As a result our CPPR is never reset to 0xff and we no longer accept
interrupts.

This patch calls icp_hv_set_cppr to reset the CPPR if H_EOI fails,
fixing the kdump fail.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/sysdev/xics/icp-hv.c