iommu/vt-d: Enable PCI/IMS
authorThomas Gleixner <tglx@linutronix.de>
Thu, 24 Nov 2022 23:26:34 +0000 (00:26 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 5 Dec 2022 21:22:35 +0000 (22:22 +0100)
commit810531a1af5393f010d6508b1cb48e6650fc5e8f
treebb90e248d91e5261090e960f83fd2cb02cbfebe2
parent6e24c887732901140f4e82ba2315c2e15f06f1d6
iommu/vt-d: 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, e.g. for PASID.

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.081482253@linutronix.de
drivers/iommu/intel/irq_remapping.c