iommu/amd: Enable PCI/IMS
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:26:36 +0000 (00:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 21:22:35 +0000 (22:22 +0100)
commitfa5745aca1dc819aee6463a2475b5c277f7cf8f6
treef41370fcf8fde8dc2b8f270102e2b78d6733ae7b
parent810531a1af5393f010d6508b1cb48e6650fc5e8f
iommu/amd: Enable PCI/IMS

PCI/IMS works like PCI/MSI-X in the remapping. Just add the feature flag,
but only when on real hardware.

Virtualized IOMMUs need additional support.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221124232327.140571546@linutronix.de
drivers/iommu/amd/iommu.c