]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita83b2bd89b2d4bb764cf407650a067ef2dec64ff
tree9459bff1da8b281624ec0f269bd4c12174c435ec
parentda07ec3470ee6e8c4e0ea3afe5b3e906188ac8fc
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