[Patch] IA64 Kdump don't clear vector in kexec_disable_iosapic

From: Zou Nan hai <nanhai.zou_at_intel.com>
Date: 2006-10-25 14:40:25
Hi Tony,
	This patch is from Naoaki-san.
	Mask IOSAPIC will make the following EOI write to IOSAPIC fail because
IOSAPIC will not be able to find RTE entry.
        However move EOI write before IOSAPIC mask will leave a small
racy windows between them for interrupts. So mask IOSAPIC but leave the
vector field.

	The patch is against your test tree.

Signed-off-by: Zou Nan hai <nanhai.zou@intel.com>
--- linux-2.6/arch/ia64/kernel/iosapic.c	2006-10-25 14:37:30.000000000 +0800
+++ b/arch/ia64/kernel/iosapic.c	2006-10-25 14:41:34.000000000 +0800
@@ -303,7 +303,7 @@ kexec_disable_iosapic(void)
 				rte_list) {
+					IOSAPIC_MASK|vec);
 			iosapic_eoi(rte->addr, vec);

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Oct 25 16:30:38 2006

This archive was generated by hypermail 2.1.8 : 2006-10-25 16:30:52 EST