]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: designware: Reject MSI-X IRQs
authorLucas Stach <l.stach@pengutronix.de>
Tue, 27 Jan 2015 16:24:53 +0000 (10:24 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 27 Jan 2015 16:24:53 +0000 (10:24 -0600)
commitc2897f1fd4ed2205fc9c1c19dca5031106906248
treeb20f30a281759a19a999ee850e90e260be954c7d
parent86dc6d30d722e667ba6e1d40528aa694defbba53
PCI: designware: Reject MSI-X IRQs

The DesignWare PCIe MSI hardware does not support MSI-X IRQs.  Setting
those up failed as a side effect of a bug which was fixed by c5142198580f
("PCI: designware: Setup and clear exactly one MSI at a time").

Now that this bug is fixed, MSI-X IRQs need to be rejected explicitly;
otherwise devices trying to use them may end up with incorrectly working
interrupts.

Fixes: c5142198580f ("PCI: designware: Setup and clear exactly one MSI at a time")
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Jingoo Han <jg1.han@samsung.com>
CC: stable@vger.kernel.org # v3.18+
drivers/pci/host/pcie-designware.c