IMX6DL : Kernel hangs when configuring CONFIG_PCI_MSI

cancel
Showing results for 
Search instead for 
Did you mean: 

IMX6DL : Kernel hangs when configuring CONFIG_PCI_MSI

191 Views
Contributor I

HI ,

I am working on a custom board with IMX6Duallite , in which the PCIE is connected to the i210 ethernet controller.

When I have the CONFIG_PCI_MSI=y, the Linux kernel hangs

Kernel used  4.9.123

Kernel config :

#
# Bus support
#
CONFIG_PCI=y
CONFIG_PCI_DOMAINS=y
CONFIG_PCI_DOMAINS_GENERIC=y
CONFIG_PCI_SYSCALL=y
CONFIG_PCIEPORTBUS=y
CONFIG_PCIEAER=y
# CONFIG_PCIE_ECRC is not set
# CONFIG_PCIEAER_INJECT is not set
CONFIG_PCIEASPM=y
# CONFIG_PCIEASPM_DEBUG is not set
# CONFIG_PCIEASPM_DEFAULT is not set
# CONFIG_PCIEASPM_POWERSAVE is not set
CONFIG_PCIEASPM_PERFORMANCE=y
CONFIG_PCIE_PME=y
# CONFIG_PCIE_DPC is not set
# CONFIG_PCIE_PTM is not set
CONFIG_PCI_MSI=y
CONFIG_PCI_MSI_IRQ_DOMAIN=y
# CONFIG_PCI_DEBUG is not set
# CONFIG_PCI_REALLOC_ENABLE_AUTO is not set
# CONFIG_PCI_STUB is not set
# CONFIG_PCI_IOV is not set
# CONFIG_PCI_PRI is not set
# CONFIG_PCI_PASID is not set
# CONFIG_HOTPLUG_PCI is not set

#
# PCI host controller drivers
#
# CONFIG_PCIE_DW_PLAT is not set
CONFIG_PCIE_DW=y
CONFIG_PCI_IMX6=y
# CONFIG_PCI_HOST_GENERIC is not set
# CONFIG_PCI_LAYERSCAPE is not set
# CONFIG_PCIE_ALTERA is not set
# CONFIG_PCCARD is not set

Device tree :

&pcie {
 pinctrl-names = "default";
 pinctrl-0 = <&pinctrl_pcie>;
 reset-gpio = <&gpio1 0 0>;
 status = "okay";
};

NOTE : the above same configuration works on a different version of the board with IMX6Q quad core.

Is there any issue using MSI_IRQ in IMX6DL (dual core).

any help would be highly appreciable.

Thanks

Terry

Labels (3)
0 Kudos
1 Reply

46 Views
NXP TechSupport
NXP TechSupport

Hi agne

kernel 4.9.123 was not tested with i.MX6 and not recommended to use with i.MX6,

one can try with latest L4.14.78 or L4.14.98

linux-imx - i.MX Linux kernel 

Linux  Documentation
i.MX Software | NXP 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos