]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/iommu/amd_iommu.c
iommu/amd: Fix interrupt remapping for aliased devices
authorAlex Williamson <alex.williamson@redhat.com>
Tue, 22 Apr 2014 16:08:40 +0000 (10:08 -0600)
committerJoerg Roedel <joro@8bytes.org>
Tue, 13 May 2014 10:33:11 +0000 (12:33 +0200)
commite028a9e6b8a637af09ac4114083280df4a7045f1
tree408a315bfb5d3e2b227363c2c6acc44a8027355d
parentd6d211db37e75de2ddc3a4f979038c40df7cc79c
iommu/amd: Fix interrupt remapping for aliased devices

An apparent cut and paste error prevents the correct flags from being
set on the alias device resulting in MSI on conventional PCI devices
failing to work.  This also produces error events from the IOMMU like:

AMD-Vi: Event logged [INVALID_DEVICE_REQUEST device=00:14.4 address=0x000000fdf8000000 flags=0x0a00]

Where 14.4 is a PCIe-to-PCI bridge with a device behind it trying to
use MSI interrupts.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Joerg Roedel <joro@8bytes.org>
drivers/iommu/amd_iommu.c