]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
powerpc/xics: EOI xics ipi by hand in kexec
authorMilton Miller <miltonm@bga.com>
Fri, 10 Oct 2008 01:56:35 +0000 (01:56 +0000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 13 Oct 2008 05:24:18 +0000 (16:24 +1100)
commit1a57c926b6da56b4f904a0d8117ac362724f8c66
tree2143c7220c43b45de7401811edbe8c486956a276
parentb4963255ad5a426f04a0bb15c4315fa4bb40cde9
powerpc/xics: EOI xics ipi by hand in kexec

EOI normally has the side effect of returning the cpu to the base
priority to recieve the next interrupt.  This is actually controlled
by the top byte of the xirr register.   When we are exiting the
kernel in kexec we must eoi the ipi for the next kernel because we
never return from the handler, but we want to leave interrupt
delivery blocked until the next kernel takes action.

Since the hardware ipi vector is fixed, its easiest to just do the
eoi explicitly.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/pseries/xics.c