iommu/amd: Add support for IOMMU XT mode
authorSuravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Wed, 27 Jun 2018 15:31:22 +0000 (10:31 -0500)
committerJoerg Roedel <jroedel@suse.de>
Fri, 6 Jul 2018 12:43:47 +0000 (14:43 +0200)
commit90fcffd9cf5e7cc593169f529799f3e3c5437e75
tree8cea3c13a5a83e5bf4667e05888ec7ac919f8556
parente881dbd5d4a6950c9e2e7623c79d9578949365c9
iommu/amd: Add support for IOMMU XT mode

The AMD IOMMU XT mode enables interrupt remapping with 32-bit destination
APIC ID, which is required for x2APIC. The feature is available when
the XTSup bit is set in the IOMMU Extended Feature register
and/or the IVHD Type 10h IOMMU Feature Reporting field.

For more information, please see section "IOMMU x2APIC Support" of
the AMD I/O Virtualization Technology (IOMMU) Specification.

Cc: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h