login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
3
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Eric W. Biederman
Subject:
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
Date: Saturday, April 3, 2010 - 10:49 am
Joerg Roedel <joro@8bytes.org> writes:
quoted text
> On Fri, Apr 02, 2010 at 06:27:54PM -0700, Chris Wright wrote: >> 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: 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> >> --- >> arch/x86/kernel/crash.c | 6 ------ >> 1 file changed, 6 deletions(-) >> >> --- 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(struc >> #ifdef CONFIG_HPET_TIMER >> hpet_disable(); >> #endif >> - >> -#ifdef CONFIG_X86_64 >> - x86_platform.iommu_shutdown(); >> -#endif >> - >> crash_save_cpu(regs, safe_smp_processor_id()); > > Another problem: This also breaks if the kdump kernel has no > iommu-support.
Not a problem. We require a lot of things of the kdump kernel, and it is immediately apparent in a basic sanity test. Eric --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/4] AMD IOMMU kdump fix plus cleanups (v2)
, Chris Wright
, (Fri Apr 2, 6:27 pm)
[PATCH 1/4] x86/amd-iommu: enable iommu before attaching d ...
, Chris Wright
, (Fri Apr 2, 6:27 pm)
[PATCH 2/4] x86/amd-iommu: warn when issuing command to un ...
, Chris Wright
, (Fri Apr 2, 6:27 pm)
[PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Chris Wright
, (Fri Apr 2, 6:27 pm)
[PATCH 4/4] x86/amd-iommu: use for_each_pci_dev
, Chris Wright
, (Fri Apr 2, 6:27 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Joerg Roedel
, (Sat Apr 3, 10:22 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Joerg Roedel
, (Sat Apr 3, 10:41 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sat Apr 3, 10:44 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sat Apr 3, 10:49 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Joerg Roedel
, (Sat Apr 3, 12:13 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sat Apr 3, 12:41 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Bernhard Walle
, (Sun Apr 4, 12:24 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sun Apr 4, 12:51 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Joerg Roedel
, (Sun Apr 4, 1:44 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Joerg Roedel
, (Sun Apr 4, 1:53 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sun Apr 4, 2:16 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sun Apr 4, 2:19 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Sun Apr 4, 2:44 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Joerg Roedel
, (Sun Apr 4, 3:01 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, David Woodhouse
, (Sun Apr 4, 4:54 am)
[No subject]
, Chris Wright
, (Tue Apr 6, 10:42 am)
[No subject]
, Joerg Roedel
, (Tue Apr 6, 10:51 am)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Vivek Goyal
, (Tue Apr 6, 1:39 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Vivek Goyal
, (Tue Apr 6, 2:13 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Yinghai Lu
, (Tue Apr 6, 2:45 pm)
Re: [PATCH 3/4] Revert "x86: disable IOMMUs on kernel crash"
, Eric W. Biederman
, (Tue Apr 6, 3:10 pm)
Re: [PATCH 0/4] AMD IOMMU kdump fix plus cleanups (v2)
, Joerg Roedel
, (Wed Apr 7, 3:05 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset