diff options
author | Andrew Cooper <andrew.cooper3@citrix.com> | 2011-06-15 16:10:11 +0100 |
---|---|---|
committer | Andrew Cooper <andrew.cooper3@citrix.com> | 2011-06-15 16:10:11 +0100 |
commit | f6239c2a1e56e2795effe44fcf88467c501ca9d0 (patch) | |
tree | a740a7aa01757cc03296f0f98ba83c9547be093d /xen/arch/x86/crash.c | |
parent | 46f391252bc3d6b7ff65f60fea631bf018226c91 (diff) | |
download | xen-f6239c2a1e56e2795effe44fcf88467c501ca9d0.tar.gz xen-f6239c2a1e56e2795effe44fcf88467c501ca9d0.tar.bz2 xen-f6239c2a1e56e2795effe44fcf88467c501ca9d0.zip |
IOMMU: add crash_shutdown iommu_op
The kdump kernel has problems booting with interrupt/dma
remapping enabled, so we need a new iommu_ops called
crash_shutdown which is basically suspend but doesn't
need to bother saving state.
Make sure that crash_shutdown is called on the kexec
path.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Diffstat (limited to 'xen/arch/x86/crash.c')
-rw-r--r-- | xen/arch/x86/crash.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xen/arch/x86/crash.c b/xen/arch/x86/crash.c index 1fa7ef7db6..19508550df 100644 --- a/xen/arch/x86/crash.c +++ b/xen/arch/x86/crash.c @@ -77,6 +77,10 @@ static void nmi_shootdown_cpus(void) msecs--; } + /* Crash shutdown any IOMMU functionality as the crashdump kernel is not + * happy when booting if interrupt/dma remapping is still enabled */ + iommu_crash_shutdown(); + __stop_this_cpu(); disable_IO_APIC(); } |