Skip to content

Commit

Permalink
Revert "x86: disable IOMMUs on kernel crash"
Browse files Browse the repository at this point in the history
This effectively reverts commit 61d047b.

Disabling the IOMMU can potetially allow DMA transactions to
complete without being translated.  Leave it enabled, and allow
crash kernel to do the IOMMU reinitialization properly.

Cc: [email protected]
Cc: Joerg Roedel <[email protected]>
Cc: Eric Biederman <[email protected]>
Cc: Neil Horman <[email protected]>
Cc: Vivek Goyal <[email protected]>
Signed-off-by: Chris Wright <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
chriswright authored and Joerg Roedel committed Apr 7, 2010
1 parent 549c90d commit 8f9f55e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions arch/x86/kernel/crash.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
#include <asm/cpu.h>
#include <asm/reboot.h>
#include <asm/virtext.h>
#include <asm/x86_init.h>

#if defined(CONFIG_SMP) && defined(CONFIG_X86_LOCAL_APIC)

Expand Down Expand Up @@ -103,10 +102,5 @@ void native_machine_crash_shutdown(struct pt_regs *regs)
#ifdef CONFIG_HPET_TIMER
hpet_disable();
#endif

#ifdef CONFIG_X86_64
x86_platform.iommu_shutdown();
#endif

crash_save_cpu(regs, safe_smp_processor_id());
}

0 comments on commit 8f9f55e

Please sign in to comment.