]> git.baikalelectronics.ru Git - kernel.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)
commit918448c39f98bb746aae18bf152844ab957b534e
treebee418b3b341a6fae11154766af35e56f08042c9
parent0868a2d83cb963f243ce757429ef94a44ddf28cb
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