diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2016-08-23 13:52:35 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-09-05 12:41:46 +0200 |
commit | 77bdab46f04ffd93140c574f4fbd48ab521fdbe0 (patch) | |
tree | 3a863d24c75022cd78480a578d3d00991b8ca4d7 /drivers/iommu/amd_iommu_types.h | |
parent | iommu/amd: Introduce interrupt remapping ops structure (diff) | |
download | wireguard-linux-77bdab46f04ffd93140c574f4fbd48ab521fdbe0.tar.xz wireguard-linux-77bdab46f04ffd93140c574f4fbd48ab521fdbe0.zip |
iommu/amd: Add support for multiple IRTE formats
This patch enables support for the new 128-bit IOMMU IRTE format,
which can be used for both legacy and vapic interrupt remapping modes.
It replaces the existing operations on IRTE, which can only support
the older 32-bit IRTE format, with calls to the new struct amd_irt_ops.
It also provides helper functions for setting up, accessing, and
updating interrupt remapping table entries in different mode.
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/amd_iommu_types.h')
-rw-r--r-- | drivers/iommu/amd_iommu_types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu_types.h b/drivers/iommu/amd_iommu_types.h index 6b93ebcbc181..77a8fb6b45a4 100644 --- a/drivers/iommu/amd_iommu_types.h +++ b/drivers/iommu/amd_iommu_types.h @@ -780,7 +780,6 @@ struct irq_2_irte { struct amd_ir_data { struct irq_2_irte irq_2_irte; - union irte irte_entry; struct msi_msg msi_entry; void *entry; /* Pointer to union irte or struct irte_ga */ }; |