Hi,
I am using I.MX8QM board and configuring PCIe as RC and sending data to my custom EP through PCIe DMA.
Now I am trying with interrupts but PCIE0_DMA_INT is not generating.
In my dts file I am configuring "GIC_SPI 70" for MSI, "GIC_SPI 72" for dma.
In my software while i am reading with "of_irq_get(node, 1)" it returns 132, "of_irq_get(node, 1)" it returns 131, but as per my understanding it should be "72 + 32 = 104".
But in /proc/interrupt, 72 location showing as edma0-chan5-rx.
How can I enable PCIE0_DMA_INT, please help us to resolve this Issue.
Thanks & Regards,
Mallikarjuna
In my software while i am reading with "of_irq_get(node, 1)" it returns 132, "of_irq_get(node, 1)" it returns 131, but as per my understanding it should be "72 + 32 = 104".
--> In Linux kernel, code is using virtual irq number virq, below code will map hwirq(104) to virq.
gic_irq_domain_map(domain, virq + i, hwirq + i);
So if you have defined correct irq number in dts, believe it.
hi Zhiming_Liu,
In /proc/interrupt, irq number is virtual irq or hardware irq.
In dummy request_irq, when ever I am providing irq number it is reflecting at /proc/interrupt with same irq number
Thanks,
Mallikarjuna
In dummy request_irq, when ever I am providing irq number it is reflecting at /proc/interrupt with same irq number
-->Virtual irq number.