The PCIE interface of IMX6Q does not receive normal INTX interrupts

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

The PCIE interface of IMX6Q does not receive normal INTX interrupts

406 次查看
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 项奖励
1 回复

396 次查看
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 项奖励