linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] kdump: Fix for machine checkstop on DMA fault
@ 2006-03-23  4:30 Haren Myneni
  2006-03-23  5:38 ` Olof Johansson
  0 siblings, 1 reply; 9+ messages in thread
From: Haren Myneni @ 2006-03-23  4:30 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev, ellerman, Milton Miller, Olaf Hering

[-- Attachment #1: Type: text/plain, Size: 320 bytes --]

Paul, If you are OK with this fix, please send it upstream.

Thanks
Haren

- Some machines checkstop on dma protection fault for ongoing DMA left 
in the first kernel. Since, we do not shutdown devices before the kdump 
boot, let them continue DMA to old kernel space.

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




[-- Attachment #2: kdump-dma-fault-fix.patch --]
[-- Type: text/x-patch, Size: 557 bytes --]

--- 2616-git5-k1/arch/powerpc/kernel/iommu.c.orig	2006-04-04 19:08:02.000000000 -0700
+++ 2616-git5-k1/arch/powerpc/kernel/iommu.c	2006-04-04 10:50:45.000000000 -0700
@@ -427,8 +427,10 @@ struct iommu_table *iommu_init_table(str
 	tbl->it_largehint = tbl->it_halfpoint;
 	spin_lock_init(&tbl->it_lock);
 
+#ifndef CONFIG_CRASH_DUMP
 	/* Clear the hardware table in case firmware left allocations in it */
 	ppc_md.tce_free(tbl, tbl->it_offset, tbl->it_size);
+#endif
 
 	if (!welcomed) {
 		printk(KERN_INFO "IOMMU table initialized, virtual merging %s\n",

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2006-03-27 14:08 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-23  4:30 [PATCH] kdump: Fix for machine checkstop on DMA fault Haren Myneni
2006-03-23  5:38 ` Olof Johansson
2006-03-23  6:06   ` Michael Ellerman
2006-03-23  6:19     ` Olof Johansson
2006-03-23 20:12       ` Olof Johansson
2006-03-23 23:06         ` Haren Myneni
2006-03-23 23:11           ` Olof Johansson
2006-03-27  5:04         ` Michael Ellerman
2006-03-27 14:06           ` Olof Johansson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).