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/include/xen/iommu.h | |
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/include/xen/iommu.h')
-rw-r--r-- | xen/include/xen/iommu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/include/xen/iommu.h b/xen/include/xen/iommu.h index 2dee3f2982..31476c20c1 100644 --- a/xen/include/xen/iommu.h +++ b/xen/include/xen/iommu.h @@ -133,6 +133,7 @@ struct iommu_ops { void (*suspend)(void); void (*resume)(void); void (*share_p2m)(struct domain *d); + void (*crash_shutdown)(void); }; void iommu_update_ire_from_apic(unsigned int apic, unsigned int reg, unsigned int value); @@ -142,6 +143,7 @@ unsigned int iommu_read_apic_from_ire(unsigned int apic, unsigned int reg); void iommu_suspend(void); void iommu_resume(void); +void iommu_crash_shutdown(void); void iommu_set_dom0_mapping(struct domain *d); void iommu_share_p2m_table(struct domain *d); |