iommu/vt-d: Copy IR table from old kernel when in kdump mode
commitaf3b358e48115588d905cc07a47b3f356e0d01d1
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 13:00:21 +0000 (12 15:00 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:36 +0000 (16 10:59 +0200)
tree4e43bcfc0e952052a7a8ff97ade492692fce02d6
parentd4d1c0f3d6a9558fe3857853afdf2f93e1679c03
iommu/vt-d: Copy IR table from old kernel when in kdump mode

When we are booting into a kdump kernel and find IR enabled,
copy over the contents of the previous IR table so that
spurious interrupts will not be target aborted.

Tested-by: ZhenHua Li <zhen-hual@hp.com>
Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel_irq_remapping.c
include/linux/intel-iommu.h