summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRichard Zhu <hongxing.zhu@nxp.com>2018-12-21 04:33:38 +0000
committerBjorn Helgaas <bhelgaas@google.com>2019-01-01 19:16:48 -0600
commit75cb8d20c112aba70f23d98e3f8d0a38ace16006 (patch)
treea1a44c1cce124a214520432dcd18995e0e1e61fb /firmware
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
downloadlinux-75cb8d20c112aba70f23d98e3f8d0a38ace16006.tar.bz2
PCI: imx: Enable MSI from downstream components
The MSI Enable bit in the MSI Capability (PCIe r4.0, sec 7.7.1.2) controls whether a Function can request service using MSI. i.MX6 Root Ports implement the MSI Capability and may use MSI to request service for events like PME, hotplug, AER, etc. In addition, on i.MX6, the MSI Enable bit controls delivery of MSI interrupts from components below the Root Port. Prior to f3fdfc4ac3a2 ("PCI: Remove host driver Kconfig selection of CONFIG_PCIEPORTBUS"), enabling CONFIG_PCI_IMX6 automatically also enabled CONFIG_PCIEPORTBUS, and when portdrv claimed the Root Ports, it set the MSI Enable bit so it could use PME, hotplug, AER, etc. As a side effect, that also enabled delivery of MSI interrupts from downstream components. The imx6q-pcie driver itself does not depend on portdrv, so set MSI Enable in imx6q-pcie so MSI from downstream components works even if nobody uses MSI for the Root Port events. Fixes: f3fdfc4ac3a2 ("PCI: Remove host driver Kconfig selection of CONFIG_PCIEPORTBUS") Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Tested-by: Sven Van Asbroeck <TheSven73@googlemail.com> Tested-by: Trent Piepho <tpiepho@impinj.com> Reviewed-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions