PCI: Disable MSI for Freescale Layerscape PCIe RC mode
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Thu, 12 Oct 2017 09:44:47 +0000 (17:44 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 20 Oct 2017 18:25:03 +0000 (13:25 -0500)
commit06dc4ee54e306eff61cbdac3593b42b09f618103
tree9459bff1da8b281624ec0f269bd4c12174c435ec
parent0c6b93d2b3cf6eb46c3c916a44caef112db36628
PCI: Disable MSI for Freescale Layerscape PCIe RC mode

The Freescale PCIe controller advertises the MSI/MSI-X capability in both
RC and Endpoint mode, but in RC mode it doesn't support MSI/MSI-X by
itself; it can only transfer MSI/MSI-X from downstream devices.

Add a quirk to prevent use of MSI/MSI-X in RC mode.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Minghuan Lian <minghuan.Lian@nxp.com>
drivers/pci/quirks.c