]> git.baikalelectronics.ru Git - kernel.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)
commit361239143ea7a8fb053da9278fac4a0e7887906d
tree2143c7220c43b45de7401811edbe8c486956a276
parent22a9bab19ea04676e99571ba8d176083e8fa87ce
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