On Thu, Aug 29, 2024 at 3:00 PM Bjorn Helgaas <helgaas@xxxxxxxxxx> wrote: > > On Thu, Aug 29, 2024 at 05:43:42PM -0400, Frank Li wrote: > > On Thu, Aug 29, 2024 at 04:22:35PM -0500, Bjorn Helgaas wrote: > > > On Wed, Aug 28, 2024 at 02:40:33PM -0700, Tim Harvey wrote: > > > > Greetings, > > > > > > > > I have a user that is using an IMX8MM SoC (dwc controller) with a > > > > miniPCIe card that has a PEX8112 PCI-to-PCIe bridge to a legacy PCI > > > > device and the device is not getting a valid interrupt. > > > > > > Does pci-imx6.c support INTx at all? > > > > Yes, dwc controller map INTx message to 4 irq lines, which connect to GIC. > > we tested it by add nomsi in kernel command line. > > Thanks, Frank. Can you point me to the dwc code where this happens? > Maybe I can remember this for next time or add a comment to help > people find it. > > Bjorn Bjorn and Frank, I provided some misinformation regarding IMX6 - my original testing was flawed. When testing the IMX6DL linked to a XIO2001 with a legacy PCI device behind it the device driver is given an appropriate legacy IRQ. Regarding IMX8MM linked to a PEX8112 bridge with a legacy PCI device behind it; the user gets a -28 (ENOSPC) when requesting an IRQ from the driver but I don't have the hardware or the driver for that in hand so I need to wait for more details. I don't see any reason why this case would not work as it works on an IMX6DL. Best Regards, Tim