diff options
author | Joerg Roedel <jroedel@suse.de> | 2015-06-12 15:00:21 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2015-06-16 10:59:36 +0200 |
commit | af3b358e48115588d905cc07a47b3f356e0d01d1 (patch) | |
tree | 4e43bcfc0e952052a7a8ff97ade492692fce02d6 /include/linux/intel-iommu.h | |
parent | d4d1c0f3d6a9558fe3857853afdf2f93e1679c03 (diff) |
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>
Diffstat (limited to 'include/linux/intel-iommu.h')
-rw-r--r-- | include/linux/intel-iommu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/intel-iommu.h b/include/linux/intel-iommu.h index b85b81ad5eba..9e14edcf7f6e 100644 --- a/include/linux/intel-iommu.h +++ b/include/linux/intel-iommu.h @@ -296,6 +296,7 @@ struct q_inval { /* 1MB - maximum possible interrupt remapping table size */ #define INTR_REMAP_PAGE_ORDER 8 #define INTR_REMAP_TABLE_REG_SIZE 0xf +#define INTR_REMAP_TABLE_REG_SIZE_MASK 0xf #define INTR_REMAP_TABLE_ENTRIES 65536 |