i.MX6 MSI Interrupt

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

i.MX6 MSI Interrupt

跳至解决方案
4,360 次查看
lorenx4
Contributor I

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.

0 项奖励
回复
1 解答
3,035 次查看
lorenx4
Contributor I

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
3,036 次查看
lorenx4
Contributor I

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

0 项奖励
回复
3,035 次查看
richard_zhu
NXP Employee
NXP Employee

It's great. :smileyhappy:

Sent from Huawei Mobile

Lorenzo Nava <[email protected]>编写:

<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>

0 项奖励
回复
3,035 次查看
YixingKong
Senior Contributor IV

Lorenzo, please click Correct Answer/Helpful Answer, if your question got answered.

Thanks,

Yixing

0 项奖励
回复
3,035 次查看
richard_zhu
NXP Employee
NXP Employee

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

0 项奖励
回复