[PATCH] powerpc: EOI and clear IPI fix in xics_teardown_cpu()

Haren Myneni haren at us.ibm.com
Sun Jul 9 11:28:48 EST 2006


If OK, please sent this patch to upstream.

Thanks
Haren

When invoked kdump boot, plpar_eoi() call is getting failed and calling 
panic().
Kernel panic - not syncing: bad return code EOI - rc = -4, value=ff000000

The issue is with the desc->chip->eoi(XICS_IPI) in xics_teardown_cpu(). 
Instead of passing the virq to desc->chip->eoi(), XICS_IPI is used. 
Also, clear IPI in xics_teardown_cpu() got removed recently (in 
2.6.17-git25).  Noticed in some crash dump cases (Ex: initiate kdump 
boot using soft-reset and xmon is enabled), IPI is not cleared for some 
CPU(s) before starting the kdump boot. Hence, causing the kdump boot 
failure.

Signed-off-by: Haren Myneni <haren at us.ibm.com>


 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ppc64-kdump-fix-eoi-IPI.patch
Type: text/x-patch
Size: 802 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060708/567a16bb/attachment.bin>


More information about the Linuxppc-dev mailing list