diff options
author | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2016-08-23 13:52:34 -0500 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-09-05 12:41:46 +0200 |
commit | 880ac60e2538337f84d9f76ab7b3c13ee7787804 (patch) | |
tree | 8785d7a8c6fde2d636b69a8f905058d7b214f8dc /drivers/iommu/fsl_pamu.h | |
parent | a38180bd366f9912a08f52dd6f9a843bf0107d5f (diff) | |
download | talos-obmc-linux-880ac60e2538337f84d9f76ab7b3c13ee7787804.tar.gz talos-obmc-linux-880ac60e2538337f84d9f76ab7b3c13ee7787804.zip |
iommu/amd: Introduce interrupt remapping ops structure
Currently, IOMMU support two interrupt remapping table entry formats,
32-bit (legacy) and 128-bit (GA). The spec also implies that it might
support additional modes/formats in the future.
So, this patch introduces the new struct amd_irte_ops, which allows
the same code to work with different irte formats by providing hooks
for various operations on an interrupt remapping table entry.
Suggested-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/fsl_pamu.h')
0 files changed, 0 insertions, 0 deletions