iommu/amd: Add support for X2APIC IOMMU interrupts
authorSuthikulpanit, Suravee <Suravee.Suthikulpanit@amd.com>
Tue, 16 Jul 2019 04:29:16 +0000 (04:29 +0000)
committerJoerg Roedel <jroedel@suse.de>
Tue, 23 Jul 2019 15:41:52 +0000 (17:41 +0200)
commit66929812955bbec808c94d7a3916f41638a98a0a
tree6e585faa748bf1f5410ee5f605585ee2c961ab5e
parent201c1db90cd643282185a00770f12f95da330eca
iommu/amd: Add support for X2APIC IOMMU interrupts

AMD IOMMU requires IntCapXT registers to be setup in order to generate
its own interrupts (for Event Log, PPR Log, and GA Log) with 32-bit
APIC destination ID. Without this support, AMD IOMMU MSI interrupts
will not be routed correctly when booting the system in X2APIC mode.

Cc: Joerg Roedel <joro@8bytes.org>
Fixes: 90fcffd9cf5e ('iommu/amd: Add support for IOMMU XT mode')
Signed-off-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu_init.c
drivers/iommu/amd_iommu_types.h