Hello everybody,
we are developing a product using i.MX6Q, and we need to use the MSI PCI capability. We have a custom driver which uses PCI to communicate with our device. We successfully register the IRQ in the system as a PCIe-MSI IRQ (nr. 497), and it seems that no errors or warnings are issued. The problem is that no interrupts are received by the driver, nor by the system (looking in /proc/interrupts and debugging the kernel). We have used the same driver on a different board using PCIe-MSI irq, and there were no problems.
Anyone have tested or used the MSI irq on the i.MX6?
(We're using Linux 3.0.35 kernel and Seco Q7 Board).
Thank you.
Cheers.
Solved! Go to Solution.
Hi guys,
sorry but I've haven't checked the forum for a while.
We finally solved the problem which was due to a missing call to pci_set_master() function in the custom driver. Now everything works fine.
Thank you.
Lorenzo
Hi guys,
sorry but I've haven't checked the forum for a while.
We finally solved the problem which was due to a missing call to pci_set_master() function in the custom driver. Now everything works fine.
Thank you.
Lorenzo
It's great. :smileyhappy:
Sent from Huawei Mobile
Lorenzo Nava <admin@community.freescale.com>编写:
<https://community.freescale.com/>
i.MX6 MSI Interrupt
reply from Lorenzo Nava<https://community.freescale.com/people/lorenx4?et=watches.email.thread> in i.MX Community - View the full discussion<https://community.freescale.com/message/367940?et=watches.email.thread#367940>
Lorenzo, please click Correct Answer/Helpful Answer, if your question got answered.
Thanks,
Yixing
Hi:
The i.MX6 PCIe MSI had been verified by the following in the imx_3.0.35 4.0 and 4.1 releases.
* intel e1000e 1000M network cards.
* PCIe to USB3.0 card.
* intel iwl4965, 5100, 620, and 630 wifi cards.
BTW, what's kind of release used by customer? Did you ever tested customer's PCIe EP device on FSL's reference board?
Best Regard
Richard