The PCIE interface of IMX6Q does not receive normal INTX interrupts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

The PCIE interface of IMX6Q does not receive normal INTX interrupts

405 Views
lishun
Contributor I

Hello everyone!

       I used the PCIE interface connection of IMX6Q to drive a network card (RTL8168). When I used MSI interrupt, the network card could work normally. However, when I used ordinary INTX interrupt instead of MSI, I found that the interrupt could not be received.I feel like I didn't register the correct interrupt number.In the program I register for interrupts like this:

int probe(struct pci_dev *dev, const struct pci_device_id *id)
{

irq_line = dev->irq;
rc = request_irq(irq_line, dma_write_isr, IRQF_SHARED, "dma_write_isr", (void *)ape);
}

     How do I register for the correct interrupt.Hope to get your help.

0 Kudos
1 Reply

395 Views
igorpadykov
NXP Employee
NXP Employee

Hi lishun

 

one can try solution below

https://community.nxp.com/t5/i-MX-Processors/i-MX6-7-Pcie-legacy-interrupt/m-p/730464

 

Best regards
igor

0 Kudos