i.MX6 MSI Interrupt

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,508件の閲覧回数
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 解決策
1,183件の閲覧回数
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 返答(返信)
1,184件の閲覧回数
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 件の賞賛
1,183件の閲覧回数
richard_zhu
NXP Employee
NXP Employee

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>

0 件の賞賛
1,183件の閲覧回数
YixingKong
Senior Contributor IV

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

Thanks,

Yixing

0 件の賞賛
1,183件の閲覧回数
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 件の賞賛