lkml.org 
[lkml]   [2010]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 08/12] Revert "x86: disable IOMMUs on kernel crash"
    Date
    From: Chris Wright <chrisw@sous-sol.org>

    This effectively reverts commit 61d047be99757fd9b0af900d7abce9a13a337488.

    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: stable@kernel.org
    Cc: Joerg Roedel <joerg.roedel@amd.com>
    Cc: Eric Biederman <ebiederm@xmission.com>
    Cc: Neil Horman <nhorman@tuxdriver.com>
    Cc: Vivek Goyal <vgoyal@redhat.com>
    Signed-off-by: Chris Wright <chrisw@sous-sol.org>
    Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
    ---
    arch/x86/kernel/crash.c | 6 ------
    1 files changed, 0 insertions(+), 6 deletions(-)

    diff --git a/arch/x86/kernel/crash.c b/arch/x86/kernel/crash.c
    index a4849c1..ebd4c51 100644
    --- a/arch/x86/kernel/crash.c
    +++ b/arch/x86/kernel/crash.c
    @@ -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)

    @@ -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());
    }
    --
    1.7.0.4



    \
     
     \ /
      Last update: 2010-04-07 14:53    [W:0.030 / U:0.096 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site