AnsweredAssumed Answered

Freescale P2020 CPU stuck when PCIe MSI enabled

Question asked by Jung-Nan Hung on Jul 17, 2015
Latest reply on Jul 28, 2015 by Jung-Nan Hung

The P2020 CPU is running in SMP mode based on Linux 2.6.35  Kernel. The PCIe is  configured   x2 , 256 bytes payload  and relaxing ordering for our PCIe deice. It is good when MSI is disabled. But CPU will stuck after running  for a while if MSI is enabled. It is like a spin_lock  in the "fsl_msi_cascade " function according to debug info. Below Linux  configuration is enabled.

CONFIG_IRQ_PER_CPU=y

CONFIG_IRQ_ALL_CPUS=y

CONFIG_PCI_MSI=y

Outcomes