]> asedeno.scripts.mit.edu Git - linux.git/commit
iommu/vt-d: Allow interrupts from the entire bus for aliased devices
authorLogan Gunthorpe <logang@deltatee.com>
Wed, 13 Feb 2019 17:54:46 +0000 (10:54 -0700)
committerJoerg Roedel <jroedel@suse.de>
Tue, 26 Feb 2019 09:34:03 +0000 (10:34 +0100)
commit3f0c625c6ae714cf4dbab534b4c399f1d720e5db
treebee418b3b341a6fae11154766af35e56f08042c9
parent9ca8261173fc06ba1bd3c52e83eae0a0b7146b3b
iommu/vt-d: Allow interrupts from the entire bus for aliased devices

When a device has multiple aliases that all are from the same bus,
we program the IRTE to accept requests from any matching device on the
bus.

This is so NTB devices which can have requests from multiple bus-devfns
can pass MSI interrupts through across the bridge.

Signed-off-by: Logan Gunthorpe <logang@deltatee.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel_irq_remapping.c